#D772F2#D772F2
#D772F2 is a light, highly saturated purple. Relative luminance 0.329; OKLCH L 71.5% C 0.203 H 318.8°. Best body text is #000000 at 7.58:1 contrast (WCAG AA passes).
Color values
| HEX | #D772F2 |
|---|---|
| RGB | rgb(215, 114, 242) |
| HSL | hsl(287, 83%, 70%) |
| HSV | hsv(287, 53%, 95%) |
| CMYK | cmyk(11.2%, 52.9%, 0%, 5.1%) |
| CIE-LAB | lab(64.08, 58.65, -48.02) |
| CIE-LCH | lch(64.08, 75.81, 320.69°) |
| OKLab | oklab(71.49% 0.1525 -0.1335) |
| OKLCH | oklch(71.49% 0.203 318.8) |
| XYZ | xyz(50.0665, 32.8944, 87.6992) |
| Luminance | 0.3289 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 4.66
Orchid
#DA70D6
ΔE00 5.03
Easter Purple
#C071FE
ΔE00 5.16
Bright Lilac
#C95EFB
ΔE00 5.49
Violet Pink
#FB5FFC
ΔE00 5.54
Light Magenta
#FA5FF7
ΔE00 5.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D772F2 #8DF272
analogous
#9772F2 #D772F2 #F272CD
triadic
#D772F2 #F2D772 #72F2D7
tetradic
#D772F2 #F29772 #8DF272 #72CDF2
square
#D772F2 #F29772 #8DF272 #72CDF2
split-complementary
#D772F2 #CDF272 #72F297
monochromatic
#AD14D6 #C73AED #D772F2 #E7AAF7 #F7E2FC
Accessibility & contrast
On white
2.77
#D772F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.58
#D772F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D772F2
7.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D772F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D772F2 | 1.00 | 2.77 | 7.58 | 7.58 |
| #FFFFFF | 2.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.58 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5894F6
Deuteranopia (green-blind)
#799FEF
Tritanopia (blue-blind)
#D785A8
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #d772f2; /* rgb */ color: rgb(215, 114, 242); /* oklch */ color: oklch(71.5% 0.203 318.8);
Tailwind
colors: {
custom: {
50: '#e69ef7',
500: '#d772f2',
950: '#000000',
},
}SCSS
$custom: #d772f2; $custom-light: #e69ef7; $custom-dark: #000000;
JSON
{
"hex": "#d772f2",
"rgb": {
"r": 215,
"g": 114,
"b": 242
},
"hsl": {
"h": 287.344,
"s": 83.117,
"l": 69.804
},
"oklch": {
"l": 0.71491,
"c": 0.20262,
"h": 318.8
},
"luminance": 0.32893
}Semantic roles & 50–950 ramp
primary
#D772F2
secondary
#D5F2CE
accent
#E00634
background
#FEFAFF
surface
#FDF3FF
border
#D5CDD7
text
#160F17
muted
#847F85