#C762FF#C762FF
#C762FF is a light, highly saturated violet. Relative luminance 0.281; OKLCH L 68.3% C 0.232 H 311.4°. Best body text is #000000 at 6.62:1 contrast (WCAG AA passes).
Color values
| HEX | #C762FF |
|---|---|
| RGB | rgb(199, 98, 255) |
| HSL | hsl(279, 100%, 69%) |
| HSV | hsv(279, 62%, 100%) |
| CMYK | cmyk(22%, 61.6%, 0%, 0%) |
| CIE-LAB | lab(59.98, 64.98, -61.84) |
| CIE-LCH | lch(59.98, 89.70, 316.42°) |
| OKLab | oklab(68.3% 0.1536 -0.1741) |
| OKLCH | oklch(68.3% 0.232 311.4) |
| XYZ | xyz(45.9675, 28.0986, 97.5904) |
| Luminance | 0.2810 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bright Lavender
#C760FF
ΔE00 0.37
Bright Lilac
#C95EFB
ΔE00 1.01
Easter Purple
#C071FE
ΔE00 3.00
Light Urple
#B36FF6
ΔE00 3.90
Heliotrope
#D94FF5
ΔE00 4.21
Light Purple
#BF77F6
ΔE00 4.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C762FF #9AFF62
analogous
#7962FF #C762FF #FF62E8
triadic
#C762FF #FFC762 #62FFC7
tetradic
#C762FF #FF7962 #9AFF62 #62E8FF
square
#C762FF #FF7962 #9AFF62 #62E8FF
split-complementary
#C762FF #E8FF62 #62FF79
monochromatic
#9400E7 #B125FF #C762FF #DD9FFF #F3DCFF
Accessibility & contrast
On white
3.17
#C762FF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.62
#C762FF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C762FF
6.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C762FF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C762FF | 1.00 | 3.17 | 6.62 | 6.62 |
| #FFFFFF | 3.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1B8CFF
Deuteranopia (green-blind)
#5392FB
Tritanopia (blue-blind)
#C080A8
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #c762ff; /* rgb */ color: rgb(199, 98, 255); /* oklch */ color: oklch(68.3% 0.232 311.4);
Tailwind
colors: {
custom: {
50: '#dc94ff',
500: '#c762ff',
950: '#000000',
},
}SCSS
$custom: #c762ff; $custom-light: #dc94ff; $custom-dark: #000000;
JSON
{
"hex": "#c762ff",
"rgb": {
"r": 199,
"g": 98,
"b": 255
},
"hsl": {
"h": 278.599,
"s": 100,
"l": 69.216
},
"oklch": {
"l": 0.68302,
"c": 0.23217,
"h": 311.4
},
"luminance": 0.28097
}Semantic roles & 50–950 ramp
primary
#C762FF
secondary
#D8F5C8
accent
#E60052
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E18
muted
#837E86