#C762DC#C762DC
#C762DC is a light, vivid purple. Relative luminance 0.260; OKLCH L 66.3% C 0.198 H 320.5°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).
Color values
| HEX | #C762DC |
|---|---|
| RGB | rgb(199, 98, 220) |
| HSL | hsl(290, 64%, 62%) |
| HSV | hsv(290, 55%, 86%) |
| CMYK | cmyk(9.5%, 55.5%, 0%, 13.7%) |
| CIE-LAB | lab(58.08, 57.98, -45.36) |
| CIE-LCH | lch(58.08, 73.61, 321.96°) |
| OKLab | oklab(66.31% 0.1527 -0.126) |
| OKLCH | oklch(66.31% 0.198 320.5) |
| XYZ | xyz(40.8376, 26.0466, 70.5727) |
| Luminance | 0.2605 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 4.20
Heliotrope
#D94FF5
ΔE00 4.47
Pinkish Purple
#D648D7
ΔE00 4.51
Bright Lilac
#C95EFB
ΔE00 4.70
Bright Lavender
#C760FF
ΔE00 5.34
Orchid
#DA70D6
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C762DC #77DC62
analogous
#8A62DC #C762DC #DC62B4
triadic
#C762DC #DCC762 #62DCC7
tetradic
#C762DC #DC8A62 #77DC62 #62B4DC
square
#C762DC #DC8A62 #77DC62 #62B4DC
split-complementary
#C762DC #B4DC62 #62DC8A
monochromatic
#8B24A0 #B530D1 #C762DC #D994E7 #EBC6F2
Accessibility & contrast
On white
3.38
#C762DC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.21
#C762DC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C762DC
6.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C762DC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C762DC | 1.00 | 3.38 | 6.21 | 6.21 |
| #FFFFFF | 3.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.21 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.21 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A84E0
Deuteranopia (green-blind)
#6D8FD9
Tritanopia (blue-blind)
#C87496
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #c762dc; /* rgb */ color: rgb(199, 98, 220); /* oklch */ color: oklch(66.3% 0.198 320.5);
Tailwind
colors: {
custom: {
50: '#db93e7',
500: '#c762dc',
950: '#000000',
},
}SCSS
$custom: #c762dc; $custom-light: #db93e7; $custom-dark: #000000;
JSON
{
"hex": "#c762dc",
"rgb": {
"r": 199,
"g": 98,
"b": 220
},
"hsl": {
"h": 289.672,
"s": 63.542,
"l": 62.353
},
"oklch": {
"l": 0.66309,
"c": 0.19799,
"h": 320.5
},
"luminance": 0.26045
}Semantic roles & 50–950 ramp
primary
#C762DC
secondary
#BEE3B7
accent
#CB1A39
background
#FDF9FE
surface
#FBF2FC
border
#D4CCD5
text
#150D16
muted
#837E84