#C262F8#C262F8
#C262F8 is a light, highly saturated violet. Relative luminance 0.270; OKLCH L 67.3% C 0.224 H 311.3°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).
Color values
| HEX | #C262F8 |
|---|---|
| RGB | rgb(194, 98, 248) |
| HSL | hsl(278, 91%, 68%) |
| HSV | hsv(278, 60%, 97%) |
| CMYK | cmyk(21.8%, 60.5%, 0%, 2.7%) |
| CIE-LAB | lab(58.96, 62.39, -59.63) |
| CIE-LCH | lch(58.96, 86.30, 316.29°) |
| OKLab | oklab(67.3% 0.1477 -0.1678) |
| OKLCH | oklch(67.3% 0.224 311.3) |
| XYZ | xyz(43.5560, 26.9830, 91.7025) |
| Luminance | 0.2698 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bright Lavender
#C760FF
ΔE00 1.08
Bright Lilac
#C95EFB
ΔE00 1.19
Easter Purple
#C071FE
ΔE00 3.24
Light Urple
#B36FF6
ΔE00 3.47
Heliotrope
#D94FF5
ΔE00 4.34
Light Purple
#BF77F6
ΔE00 4.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C262F8 #98F862
analogous
#7762F8 #C262F8 #F862E3
triadic
#C262F8 #F8C262 #62F8C2
tetradic
#C262F8 #F87762 #98F862 #62E3F8
square
#C262F8 #F87762 #98F862 #62E3F8
split-complementary
#C262F8 #E3F862 #62F877
monochromatic
#8C0AD6 #AB27F5 #C262F8 #D99DFB #F0D7FD
Accessibility & contrast
On white
3.28
#C262F8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.40
#C262F8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C262F8
6.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C262F8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C262F8 | 1.00 | 3.28 | 6.40 | 6.40 |
| #FFFFFF | 3.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.40 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.40 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2589FD
Deuteranopia (green-blind)
#5490F4
Tritanopia (blue-blind)
#BC7EA4
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #c262f8; /* rgb */ color: rgb(194, 98, 248); /* oklch */ color: oklch(67.3% 0.224 311.3);
Tailwind
colors: {
custom: {
50: '#d893fb',
500: '#c262f8',
950: '#000000',
},
}SCSS
$custom: #c262f8; $custom-light: #d893fb; $custom-dark: #000000;
JSON
{
"hex": "#c262f8",
"rgb": {
"r": 194,
"g": 98,
"b": 248
},
"hsl": {
"h": 278.4,
"s": 91.463,
"l": 67.843
},
"oklch": {
"l": 0.67302,
"c": 0.22352,
"h": 311.3
},
"luminance": 0.26982
}Semantic roles & 50–950 ramp
primary
#C262F8
secondary
#D4F2C4
accent
#E60053
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150D17
muted
#837E85