#D770C8#D770C8
#D770C8 is a light, vivid purple. Relative luminance 0.302; OKLCH L 69.2% C 0.167 H 332.9°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).
Color values
| HEX | #D770C8 |
|---|---|
| RGB | rgb(215, 112, 200) |
| HSL | hsl(309, 56%, 64%) |
| HSV | hsv(309, 48%, 84%) |
| CMYK | cmyk(0%, 47.9%, 7%, 15.7%) |
| CIE-LAB | lab(61.83, 52.01, -28.05) |
| CIE-LCH | lch(61.83, 59.10, 331.66°) |
| OKLab | oklab(69.22% 0.1489 -0.0761) |
| OKLCH | oklch(69.22% 0.167 332.9) |
| XYZ | xyz(44.2437, 30.2083, 58.1328) |
| Luminance | 0.3021 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 2.52
Orchid (survey)
#C875C4
ΔE00 2.76
Lavender Pink
#DD85D7
ΔE00 5.01
Pale Magenta
#D767AD
ΔE00 5.45
Purply Pink
#F075E6
ΔE00 5.59
Purplish Pink
#CE5DAE
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D770C8 #70D77F
analogous
#B370D7 #D770C8 #D77095
triadic
#D770C8 #C8D770 #70C8D7
tetradic
#D770C8 #D7B370 #70D77F #7095D7
square
#D770C8 #D7B370 #70D77F #7095D7
split-complementary
#D770C8 #95D770 #70D7B3
monochromatic
#A02D8F #CA40B6 #D770C8 #E4A0DA #F2D0ED
Accessibility & contrast
On white
2.98
#D770C8 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.04
#D770C8 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D770C8
7.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D770C8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D770C8 | 1.00 | 2.98 | 7.04 | 7.04 |
| #FFFFFF | 2.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6E8CCB
Deuteranopia (green-blind)
#8B9BC5
Tritanopia (blue-blind)
#DF7693
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #d770c8; /* rgb */ color: rgb(215, 112, 200); /* oklch */ color: oklch(69.2% 0.167 332.9);
Tailwind
colors: {
custom: {
50: '#e59cd9',
500: '#d770c8',
950: '#000000',
},
}SCSS
$custom: #d770c8; $custom-light: #e59cd9; $custom-dark: #000000;
JSON
{
"hex": "#d770c8",
"rgb": {
"r": 215,
"g": 112,
"b": 200
},
"hsl": {
"h": 308.738,
"s": 56.284,
"l": 64.118
},
"oklch": {
"l": 0.69222,
"c": 0.16724,
"h": 332.9
},
"luminance": 0.30206
}Semantic roles & 50–950 ramp
primary
#D770C8
secondary
#BFE3C5
accent
#C43922
background
#FEF9FD
surface
#FDF2FA
border
#D5CCD3
text
#160E14
muted
#847E83