#9C8AEC#9C8AEC
#9C8AEC is a light, vivid violet. Relative luminance 0.313; OKLCH L 69.0% C 0.142 H 290.6°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).
Color values
| HEX | #9C8AEC |
|---|---|
| RGB | rgb(156, 138, 236) |
| HSL | hsl(251, 72%, 73%) |
| HSV | hsv(251, 42%, 93%) |
| CMYK | cmyk(33.9%, 41.5%, 0%, 7.5%) |
| CIE-LAB | lab(62.76, 28.65, -47.19) |
| CIE-LCH | lch(62.76, 55.20, 301.26°) |
| OKLab | oklab(69.03% 0.0499 -0.1325) |
| OKLCH | oklch(69.03% 0.142 290.6) |
| XYZ | xyz(37.9351, 31.3001, 83.3835) |
| Luminance | 0.3130 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Perrywinkle
#8F8CE7
ΔE00 3.11
Lavender Blue
#8B88F8
ΔE00 4.33
Periwinkle (survey)
#8E82FE
ΔE00 4.68
Periwinkle Blue
#8F99FB
ΔE00 6.75
Liliac
#C48EFD
ΔE00 7.77
Mediumpurple
#9370DB
ΔE00 7.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C8AEC #DAEC8A
analogous
#8AA9EC #9C8AEC #CD8AEC
triadic
#9C8AEC #EC9C8A #8AEC9C
tetradic
#9C8AEC #EC8AA9 #DAEC8A #8AECCD
square
#9C8AEC #EC8AA9 #DAEC8A #8AECCD
split-complementary
#9C8AEC #ECCD8A #A9EC8A
monochromatic
#4423D8 #6F55E3 #9C8AEC #C9BFF5 #E9E5FB
Accessibility & contrast
On white
2.89
#9C8AEC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.26
#9C8AEC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9C8AEC
7.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C8AEC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C8AEC | 1.00 | 2.89 | 7.26 | 7.26 |
| #FFFFFF | 2.89 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6B9AF0
Deuteranopia (green-blind)
#6C96EA
Tritanopia (blue-blind)
#889CB0
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #9c8aec; /* rgb */ color: rgb(156, 138, 236); /* oklch */ color: oklch(69.0% 0.142 290.6);
Tailwind
colors: {
custom: {
50: '#bcacf2',
500: '#9c8aec',
950: '#000000',
},
}SCSS
$custom: #9c8aec; $custom-light: #bcacf2; $custom-dark: #000000;
JSON
{
"hex": "#9c8aec",
"rgb": {
"r": 156,
"g": 138,
"b": 236
},
"hsl": {
"h": 251.02,
"s": 72.059,
"l": 73.333
},
"oklch": {
"l": 0.69031,
"c": 0.1416,
"h": 290.6
},
"luminance": 0.31301
}Semantic roles & 50–950 ramp
primary
#9C8AEC
secondary
#EEF2D9
accent
#D411B0
background
#FBFAFE
surface
#F7F4FD
border
#D0CED5
text
#121017
muted
#817F85