#D251F2#D251F2
#D251F2 is a light, highly saturated purple. Relative luminance 0.260; OKLCH L 67.0% C 0.246 H 319.0°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).
Color values
| HEX | #D251F2 |
|---|---|
| RGB | rgb(210, 81, 242) |
| HSL | hsl(288, 86%, 63%) |
| HSV | hsv(288, 67%, 95%) |
| CMYK | cmyk(13.2%, 66.5%, 0%, 5.1%) |
| CIE-LAB | lab(58.04, 72.14, -57.66) |
| CIE-LCH | lch(58.04, 92.35, 321.37°) |
| OKLab | oklab(66.96% 0.1857 -0.1615) |
| OKLCH | oklch(66.96% 0.246 319) |
| XYZ | xyz(45.5457, 25.9994, 86.6065) |
| Luminance | 0.2600 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Heliotrope
#D94FF5
ΔE00 1.10
Bright Lilac
#C95EFB
ΔE00 2.83
Bright Lavender
#C760FF
ΔE00 3.59
Pinkish Purple
#D648D7
ΔE00 4.50
Mediumorchid
#BA55D3
ΔE00 5.38
Pink Purple
#EF1DE7
ΔE00 5.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D251F2 #71F251
analogous
#8251F2 #D251F2 #F251C1
triadic
#D251F2 #F2D251 #51F2D2
tetradic
#D251F2 #F28251 #71F251 #51C1F2
square
#D251F2 #F28251 #71F251 #51C1F2
split-complementary
#D251F2 #C1F251 #51F282
monochromatic
#980EBB #C318EE #D251F2 #E18AF6 #EFC3FB
Accessibility & contrast
On white
3.39
#D251F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.20
#D251F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D251F2
6.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D251F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D251F2 | 1.00 | 3.39 | 6.20 | 6.20 |
| #FFFFFF | 3.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.20 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.20 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0983F7
Deuteranopia (green-blind)
#5B90EE
Tritanopia (blue-blind)
#D26E9B
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #d251f2; /* rgb */ color: rgb(210, 81, 242); /* oklch */ color: oklch(67.0% 0.246 319.0);
Tailwind
colors: {
custom: {
50: '#e48bf7',
500: '#d251f2',
950: '#000000',
},
}SCSS
$custom: #d251f2; $custom-light: #e48bf7; $custom-dark: #000000;
JSON
{
"hex": "#d251f2",
"rgb": {
"r": 210,
"g": 81,
"b": 242
},
"hsl": {
"h": 288.075,
"s": 86.096,
"l": 63.333
},
"oklch": {
"l": 0.66963,
"c": 0.24608,
"h": 319
},
"luminance": 0.25997
}Semantic roles & 50–950 ramp
primary
#D251F2
secondary
#BEECB3
accent
#E3032F
background
#FEF9FF
surface
#FDF1FF
border
#D5CBD7
text
#160D17
muted
#847E85