#D451F2#D451F2
#D451F2 is a light, highly saturated purple. Relative luminance 0.263; OKLCH L 67.2% C 0.247 H 319.6°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).
Color values
| HEX | #D451F2 |
|---|---|
| RGB | rgb(212, 81, 242) |
| HSL | hsl(289, 86%, 63%) |
| HSV | hsv(289, 67%, 95%) |
| CMYK | cmyk(12.4%, 66.5%, 0%, 5.1%) |
| CIE-LAB | lab(58.32, 72.57, -57.20) |
| CIE-LCH | lch(58.32, 92.40, 321.76°) |
| OKLab | oklab(67.22% 0.188 -0.16) |
| OKLCH | oklch(67.22% 0.247 319.6) |
| XYZ | xyz(46.1188, 26.2949, 86.6333) |
| Luminance | 0.2629 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Heliotrope
#D94FF5
ΔE00 0.78
Bright Lilac
#C95EFB
ΔE00 2.97
Bright Lavender
#C760FF
ΔE00 3.73
Pinkish Purple
#D648D7
ΔE00 4.41
Pink Purple
#EF1DE7
ΔE00 5.47
Mediumorchid
#BA55D3
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D451F2 #6FF251
analogous
#8351F2 #D451F2 #F251BF
triadic
#D451F2 #F2D451 #51F2D4
tetradic
#D451F2 #F28351 #6FF251 #51BFF2
square
#D451F2 #F28351 #6FF251 #51BFF2
split-complementary
#D451F2 #BFF251 #51F283
monochromatic
#9A0EBB #C618EE #D451F2 #E28AF6 #F0C3FB
Accessibility & contrast
On white
3.36
#D451F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.26
#D451F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D451F2
6.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D451F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D451F2 | 1.00 | 3.36 | 6.26 | 6.26 |
| #FFFFFF | 3.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0F83F7
Deuteranopia (green-blind)
#5D91EE
Tritanopia (blue-blind)
#D46E9B
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #d451f2; /* rgb */ color: rgb(212, 81, 242); /* oklch */ color: oklch(67.2% 0.247 319.6);
Tailwind
colors: {
custom: {
50: '#e58bf7',
500: '#d451f2',
950: '#000000',
},
}SCSS
$custom: #d451f2; $custom-light: #e58bf7; $custom-dark: #000000;
JSON
{
"hex": "#d451f2",
"rgb": {
"r": 212,
"g": 81,
"b": 242
},
"hsl": {
"h": 288.82,
"s": 86.096,
"l": 63.333
},
"oklch": {
"l": 0.67221,
"c": 0.24689,
"h": 319.6
},
"luminance": 0.26293
}Semantic roles & 50–950 ramp
primary
#D451F2
secondary
#BDECB3
accent
#E3032D
background
#FEF9FF
surface
#FDF1FF
border
#D5CBD7
text
#160D17
muted
#847E85