#9C8AEB#9C8AEB
#9C8AEB is a light, vivid violet. Relative luminance 0.312; OKLCH L 69.0% C 0.140 H 290.8°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).
Color values
| HEX | #9C8AEB |
|---|---|
| RGB | rgb(156, 138, 235) |
| HSL | hsl(251, 71%, 73%) |
| HSV | hsv(251, 41%, 92%) |
| CMYK | cmyk(33.6%, 41.3%, 0%, 7.8%) |
| CIE-LAB | lab(62.71, 28.39, -46.71) |
| CIE-LCH | lch(62.71, 54.66, 301.29°) |
| OKLab | oklab(68.98% 0.0497 -0.1311) |
| OKLCH | oklch(68.98% 0.14 290.8) |
| XYZ | xyz(37.7903, 31.2422, 82.6205) |
| Luminance | 0.3124 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Perrywinkle
#8F8CE7
ΔE00 3.12
Lavender Blue
#8B88F8
ΔE00 4.45
Periwinkle (survey)
#8E82FE
ΔE00 4.81
Periwinkle Blue
#8F99FB
ΔE00 6.82
Mediumpurple
#9370DB
ΔE00 7.77
Liliac
#C48EFD
ΔE00 7.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C8AEB #D9EB8A
analogous
#8AA8EB #9C8AEB #CC8AEB
triadic
#9C8AEB #EB9C8A #8AEB9C
tetradic
#9C8AEB #EB8AA8 #D9EB8A #8AEBCC
square
#9C8AEB #EB8AA8 #D9EB8A #8AEBCC
split-complementary
#9C8AEB #EBCC8A #A8EB8A
monochromatic
#4625D6 #7056E2 #9C8AEB #C8BEF4 #E9E5FB
Accessibility & contrast
On white
2.90
#9C8AEB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.25
#9C8AEB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9C8AEB
7.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C8AEB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C8AEB | 1.00 | 2.90 | 7.25 | 7.25 |
| #FFFFFF | 2.90 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6B99EF
Deuteranopia (green-blind)
#6D96E9
Tritanopia (blue-blind)
#899CAF
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #9c8aeb; /* rgb */ color: rgb(156, 138, 235); /* oklch */ color: oklch(69.0% 0.140 290.8);
Tailwind
colors: {
custom: {
50: '#bcacf2',
500: '#9c8aeb',
950: '#000000',
},
}SCSS
$custom: #9c8aeb; $custom-light: #bcacf2; $custom-dark: #000000;
JSON
{
"hex": "#9c8aeb",
"rgb": {
"r": 156,
"g": 138,
"b": 235
},
"hsl": {
"h": 251.134,
"s": 70.803,
"l": 73.137
},
"oklch": {
"l": 0.68978,
"c": 0.14025,
"h": 290.8
},
"luminance": 0.31243
}Semantic roles & 50–950 ramp
primary
#9C8AEB
secondary
#EDF2D9
accent
#D313AF
background
#FBFAFE
surface
#F7F4FD
border
#D0CED5
text
#121017
muted
#817F85