#C945E6#C945E6
#C945E6 is a light, highly saturated purple. Relative luminance 0.224; OKLCH L 63.9% C 0.246 H 319.8°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).
Color values
| HEX | #C945E6 |
|---|---|
| RGB | rgb(201, 69, 230) |
| HSL | hsl(289, 76%, 59%) |
| HSV | hsv(289, 70%, 90%) |
| CMYK | cmyk(12.6%, 70%, 0%, 9.8%) |
| CIE-LAB | lab(54.44, 72.63, -56.77) |
| CIE-LCH | lch(54.44, 92.18, 321.99°) |
| OKLab | oklab(63.9% 0.1881 -0.159) |
| OKLCH | oklch(63.9% 0.246 319.8) |
| XYZ | xyz(40.4967, 22.3889, 77.0359) |
| Luminance | 0.2239 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 3.54
Purple Pink
#D725DE
ΔE00 3.57
Pinkish Purple
#D648D7
ΔE00 3.93
Heliotrope
#D94FF5
ΔE00 4.17
Hot Purple
#CB00F5
ΔE00 5.10
Bright Lilac
#C95EFB
ΔE00 5.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C945E6 #62E645
analogous
#7845E6 #C945E6 #E645B2
triadic
#C945E6 #E6C945 #45E6C9
tetradic
#C945E6 #E67845 #62E645 #45B2E6
square
#C945E6 #E67845 #62E645 #45B2E6
split-complementary
#C945E6 #B2E645 #45E678
monochromatic
#83159C #B11CD2 #C945E6 #D97BED #E8B1F5
Accessibility & contrast
On white
3.83
#C945E6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.48
#C945E6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C945E6
5.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C945E6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C945E6 | 1.00 | 3.83 | 5.48 | 5.48 |
| #FFFFFF | 3.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.48 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.48 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0079EB
Deuteranopia (green-blind)
#5287E2
Tritanopia (blue-blind)
#C96491
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #c945e6; /* rgb */ color: rgb(201, 69, 230); /* oklch */ color: oklch(63.9% 0.246 319.8);
Tailwind
colors: {
custom: {
50: '#dd84ef',
500: '#c945e6',
950: '#000000',
},
}SCSS
$custom: #c945e6; $custom-light: #dd84ef; $custom-dark: #000000;
JSON
{
"hex": "#c945e6",
"rgb": {
"r": 201,
"g": 69,
"b": 230
},
"hsl": {
"h": 289.193,
"s": 76.303,
"l": 58.627
},
"oklch": {
"l": 0.63904,
"c": 0.2463,
"h": 319.8
},
"luminance": 0.22387
}Semantic roles & 50–950 ramp
primary
#C945E6
secondary
#AFE3A4
accent
#F33557
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#160C16
muted
#847D84