#C945E2#C945E2
#C945E2 is a light, highly saturated purple. Relative luminance 0.222; OKLCH L 63.7% C 0.243 H 320.8°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).
Color values
| HEX | #C945E2 |
|---|---|
| RGB | rgb(201, 69, 226) |
| HSL | hsl(290, 73%, 58%) |
| HSV | hsv(290, 69%, 89%) |
| CMYK | cmyk(11.1%, 69.5%, 0%, 11.4%) |
| CIE-LAB | lab(54.20, 71.91, -54.89) |
| CIE-LCH | lch(54.20, 90.46, 322.65°) |
| OKLab | oklab(63.66% 0.1883 -0.1535) |
| OKLCH | oklch(63.66% 0.243 320.8) |
| XYZ | xyz(39.9414, 22.1668, 74.1115) |
| Luminance | 0.2217 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 3.25
Purple Pink
#D725DE
ΔE00 3.27
Pinkish Purple
#D648D7
ΔE00 3.54
Heliotrope
#D94FF5
ΔE00 4.44
Hot Purple
#CB00F5
ΔE00 5.27
Pink Purple
#EF1DE7
ΔE00 5.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C945E2 #5EE245
analogous
#7B45E2 #C945E2 #E245AC
triadic
#C945E2 #E2C945 #45E2C9
tetradic
#C945E2 #E27B45 #5EE245 #45ACE2
square
#C945E2 #E27B45 #5EE245 #45ACE2
split-complementary
#C945E2 #ACE245 #45E27B
monochromatic
#811795 #AF20CA #C945E2 #D87AEA #E8AFF3
Accessibility & contrast
On white
3.87
#C945E2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.43
#C945E2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C945E2
5.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C945E2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C945E2 | 1.00 | 3.87 | 5.43 | 5.43 |
| #FFFFFF | 3.87 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.43 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.43 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0078E6
Deuteranopia (green-blind)
#5686DE
Tritanopia (blue-blind)
#CA628F
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #c945e2; /* rgb */ color: rgb(201, 69, 226); /* oklch */ color: oklch(63.7% 0.243 320.8);
Tailwind
colors: {
custom: {
50: '#dd84ec',
500: '#c945e2',
950: '#000000',
},
}SCSS
$custom: #c945e2; $custom-light: #dd84ec; $custom-dark: #000000;
JSON
{
"hex": "#c945e2",
"rgb": {
"r": 201,
"g": 69,
"b": 226
},
"hsl": {
"h": 290.446,
"s": 73.023,
"l": 57.843
},
"oklch": {
"l": 0.63662,
"c": 0.24294,
"h": 320.8
},
"luminance": 0.22165
}Semantic roles & 50–950 ramp
primary
#C945E2
secondary
#ACE1A2
accent
#F03855
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#160C16
muted
#847D84