Color Values
- HEX
- #E9D5FF
- RGB
- rgb(233, 213, 255)
- HSL
- hsl(269, 100%, 92%)
- OKLCH
- oklch(0.902 0.060 307)
- CMYK
- cmyk(9%, 16%, 0%, 0%)
- CSS Variable
- var(--color-purple-200)
- Tailwind Class
- bg-purple-200
Accessibility Score
Good
Based on WCAG 2.1 contrast ratios against white and black backgrounds.
On White
1.36:1
On Black
15.43:1
Tailwind Usage — All Utilities
Background
bg-purple-200Text
text-purple-200Border
border-purple-200Ring
ring-purple-200Outline
outline-purple-200Fill
fill-purple-200Stroke
stroke-purple-200From (gradient)
from-purple-200Via (gradient)
via-purple-200To (gradient)
to-purple-200Placeholder
placeholder-purple-200Caret
caret-purple-200Accent
accent-purple-200Decoration
decoration-purple-200Shadow Color
shadow-purple-200Tailwind v3 Config (extend custom color)
// tailwind.config.js
module.exports = {
theme: {
extend: {
colors: {
'purple-200': '#e9d5ff',
},
},
},
};CSS Equivalent
/* Hex */
background-color: #E9D5FF;
/* RGB */
background-color: rgb(233, 213, 255);
/* HSL */
background-color: hsl(269, 100%, 92%);
/* OKLCH (CSS Color Level 4) */
background-color: oklch(0.902 0.060 307);
/* CSS Custom Property (Tailwind v4) */
background-color: var(--color-purple-200);
/* Gradient example */
background: linear-gradient(135deg, #e9d5ff 0%, #d8b4fe 100%);OKLCH — Modern Color Space
Lightness (L)
0.902
90% perceived brightness
Chroma (C)
0.060
Color intensity / saturation
Hue (H)
307°
Angle on perceptual hue wheel
oklch(0.902 0.060 307)OKLCH is a perceptually uniform color space in CSS Color Level 4. Unlike HSL, equal steps in L produce equal perceived lightness changes — making it ideal for building accessible, harmonious design system scales.
Design Recommendations
Soft accent & border
Shade 200 of the Purple palette
Recommended Uses
- ✓Focus ring outlines
- ✓Divider lines
- ✓Soft tag borders
- ✓Progress track fills
- ✓Decorative underlines
Avoid
Preview
On White
Aa Bb Cc
On Black
Aa Bb Cc
As Background
Aa Bb Cc — #E9D5FF
Similar Tailwind Colors
Perceptually close shades from other Tailwind color families.
Nearest Named Color
Tailwind Purple 200
Nearest Tailwind equivalent — #E9D5FF
Frequently Asked Questions
- What is the hex code for Tailwind Purple 200?
- Tailwind Purple 200 has the hex code #E9D5FF. Its RGB value is rgb(233, 213, 255) and its HSL value is hsl(269, 100%, 92%).
- What Tailwind utility classes use Purple 200?
- Use bg-purple-200 for backgrounds, text-purple-200 for text color, border-purple-200 for borders, and ring-purple-200 for focus rings. In Tailwind v4 the CSS variable var(--color-purple-200) is available natively.
- Is Tailwind Purple 200 WCAG accessible?
- Tailwind Purple 200 achieves a 1.36:1 contrast ratio on white (Fail) and 15.43:1 on black (AAA). Its overall accessibility score is 60/100 (Good).
- What is the OKLCH value for Tailwind Purple 200?
- Tailwind Purple 200 in OKLCH is oklch(0.902 0.060 307) — lightness 0.902, chroma 0.060, hue 307°. OKLCH is a perceptually uniform space supported natively in modern CSS via the `color()` function.
- What is Tailwind Purple 200 used for?
- At shade 200, Tailwind Purple 200 is best described as "Soft accent & border". Recommended uses: Focus ring outlines, Divider lines, Soft tag borders.