#ED8BF2#ED8BF2
#ED8BF2 is a light, vivid purple. Relative luminance 0.429; OKLCH L 77.5% C 0.175 H 325.3°. Best body text is #000000 at 9.58:1 contrast (WCAG AA passes).
Color values
| HEX | #ED8BF2 |
|---|---|
| RGB | rgb(237, 139, 242) |
| HSL | hsl(297, 80%, 75%) |
| HSV | hsv(297, 43%, 95%) |
| CMYK | cmyk(2.1%, 42.6%, 0%, 5.1%) |
| CIE-LAB | lab(71.48, 52.30, -36.25) |
| CIE-LCH | lch(71.48, 63.64, 325.28°) |
| OKLab | oklab(77.54% 0.1436 -0.0993) |
| OKLCH | oklch(77.54% 0.175 325.3) |
| XYZ | xyz(60.1833, 42.8833, 89.0944) |
| Luminance | 0.4288 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 1.85
Purply Pink
#F075E6
ΔE00 4.46
Lavender Pink
#DD85D7
ΔE00 4.57
Candy Pink
#FF63E9
ΔE00 7.07
Orchid
#DA70D6
ΔE00 7.11
Plum
#DDA0DD
ΔE00 7.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ED8BF2 #90F28B
analogous
#B98BF2 #ED8BF2 #F28BC4
triadic
#ED8BF2 #F2ED8B #8BF2ED
tetradic
#ED8BF2 #F2B98B #90F28B #8BC4F2
square
#ED8BF2 #F2B98B #90F28B #8BC4F2
split-complementary
#ED8BF2 #C4F28B #8BF2B9
monochromatic
#DC1DE6 #E454EC #ED8BF2 #F6C2F8 #FBE3FC
Accessibility & contrast
On white
2.19
#ED8BF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.58
#ED8BF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ED8BF2
9.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ED8BF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ED8BF2 | 1.00 | 2.19 | 9.58 | 9.58 |
| #FFFFFF | 2.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.58 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#81A7F6
Deuteranopia (green-blind)
#9CB3EF
Tritanopia (blue-blind)
#F296B3
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #ed8bf2; /* rgb */ color: rgb(237, 139, 242); /* oklch */ color: oklch(77.5% 0.175 325.3);
Tailwind
colors: {
custom: {
50: '#f5aff6',
500: '#ed8bf2',
950: '#000000',
},
}SCSS
$custom: #ed8bf2; $custom-light: #f5aff6; $custom-dark: #000000;
JSON
{
"hex": "#ed8bf2",
"rgb": {
"r": 237,
"g": 139,
"b": 242
},
"hsl": {
"h": 297.087,
"s": 79.845,
"l": 74.706
},
"oklch": {
"l": 0.77544,
"c": 0.17454,
"h": 325.3
},
"luminance": 0.42881
}Semantic roles & 50–950 ramp
primary
#ED8BF2
secondary
#D9F4D7
accent
#DC0914
background
#FFFBFF
surface
#FFF6FE
border
#D7D0D6
text
#171117
muted
#858085