#D181F7#D181F7
#D181F7 is a light, vivid purple. Relative luminance 0.360; OKLCH L 73.2% C 0.182 H 314.0°. Best body text is #000000 at 8.19:1 contrast (WCAG AA passes).
Color values
| HEX | #D181F7 |
|---|---|
| RGB | rgb(209, 129, 247) |
| HSL | hsl(281, 88%, 74%) |
| HSV | hsv(281, 48%, 97%) |
| CMYK | cmyk(15.4%, 47.8%, 0%, 3.1%) |
| CIE-LAB | lab(66.50, 50.52, -47.00) |
| CIE-LCH | lch(66.50, 69.00, 317.07°) |
| OKLab | oklab(73.21% 0.1261 -0.1307) |
| OKLCH | oklch(73.21% 0.182 314) |
| XYZ | xyz(50.9305, 35.9725, 92.2381) |
| Luminance | 0.3597 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 4.16
Liliac
#C48EFD
ΔE00 4.28
Easter Purple
#C071FE
ΔE00 5.33
Violet (CSS)
#EE82EE
ΔE00 6.16
Baby Purple
#CA9BF7
ΔE00 6.59
Orchid
#DA70D6
ΔE00 6.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D181F7 #A7F781
analogous
#9681F7 #D181F7 #F781E2
triadic
#D181F7 #F7D181 #81F7D1
tetradic
#D181F7 #F79681 #A7F781 #81E2F7
square
#D181F7 #F79681 #A7F781 #81E2F7
split-complementary
#D181F7 #E2F781 #81F796
monochromatic
#A70FEE #BC47F3 #D181F7 #E6BBFB #F4E2FD
Accessibility & contrast
On white
2.56
#D181F7 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.19
#D181F7 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D181F7
8.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D181F7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D181F7 | 1.00 | 2.56 | 8.19 | 8.19 |
| #FFFFFF | 2.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#689DFB
Deuteranopia (green-blind)
#7FA4F4
Tritanopia (blue-blind)
#CE93B1
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #d181f7; /* rgb */ color: rgb(209, 129, 247); /* oklch */ color: oklch(73.2% 0.182 314.0);
Tailwind
colors: {
custom: {
50: '#e1a8fa',
500: '#d181f7',
950: '#000000',
},
}SCSS
$custom: #d181f7; $custom-light: #e1a8fa; $custom-dark: #000000;
JSON
{
"hex": "#d181f7",
"rgb": {
"r": 209,
"g": 129,
"b": 247
},
"hsl": {
"h": 280.678,
"s": 88.06,
"l": 73.725
},
"oklch": {
"l": 0.73209,
"c": 0.18165,
"h": 314
},
"luminance": 0.35971
}Semantic roles & 50–950 ramp
primary
#D181F7
secondary
#E0F5D6
accent
#E5014A
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#161017
muted
#847F85