#EF9CF2#EF9CF2
#EF9CF2 is a light, vivid purple. Relative luminance 0.485; OKLCH L 80.4% C 0.147 H 325.6°. Best body text is #000000 at 10.71:1 contrast (WCAG AA passes).
Color values
| HEX | #EF9CF2 |
|---|---|
| RGB | rgb(239, 156, 242) |
| HSL | hsl(298, 77%, 78%) |
| HSV | hsv(298, 36%, 95%) |
| CMYK | cmyk(1.2%, 35.5%, 0%, 5.1%) |
| CIE-LAB | lab(75.16, 44.17, -30.52) |
| CIE-LCH | lch(75.16, 53.69, 325.36°) |
| OKLab | oklab(80.36% 0.1215 -0.0831) |
| OKLCH | oklch(80.36% 0.147 325.6) |
| XYZ | xyz(63.5106, 48.5409, 90.0111) |
| Luminance | 0.4854 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Plum
#DDA0DD
ΔE00 4.86
Violet (CSS)
#EE82EE
ΔE00 5.55
Lavender Pink
#DD85D7
ΔE00 6.18
Mauve
#E0B0FF
ΔE00 6.51
Baby Purple
#CA9BF7
ΔE00 7.92
Purply Pink
#F075E6
ΔE00 7.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EF9CF2 #9FF29C
analogous
#C49CF2 #EF9CF2 #F29CCA
triadic
#EF9CF2 #F2EF9C #9CF2EF
tetradic
#EF9CF2 #F2C49C #9FF29C #9CCAF2
square
#EF9CF2 #F2C49C #9FF29C #9CCAF2
split-complementary
#EF9CF2 #CAF29C #9CF2C4
monochromatic
#DE30E4 #E666EB #EF9CF2 #F8D2F9 #FBE4FB
Accessibility & contrast
On white
1.96
#EF9CF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.71
#EF9CF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EF9CF2
10.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EF9CF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EF9CF2 | 1.00 | 1.96 | 10.71 | 10.71 |
| #FFFFFF | 1.96 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#95B3F5
Deuteranopia (green-blind)
#AABDEF
Tritanopia (blue-blind)
#F3A4BC
Achromatopsia (no color)
#B9B9B9
Design tokens & code
CSS
--color: #ef9cf2; /* rgb */ color: rgb(239, 156, 242); /* oklch */ color: oklch(80.4% 0.147 325.6);
Tailwind
colors: {
custom: {
50: '#f5baf6',
500: '#ef9cf2',
950: '#000000',
},
}SCSS
$custom: #ef9cf2; $custom-light: #f5baf6; $custom-dark: #000000;
JSON
{
"hex": "#ef9cf2",
"rgb": {
"r": 239,
"g": 156,
"b": 242
},
"hsl": {
"h": 297.907,
"s": 76.786,
"l": 78.039
},
"oklch": {
"l": 0.80363,
"c": 0.14724,
"h": 325.6
},
"luminance": 0.48538
}Semantic roles & 50–950 ramp
primary
#EF9CF2
secondary
#D9F3D8
accent
#D90C14
background
#FFFBFF
surface
#FFF6FE
border
#D7D0D6
text
#171217
muted
#858185