#C762DF#C762DF
#C762DF is a light, highly saturated purple. Relative luminance 0.262; OKLCH L 66.5% C 0.201 H 319.6°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).
Color values
| HEX | #C762DF |
|---|---|
| RGB | rgb(199, 98, 223) |
| HSL | hsl(288, 66%, 63%) |
| HSV | hsv(288, 56%, 87%) |
| CMYK | cmyk(10.8%, 56.1%, 0%, 12.5%) |
| CIE-LAB | lab(58.23, 58.55, -46.80) |
| CIE-LCH | lch(58.23, 74.96, 321.36°) |
| OKLab | oklab(66.47% 0.1529 -0.1302) |
| OKLCH | oklch(66.47% 0.201 319.6) |
| XYZ | xyz(41.2385, 26.2069, 72.6839) |
| Luminance | 0.2621 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Heliotrope
#D94FF5
ΔE00 4.17
Bright Lilac
#C95EFB
ΔE00 4.20
Mediumorchid
#BA55D3
ΔE00 4.29
Pinkish Purple
#D648D7
ΔE00 4.69
Bright Lavender
#C760FF
ΔE00 4.85
Orchid
#DA70D6
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C762DF #7ADF62
analogous
#8862DF #C762DF #DF62B8
triadic
#C762DF #DFC762 #62DFC7
tetradic
#C762DF #DF8862 #7ADF62 #62B8DF
square
#C762DF #DF8862 #7ADF62 #62B8DF
split-complementary
#C762DF #B8DF62 #62DF88
monochromatic
#8C22A5 #B52FD5 #C762DF #D995E9 #EBC8F4
Accessibility & contrast
On white
3.36
#C762DF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.24
#C762DF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C762DF
6.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C762DF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C762DF | 1.00 | 3.36 | 6.24 | 6.24 |
| #FFFFFF | 3.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.24 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.24 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4885E3
Deuteranopia (green-blind)
#6B90DC
Tritanopia (blue-blind)
#C87597
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #c762df; /* rgb */ color: rgb(199, 98, 223); /* oklch */ color: oklch(66.5% 0.201 319.6);
Tailwind
colors: {
custom: {
50: '#db93e9',
500: '#c762df',
950: '#000000',
},
}SCSS
$custom: #c762df; $custom-light: #db93e9; $custom-dark: #000000;
JSON
{
"hex": "#c762df",
"rgb": {
"r": 199,
"g": 98,
"b": 223
},
"hsl": {
"h": 288.48,
"s": 66.138,
"l": 62.941
},
"oklch": {
"l": 0.66469,
"c": 0.20086,
"h": 319.6
},
"luminance": 0.26205
}Semantic roles & 50–950 ramp
primary
#C762DF
secondary
#C1E5B8
accent
#CE173B
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150D16
muted
#837E84