#C18EDD#C18EDD
#C18EDD is a light, vivid violet. Relative luminance 0.359; OKLCH L 72.4% C 0.124 H 313.0°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).
Color values
| HEX | #C18EDD |
|---|---|
| RGB | rgb(193, 142, 221) |
| HSL | hsl(279, 54%, 71%) |
| HSV | hsv(279, 36%, 87%) |
| CMYK | cmyk(12.7%, 35.7%, 0%, 13.3%) |
| CIE-LAB | lab(66.45, 33.50, -32.87) |
| CIE-LCH | lch(66.45, 46.93, 315.54°) |
| OKLab | oklab(72.41% 0.0845 -0.0904) |
| OKLCH | oklch(72.41% 0.124 313) |
| XYZ | xyz(44.7143, 35.9047, 72.9674) |
| Luminance | 0.3590 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pale Purple
#B790D4
ΔE00 2.62
Lavender (survey)
#C79FEF
ΔE00 4.79
Baby Purple
#CA9BF7
ΔE00 4.89
Liliac
#C48EFD
ΔE00 5.78
Lavender
#B39DDB
ΔE00 6.26
Lilac (survey)
#CEA2FD
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C18EDD #AADD8E
analogous
#998EDD #C18EDD #DD8ED1
triadic
#C18EDD #DDC18E #8EDDC1
tetradic
#C18EDD #DD998E #AADD8E #8ED1DD
square
#C18EDD #DD998E #AADD8E #8ED1DD
split-complementary
#C18EDD #D1DD8E #8EDD99
monochromatic
#8B38B9 #A75FCF #C18EDD #DBBDEB #F2E7F8
Accessibility & contrast
On white
2.57
#C18EDD on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.18
#C18EDD on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C18EDD
8.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C18EDD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C18EDD | 1.00 | 2.57 | 8.18 | 8.18 |
| #FFFFFF | 2.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#819FE0
Deuteranopia (green-blind)
#8CA3DB
Tritanopia (blue-blind)
#BF99AB
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #c18edd; /* rgb */ color: rgb(193, 142, 221); /* oklch */ color: oklch(72.4% 0.124 313.0);
Tailwind
colors: {
custom: {
50: '#d5afe8',
500: '#c18edd',
950: '#000000',
},
}SCSS
$custom: #c18edd; $custom-light: #d5afe8; $custom-dark: #000000;
JSON
{
"hex": "#c18edd",
"rgb": {
"r": 193,
"g": 142,
"b": 221
},
"hsl": {
"h": 278.734,
"s": 53.741,
"l": 71.176
},
"oklch": {
"l": 0.72413,
"c": 0.12377,
"h": 313
},
"luminance": 0.35904
}Semantic roles & 50–950 ramp
primary
#C18EDD
secondary
#E0EED9
accent
#C1245C
background
#FDFAFE
surface
#FAF4FC
border
#D3CED5
text
#141016
muted
#837F84