#C246EC#C246EC
#C246EC is a light, highly saturated purple. Relative luminance 0.219; OKLCH L 63.5% C 0.248 H 316.1°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).
Color values
| HEX | #C246EC |
|---|---|
| RGB | rgb(194, 70, 236) |
| HSL | hsl(285, 81%, 60%) |
| HSV | hsv(285, 70%, 93%) |
| CMYK | cmyk(17.8%, 70.3%, 0%, 7.5%) |
| CIE-LAB | lab(53.93, 71.95, -61.01) |
| CIE-LCH | lch(53.93, 94.34, 319.70°) |
| OKLab | oklab(63.45% 0.1785 -0.1717) |
| OKLCH | oklch(63.45% 0.248 316.1) |
| XYZ | xyz(39.5763, 21.9073, 81.4844) |
| Luminance | 0.2191 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 4.03
Hot Purple
#CB00F5
ΔE00 4.62
Purple Pink
#D725DE
ΔE00 4.75
Lightish Purple
#A552E6
ΔE00 4.85
Heliotrope
#D94FF5
ΔE00 4.95
Bright Lilac
#C95EFB
ΔE00 5.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C246EC #70EC46
analogous
#6F46EC #C246EC #EC46C3
triadic
#C246EC #ECC246 #46ECC2
tetradic
#C246EC #EC6F46 #70EC46 #46C3EC
square
#C246EC #EC6F46 #70EC46 #46C3EC
split-complementary
#C246EC #C3EC46 #46EC6F
monochromatic
#8111A7 #AC17DE #C246EC #D47DF2 #E7B5F7
Accessibility & contrast
On white
3.90
#C246EC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.38
#C246EC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C246EC
5.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C246EC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C246EC | 1.00 | 3.90 | 5.38 | 5.38 |
| #FFFFFF | 3.90 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.38 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.38 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007AF1
Deuteranopia (green-blind)
#4584E8
Tritanopia (blue-blind)
#BF6895
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #c246ec; /* rgb */ color: rgb(194, 70, 236); /* oklch */ color: oklch(63.5% 0.248 316.1);
Tailwind
colors: {
custom: {
50: '#d984f3',
500: '#c246ec',
950: '#000000',
},
}SCSS
$custom: #c246ec; $custom-light: #d984f3; $custom-dark: #000000;
JSON
{
"hex": "#c246ec",
"rgb": {
"r": 194,
"g": 70,
"b": 236
},
"hsl": {
"h": 284.819,
"s": 81.373,
"l": 60
},
"oklch": {
"l": 0.63454,
"c": 0.24765,
"h": 316.1
},
"luminance": 0.21906
}Semantic roles & 50–950 ramp
primary
#C246EC
secondary
#B7E7A7
accent
#F83063
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C17
muted
#837D85