#C645EF#C645EF
#C645EF is a light, highly saturated purple. Relative luminance 0.225; OKLCH L 64.1% C 0.253 H 316.7°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).
Color values
| HEX | #C645EF |
|---|---|
| RGB | rgb(198, 69, 239) |
| HSL | hsl(286, 84%, 60%) |
| HSV | hsv(286, 71%, 94%) |
| CMYK | cmyk(17.2%, 71.1%, 0%, 6.3%) |
| CIE-LAB | lab(54.55, 73.68, -61.67) |
| CIE-LCH | lch(54.55, 96.08, 320.07°) |
| OKLab | oklab(64.07% 0.1839 -0.1735) |
| OKLCH | oklch(64.07% 0.253 316.7) |
| XYZ | xyz(40.9945, 22.4957, 83.8273) |
| Luminance | 0.2249 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Heliotrope
#D94FF5
ΔE00 4.32
Mediumorchid
#BA55D3
ΔE00 4.37
Purple Pink
#D725DE
ΔE00 4.63
Hot Purple
#CB00F5
ΔE00 4.73
Bright Lilac
#C95EFB
ΔE00 4.85
Pinkish Purple
#D648D7
ΔE00 5.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C645EF #6EEF45
analogous
#7145EF #C645EF #EF45C3
triadic
#C645EF #EFC645 #45EFC6
tetradic
#C645EF #EF7145 #6EEF45 #45C3EF
square
#C645EF #EF7145 #6EEF45 #45C3EF
split-complementary
#C645EF #C3EF45 #45EF71
monochromatic
#850FAB #B114E3 #C645EF #D77DF4 #E9B6F9
Accessibility & contrast
On white
3.82
#C645EF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.50
#C645EF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C645EF
5.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C645EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C645EF | 1.00 | 3.82 | 5.50 | 5.50 |
| #FFFFFF | 3.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.50 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.50 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007BF4
Deuteranopia (green-blind)
#4686EB
Tritanopia (blue-blind)
#C46896
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #c645ef; /* rgb */ color: rgb(198, 69, 239); /* oklch */ color: oklch(64.1% 0.253 316.7);
Tailwind
colors: {
custom: {
50: '#dc84f5',
500: '#c645ef',
950: '#000000',
},
}SCSS
$custom: #c645ef; $custom-light: #dc84f5; $custom-dark: #000000;
JSON
{
"hex": "#c645ef",
"rgb": {
"r": 198,
"g": 69,
"b": 239
},
"hsl": {
"h": 285.529,
"s": 84.158,
"l": 60.392
},
"oklch": {
"l": 0.6407,
"c": 0.25279,
"h": 316.7
},
"luminance": 0.22494
}Semantic roles & 50–950 ramp
primary
#C645EF
secondary
#B7E8A7
accent
#E1053A
background
#FEF8FF
surface
#FCF0FE
border
#D5CBD6
text
#160C17
muted
#847D85