#D151F3#D151F3
#D151F3 is a light, highly saturated purple. Relative luminance 0.259; OKLCH L 66.9% C 0.247 H 318.5°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).
Color values
| HEX | #D151F3 |
|---|---|
| RGB | rgb(209, 81, 243) |
| HSL | hsl(287, 87%, 64%) |
| HSV | hsv(287, 67%, 95%) |
| CMYK | cmyk(14%, 66.7%, 0%, 4.7%) |
| CIE-LAB | lab(57.95, 72.11, -58.35) |
| CIE-LCH | lch(57.95, 92.77, 321.02°) |
| OKLab | oklab(66.89% 0.1845 -0.1635) |
| OKLCH | oklch(66.89% 0.247 318.5) |
| XYZ | xyz(45.4124, 25.9132, 87.3863) |
| Luminance | 0.2591 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Heliotrope
#D94FF5
ΔE00 1.27
Bright Lilac
#C95EFB
ΔE00 2.67
Bright Lavender
#C760FF
ΔE00 3.42
Pinkish Purple
#D648D7
ΔE00 4.69
Mediumorchid
#BA55D3
ΔE00 5.38
Pink Purple
#EF1DE7
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D151F3 #73F351
analogous
#8051F3 #D151F3 #F351C4
triadic
#D151F3 #F3D151 #51F3D1
tetradic
#D151F3 #F38051 #73F351 #51C4F3
square
#D151F3 #F38051 #73F351 #51C4F3
split-complementary
#D151F3 #C4F351 #51F380
monochromatic
#980DBD #C218EF #D151F3 #E08AF7 #EFC4FB
Accessibility & contrast
On white
3.40
#D151F3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.18
#D151F3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D151F3
6.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D151F3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D151F3 | 1.00 | 3.40 | 6.18 | 6.18 |
| #FFFFFF | 3.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0083F8
Deuteranopia (green-blind)
#598FEF
Tritanopia (blue-blind)
#D06F9C
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #d151f3; /* rgb */ color: rgb(209, 81, 243); /* oklch */ color: oklch(66.9% 0.247 318.5);
Tailwind
colors: {
custom: {
50: '#e38bf8',
500: '#d151f3',
950: '#000000',
},
}SCSS
$custom: #d151f3; $custom-light: #e38bf8; $custom-dark: #000000;
JSON
{
"hex": "#d151f3",
"rgb": {
"r": 209,
"g": 81,
"b": 243
},
"hsl": {
"h": 287.407,
"s": 87.097,
"l": 63.529
},
"oklch": {
"l": 0.66894,
"c": 0.24654,
"h": 318.5
},
"luminance": 0.25911
}Semantic roles & 50–950 ramp
primary
#D151F3
secondary
#BFEDB3
accent
#E40231
background
#FEF9FF
surface
#FDF1FF
border
#D5CBD7
text
#160D17
muted
#847E85