#D177F2#D177F2
#D177F2 is a light, vivid purple. Relative luminance 0.332; OKLCH L 71.5% C 0.192 H 316.3°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).
Color values
| HEX | #D177F2 |
|---|---|
| RGB | rgb(209, 119, 242) |
| HSL | hsl(284, 83%, 71%) |
| HSV | hsv(284, 51%, 95%) |
| CMYK | cmyk(13.6%, 50.8%, 0%, 5.1%) |
| CIE-LAB | lab(64.29, 54.61, -47.73) |
| CIE-LCH | lch(64.29, 72.53, 318.84°) |
| OKLab | oklab(71.5% 0.1389 -0.1328) |
| OKLCH | oklch(71.5% 0.192 316.3) |
| XYZ | xyz(48.9159, 33.1613, 87.8112) |
| Luminance | 0.3316 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.65
Easter Purple
#C071FE
ΔE00 4.50
Orchid
#DA70D6
ΔE00 5.68
Bright Lilac
#C95EFB
ΔE00 5.75
Bright Lavender
#C760FF
ΔE00 5.83
Liliac
#C48EFD
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D177F2 #98F277
analogous
#9377F2 #D177F2 #F277D6
triadic
#D177F2 #F2D177 #77F2D1
tetradic
#D177F2 #F29377 #98F277 #77D6F2
square
#D177F2 #F29377 #98F277 #77D6F2
split-complementary
#D177F2 #D6F277 #77F293
monochromatic
#A515DA #BE3FED #D177F2 #E4AFF7 #F6E3FC
Accessibility & contrast
On white
2.75
#D177F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.63
#D177F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D177F2
7.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D177F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D177F2 | 1.00 | 2.75 | 7.63 | 7.63 |
| #FFFFFF | 2.75 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D96F6
Deuteranopia (green-blind)
#799FEF
Tritanopia (blue-blind)
#D08AAA
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #d177f2; /* rgb */ color: rgb(209, 119, 242); /* oklch */ color: oklch(71.5% 0.192 316.3);
Tailwind
colors: {
custom: {
50: '#e1a1f7',
500: '#d177f2',
950: '#000000',
},
}SCSS
$custom: #d177f2; $custom-light: #e1a1f7; $custom-dark: #000000;
JSON
{
"hex": "#d177f2",
"rgb": {
"r": 209,
"g": 119,
"b": 242
},
"hsl": {
"h": 283.902,
"s": 82.55,
"l": 70.784
},
"oklch": {
"l": 0.71495,
"c": 0.19218,
"h": 316.3
},
"luminance": 0.3316
}Semantic roles & 50–950 ramp
primary
#D177F2
secondary
#DBF3D2
accent
#DF0741
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F17
muted
#847F85