#ED8CF9#ED8CF9
#ED8CF9 is a light, vivid purple. Relative luminance 0.436; OKLCH L 78.0% C 0.180 H 323.0°. Best body text is #000000 at 9.72:1 contrast (WCAG AA passes).
Color values
| HEX | #ED8CF9 |
|---|---|
| RGB | rgb(237, 140, 249) |
| HSL | hsl(293, 90%, 76%) |
| HSV | hsv(293, 44%, 98%) |
| CMYK | cmyk(4.8%, 43.8%, 0%, 2.4%) |
| CIE-LAB | lab(71.96, 53.08, -39.31) |
| CIE-LCH | lch(71.96, 66.05, 323.48°) |
| OKLab | oklab(78% 0.1435 -0.108) |
| OKLCH | oklch(78% 0.18 323) |
| XYZ | xyz(61.4002, 43.6028, 94.7861) |
| Luminance | 0.4360 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 2.53
Purply Pink
#F075E6
ΔE00 5.11
Lavender Pink
#DD85D7
ΔE00 5.60
Violet Pink
#FB5FFC
ΔE00 7.53
Candy Pink
#FF63E9
ΔE00 7.53
Light Magenta
#FA5FF7
ΔE00 7.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ED8CF9 #98F98C
analogous
#B78CF9 #ED8CF9 #F98CCF
triadic
#ED8CF9 #F9ED8C #8CF9ED
tetradic
#ED8CF9 #F9B78C #98F98C #8CCFF9
square
#ED8CF9 #F9B78C #98F98C #8CCFF9
split-complementary
#ED8CF9 #CFF98C #8CF9B7
monochromatic
#DB18F3 #E452F6 #ED8CF9 #F6C6FC #FAE2FD
Accessibility & contrast
On white
2.16
#ED8CF9 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.72
#ED8CF9 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ED8CF9
9.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ED8CF9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ED8CF9 | 1.00 | 2.16 | 9.72 | 9.72 |
| #FFFFFF | 2.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7FA9FD
Deuteranopia (green-blind)
#99B4F6
Tritanopia (blue-blind)
#F099B7
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #ed8cf9; /* rgb */ color: rgb(237, 140, 249); /* oklch */ color: oklch(78.0% 0.180 323.0);
Tailwind
colors: {
custom: {
50: '#f5b0fb',
500: '#ed8cf9',
950: '#000000',
},
}SCSS
$custom: #ed8cf9; $custom-light: #f5b0fb; $custom-dark: #000000;
JSON
{
"hex": "#ed8cf9",
"rgb": {
"r": 237,
"g": 140,
"b": 249
},
"hsl": {
"h": 293.394,
"s": 90.083,
"l": 76.275
},
"oklch": {
"l": 0.78002,
"c": 0.17958,
"h": 323
},
"luminance": 0.436
}Semantic roles & 50–950 ramp
primary
#ED8CF9
secondary
#D9F6D5
accent
#E60019
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#171117
muted
#858085