#C762FC#C762FC
#C762FC is a light, highly saturated violet. Relative luminance 0.279; OKLCH L 68.1% C 0.229 H 312.1°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).
Color values
| HEX | #C762FC |
|---|---|
| RGB | rgb(199, 98, 252) |
| HSL | hsl(279, 96%, 69%) |
| HSV | hsv(279, 61%, 99%) |
| CMYK | cmyk(21%, 61.1%, 0%, 1.2%) |
| CIE-LAB | lab(59.80, 64.36, -60.46) |
| CIE-LCH | lch(59.80, 88.30, 316.79°) |
| OKLab | oklab(68.12% 0.1537 -0.1701) |
| OKLCH | oklch(68.12% 0.229 312.1) |
| XYZ | xyz(45.4884, 27.9069, 95.0669) |
| Luminance | 0.2791 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bright Lavender
#C760FF
ΔE00 0.54
Bright Lilac
#C95EFB
ΔE00 0.76
Easter Purple
#C071FE
ΔE00 3.10
Light Urple
#B36FF6
ΔE00 3.94
Heliotrope
#D94FF5
ΔE00 3.98
Light Purple
#BF77F6
ΔE00 4.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C762FC #97FC62
analogous
#7A62FC #C762FC #FC62E4
triadic
#C762FC #FCC762 #62FCC7
tetradic
#C762FC #FC7A62 #97FC62 #62E4FC
square
#C762FC #FC7A62 #97FC62 #62E4FC
split-complementary
#C762FC #E4FC62 #62FC7A
monochromatic
#9404DF #B226FB #C762FC #DC9EFD #F2DAFE
Accessibility & contrast
On white
3.19
#C762FC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.58
#C762FC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C762FC
6.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C762FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C762FC | 1.00 | 3.19 | 6.58 | 6.58 |
| #FFFFFF | 3.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.58 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#228BFF
Deuteranopia (green-blind)
#5692F8
Tritanopia (blue-blind)
#C17FA6
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #c762fc; /* rgb */ color: rgb(199, 98, 252); /* oklch */ color: oklch(68.1% 0.229 312.1);
Tailwind
colors: {
custom: {
50: '#dc94fe',
500: '#c762fc',
950: '#000000',
},
}SCSS
$custom: #c762fc; $custom-light: #dc94fe; $custom-dark: #000000;
JSON
{
"hex": "#c762fc",
"rgb": {
"r": 199,
"g": 98,
"b": 252
},
"hsl": {
"h": 279.351,
"s": 96.25,
"l": 68.627
},
"oklch": {
"l": 0.68121,
"c": 0.2292,
"h": 312.1
},
"luminance": 0.27906
}Semantic roles & 50–950 ramp
primary
#C762FC
secondary
#D6F4C6
accent
#E6004F
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E18
muted
#837E86