#D151FD#D151FD
#D151FD is a light, highly saturated purple. Relative luminance 0.265; OKLCH L 67.5% C 0.255 H 316.1°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).
Color values
| HEX | #D151FD |
|---|---|
| RGB | rgb(209, 81, 253) |
| HSL | hsl(285, 98%, 65%) |
| HSV | hsv(285, 68%, 99%) |
| CMYK | cmyk(17.4%, 68%, 0%, 0.8%) |
| CIE-LAB | lab(58.54, 73.99, -62.97) |
| CIE-LCH | lch(58.54, 97.16, 319.60°) |
| OKLab | oklab(67.5% 0.184 -0.177) |
| OKLCH | oklch(67.5% 0.255 316.1) |
| XYZ | xyz(46.9638, 26.5338, 95.5571) |
| Luminance | 0.2653 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Heliotrope
#D94FF5
ΔE00 1.94
Bright Lilac
#C95EFB
ΔE00 2.04
Bright Lavender
#C760FF
ΔE00 2.60
Easter Purple
#C071FE
ΔE00 5.85
Pinkish Purple
#D648D7
ΔE00 6.04
Mediumorchid
#BA55D3
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D151FD #7DFD51
analogous
#7B51FD #D151FD #FD51D3
triadic
#D151FD #FDD151 #51FDD1
tetradic
#D151FD #FD7B51 #7DFD51 #51D3FD
square
#D151FD #FD7B51 #7DFD51 #51D3FD
split-complementary
#D151FD #D3FD51 #51FD7B
monochromatic
#9C02D1 #C114FC #D151FD #E18EFE #F1CAFE
Accessibility & contrast
On white
3.33
#D151FD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.31
#D151FD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D151FD
6.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D151FD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D151FD | 1.00 | 3.33 | 6.31 | 6.31 |
| #FFFFFF | 3.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.31 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.31 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0085FF
Deuteranopia (green-blind)
#5090F9
Tritanopia (blue-blind)
#CE73A1
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #d151fd; /* rgb */ color: rgb(209, 81, 253); /* oklch */ color: oklch(67.5% 0.255 316.1);
Tailwind
colors: {
custom: {
50: '#e38bff',
500: '#d151fd',
950: '#000000',
},
}SCSS
$custom: #d151fd; $custom-light: #e38bff; $custom-dark: #000000;
JSON
{
"hex": "#d151fd",
"rgb": {
"r": 209,
"g": 81,
"b": 253
},
"hsl": {
"h": 284.651,
"s": 97.727,
"l": 65.49
},
"oklch": {
"l": 0.67502,
"c": 0.2553,
"h": 316.1
},
"luminance": 0.26532
}Semantic roles & 50–950 ramp
primary
#D151FD
secondary
#C7F2B8
accent
#E6003B
background
#FEF9FF
surface
#FDF1FF
border
#D5CBD7
text
#160D18
muted
#847E86