#C245E2#C245E2
#C245E2 is a light, highly saturated purple. Relative luminance 0.212; OKLCH L 62.7% C 0.240 H 318.6°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).
Color values
| HEX | #C245E2 |
|---|---|
| RGB | rgb(194, 69, 226) |
| HSL | hsl(288, 73%, 58%) |
| HSV | hsv(288, 69%, 89%) |
| CMYK | cmyk(14.2%, 69.5%, 0%, 11.4%) |
| CIE-LAB | lab(53.19, 70.45, -56.57) |
| CIE-LCH | lch(53.19, 90.35, 321.23°) |
| OKLab | oklab(62.73% 0.1802 -0.1587) |
| OKLCH | oklch(62.73% 0.24 318.6) |
| XYZ | xyz(38.1019, 21.2183, 74.0253) |
| Luminance | 0.2122 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 3.12
Purple Pink
#D725DE
ΔE00 3.88
Hot Purple
#CB00F5
ΔE00 4.71
Pinkish Purple
#D648D7
ΔE00 4.77
Lightish Purple
#A552E6
ΔE00 5.26
Heliotrope
#D94FF5
ΔE00 5.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C245E2 #65E245
analogous
#7445E2 #C245E2 #E245B3
triadic
#C245E2 #E2C245 #45E2C2
tetradic
#C245E2 #E27445 #65E245 #45B3E2
square
#C245E2 #E27445 #65E245 #45B3E2
split-complementary
#C245E2 #B3E245 #45E274
monochromatic
#7C1795 #A720CA #C245E2 #D37AEA #E5AFF3
Accessibility & contrast
On white
4.01
#C245E2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.24
#C245E2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C245E2
5.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C245E2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C245E2 | 1.00 | 4.01 | 5.24 | 5.24 |
| #FFFFFF | 4.01 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.24 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.24 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0077E6
Deuteranopia (green-blind)
#4E83DE
Tritanopia (blue-blind)
#C2638F
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #c245e2; /* rgb */ color: rgb(194, 69, 226); /* oklch */ color: oklch(62.7% 0.240 318.6);
Tailwind
colors: {
custom: {
50: '#d883ec',
500: '#c245e2',
950: '#000000',
},
}SCSS
$custom: #c245e2; $custom-light: #d883ec; $custom-dark: #000000;
JSON
{
"hex": "#c245e2",
"rgb": {
"r": 194,
"g": 69,
"b": 226
},
"hsl": {
"h": 287.771,
"s": 73.023,
"l": 57.843
},
"oklch": {
"l": 0.62731,
"c": 0.24012,
"h": 318.6
},
"luminance": 0.21217
}Semantic roles & 50–950 ramp
primary
#C245E2
secondary
#AFE1A2
accent
#F0385E
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C16
muted
#837D84