#C245E8#C245E8
#C245E8 is a light, highly saturated purple. Relative luminance 0.216; OKLCH L 63.1% C 0.245 H 317.1°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).
Color values
| HEX | #C245E8 |
|---|---|
| RGB | rgb(194, 69, 232) |
| HSL | hsl(286, 78%, 59%) |
| HSV | hsv(286, 70%, 91%) |
| CMYK | cmyk(16.4%, 70.3%, 0%, 9%) |
| CIE-LAB | lab(53.55, 71.57, -59.37) |
| CIE-LCH | lch(53.55, 92.99, 320.32°) |
| OKLab | oklab(63.11% 0.1798 -0.1669) |
| OKLCH | oklch(63.11% 0.245 317.1) |
| XYZ | xyz(38.9396, 21.5534, 78.4374) |
| Luminance | 0.2155 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 3.67
Purple Pink
#D725DE
ΔE00 4.33
Hot Purple
#CB00F5
ΔE00 4.51
Lightish Purple
#A552E6
ΔE00 4.96
Heliotrope
#D94FF5
ΔE00 5.17
Pinkish Purple
#D648D7
ΔE00 5.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C245E8 #6BE845
analogous
#7145E8 #C245E8 #E845BD
triadic
#C245E8 #E8C245 #45E8C2
tetradic
#C245E8 #E87145 #6BE845 #45BDE8
square
#C245E8 #E87145 #6BE845 #45BDE8
split-complementary
#C245E8 #BDE845 #45E871
monochromatic
#7E149F #AA1AD5 #C245E8 #D47BEF #E6B2F5
Accessibility & contrast
On white
3.95
#C245E8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.31
#C245E8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C245E8
5.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C245E8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C245E8 | 1.00 | 3.95 | 5.31 | 5.31 |
| #FFFFFF | 3.95 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.31 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.31 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0078ED
Deuteranopia (green-blind)
#4884E4
Tritanopia (blue-blind)
#C06692
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #c245e8; /* rgb */ color: rgb(194, 69, 232); /* oklch */ color: oklch(63.1% 0.245 317.1);
Tailwind
colors: {
custom: {
50: '#d983f0',
500: '#c245e8',
950: '#000000',
},
}SCSS
$custom: #c245e8; $custom-light: #d983f0; $custom-dark: #000000;
JSON
{
"hex": "#c245e8",
"rgb": {
"r": 194,
"g": 69,
"b": 232
},
"hsl": {
"h": 286.012,
"s": 77.99,
"l": 59.02
},
"oklch": {
"l": 0.63106,
"c": 0.2453,
"h": 317.1
},
"luminance": 0.21552
}Semantic roles & 50–950 ramp
primary
#C245E8
secondary
#B3E4A4
accent
#F43360
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C17
muted
#837D85