#9C8AEF#9C8AEF
#9C8AEF is a light, vivid violet. Relative luminance 0.315; OKLCH L 69.2% C 0.146 H 290.2°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).
Color values
| HEX | #9C8AEF |
|---|---|
| RGB | rgb(156, 138, 239) |
| HSL | hsl(251, 76%, 74%) |
| HSV | hsv(251, 42%, 94%) |
| CMYK | cmyk(34.7%, 42.3%, 0%, 6.3%) |
| CIE-LAB | lab(62.91, 29.43, -48.61) |
| CIE-LCH | lch(62.91, 56.83, 301.19°) |
| OKLab | oklab(69.19% 0.0504 -0.1367) |
| OKLCH | oklch(69.19% 0.146 290.2) |
| XYZ | xyz(38.3746, 31.4759, 85.6982) |
| Luminance | 0.3148 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Perrywinkle
#8F8CE7
ΔE00 3.14
Lavender Blue
#8B88F8
ΔE00 4.02
Periwinkle (survey)
#8E82FE
ΔE00 4.31
Periwinkle Blue
#8F99FB
ΔE00 6.55
Liliac
#C48EFD
ΔE00 7.76
Mediumpurple
#9370DB
ΔE00 7.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C8AEF #DDEF8A
analogous
#8AABEF #9C8AEF #CF8AEF
triadic
#9C8AEF #EF9C8A #8AEF9C
tetradic
#9C8AEF #EF8AAB #DDEF8A #8AEFCF
square
#9C8AEF #EF8AAB #DDEF8A #8AEFCF
split-complementary
#9C8AEF #EFCF8A #ABEF8A
monochromatic
#411FE0 #6E54E8 #9C8AEF #CAC0F6 #E8E4FB
Accessibility & contrast
On white
2.88
#9C8AEF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.30
#9C8AEF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9C8AEF
7.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C8AEF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C8AEF | 1.00 | 2.88 | 7.30 | 7.30 |
| #FFFFFF | 2.88 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.30 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.30 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#699AF3
Deuteranopia (green-blind)
#6A96ED
Tritanopia (blue-blind)
#879DB1
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #9c8aef; /* rgb */ color: rgb(156, 138, 239); /* oklch */ color: oklch(69.2% 0.146 290.2);
Tailwind
colors: {
custom: {
50: '#bcacf5',
500: '#9c8aef',
950: '#000000',
},
}SCSS
$custom: #9c8aef; $custom-light: #bcacf5; $custom-dark: #000000;
JSON
{
"hex": "#9c8aef",
"rgb": {
"r": 156,
"g": 138,
"b": 239
},
"hsl": {
"h": 250.693,
"s": 75.94,
"l": 73.922
},
"oklch": {
"l": 0.6919,
"c": 0.14566,
"h": 290.2
},
"luminance": 0.31477
}Semantic roles & 50–950 ramp
primary
#9C8AEF
secondary
#EEF3D8
accent
#D80DB4
background
#FBFAFE
surface
#F7F4FD
border
#D0CED5
text
#121017
muted
#817F85