#D77FF2#D77FF2
#D77FF2 is a light, vivid purple. Relative luminance 0.360; OKLCH L 73.3% C 0.182 H 317.9°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).
Color values
| HEX | #D77FF2 |
|---|---|
| RGB | rgb(215, 127, 242) |
| HSL | hsl(286, 82%, 72%) |
| HSV | hsv(286, 48%, 95%) |
| CMYK | cmyk(11.2%, 47.5%, 0%, 5.1%) |
| CIE-LAB | lab(66.55, 52.17, -44.13) |
| CIE-LCH | lch(66.55, 68.33, 319.78°) |
| OKLab | oklab(73.32% 0.1352 -0.1223) |
| OKLCH | oklch(73.32% 0.182 317.9) |
| XYZ | xyz(51.6385, 36.0383, 88.2231) |
| Luminance | 0.3604 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 4.68
Light Purple
#BF77F6
ΔE00 5.29
Purply Pink
#F075E6
ΔE00 5.55
Orchid
#DA70D6
ΔE00 5.60
Liliac
#C48EFD
ΔE00 5.72
Lavender Pink
#DD85D7
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D77FF2 #9AF27F
analogous
#9E7FF2 #D77FF2 #F27FD4
triadic
#D77FF2 #F2D77F #7FF2D7
tetradic
#D77FF2 #F29E7F #9AF27F #7FD4F2
square
#D77FF2 #F29E7F #9AF27F #7FD4F2
split-complementary
#D77FF2 #D4F27F #7FF29E
monochromatic
#B117E0 #C647EC #D77FF2 #E8B7F8 #F6E3FC
Accessibility & contrast
On white
2.56
#D77FF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.21
#D77FF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D77FF2
8.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D77FF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D77FF2 | 1.00 | 2.56 | 8.21 | 8.21 |
| #FFFFFF | 2.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.21 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.21 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6A9CF6
Deuteranopia (green-blind)
#84A5EF
Tritanopia (blue-blind)
#D78FAD
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #d77ff2; /* rgb */ color: rgb(215, 127, 242); /* oklch */ color: oklch(73.3% 0.182 317.9);
Tailwind
colors: {
custom: {
50: '#e5a6f7',
500: '#d77ff2',
950: '#000000',
},
}SCSS
$custom: #d77ff2; $custom-light: #e5a6f7; $custom-dark: #000000;
JSON
{
"hex": "#d77ff2",
"rgb": {
"r": 215,
"g": 127,
"b": 242
},
"hsl": {
"h": 285.913,
"s": 81.56,
"l": 72.353
},
"oklch": {
"l": 0.7332,
"c": 0.18225,
"h": 317.9
},
"luminance": 0.36037
}Semantic roles & 50–950 ramp
primary
#D77FF2
secondary
#DEF4D7
accent
#DE083A
background
#FEFAFF
surface
#FDF4FE
border
#D5CED6
text
#161017
muted
#847F85