#C762FB#C762FB
#C762FB is a light, highly saturated violet. Relative luminance 0.278; OKLCH L 68.1% C 0.228 H 312.3°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).
Color values
| HEX | #C762FB |
|---|---|
| RGB | rgb(199, 98, 251) |
| HSL | hsl(280, 95%, 68%) |
| HSV | hsv(280, 61%, 98%) |
| CMYK | cmyk(20.7%, 61%, 0%, 1.6%) |
| CIE-LAB | lab(59.75, 64.15, -60.00) |
| CIE-LCH | lch(59.75, 87.84, 316.92°) |
| OKLab | oklab(68.06% 0.1537 -0.1687) |
| OKLCH | oklch(68.06% 0.228 312.3) |
| XYZ | xyz(45.3304, 27.8437, 94.2345) |
| Luminance | 0.2784 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bright Lavender
#C760FF
ΔE00 0.65
Bright Lilac
#C95EFB
ΔE00 0.72
Easter Purple
#C071FE
ΔE00 3.15
Heliotrope
#D94FF5
ΔE00 3.91
Light Urple
#B36FF6
ΔE00 3.96
Light Purple
#BF77F6
ΔE00 4.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C762FB #96FB62
analogous
#7A62FB #C762FB #FB62E2
triadic
#C762FB #FBC762 #62FBC7
tetradic
#C762FB #FB7A62 #96FB62 #62E2FB
square
#C762FB #FB7A62 #96FB62 #62E2FB
split-complementary
#C762FB #E2FB62 #62FB7A
monochromatic
#9406DD #B226F9 #C762FB #DC9EFD #F2D9FE
Accessibility & contrast
On white
3.20
#C762FB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.57
#C762FB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C762FB
6.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C762FB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C762FB | 1.00 | 3.20 | 6.57 | 6.57 |
| #FFFFFF | 3.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.57 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.57 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#248BFF
Deuteranopia (green-blind)
#5792F7
Tritanopia (blue-blind)
#C17FA6
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #c762fb; /* rgb */ color: rgb(199, 98, 251); /* oklch */ color: oklch(68.1% 0.228 312.3);
Tailwind
colors: {
custom: {
50: '#dc94fd',
500: '#c762fb',
950: '#000000',
},
}SCSS
$custom: #c762fb; $custom-light: #dc94fd; $custom-dark: #000000;
JSON
{
"hex": "#c762fb",
"rgb": {
"r": 199,
"g": 98,
"b": 251
},
"hsl": {
"h": 279.608,
"s": 95.031,
"l": 68.431
},
"oklch": {
"l": 0.68061,
"c": 0.22822,
"h": 312.3
},
"luminance": 0.27843
}Semantic roles & 50–950 ramp
primary
#C762FB
secondary
#D5F3C5
accent
#E6004E
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E18
muted
#837E86