#9A8BCC#9A8BCC
#9A8BCC is a light, moderate violet. Relative luminance 0.297; OKLCH L 67.5% C 0.096 H 294.3°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).
Color values
| HEX | #9A8BCC |
|---|---|
| RGB | rgb(154, 139, 204) |
| HSL | hsl(254, 39%, 67%) |
| HSV | hsv(254, 32%, 80%) |
| CMYK | cmyk(24.5%, 31.9%, 0%, 20%) |
| CIE-LAB | lab(61.39, 19.46, -31.52) |
| CIE-LCH | lch(61.39, 37.04, 301.68°) |
| OKLab | oklab(67.47% 0.0394 -0.0873) |
| OKLCH | oklch(67.47% 0.096 294.3) |
| XYZ | xyz(33.4556, 29.6945, 61.0841) |
| Luminance | 0.2969 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lavender
#B39DDB
ΔE00 6.35
Pale Purple
#B790D4
ΔE00 6.55
Perrywinkle
#8F8CE7
ΔE00 6.60
Wisteria
#A87DC2
ΔE00 6.83
Heather
#A484AC
ΔE00 9.25
Deep Lilac
#966EBD
ΔE00 9.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A8BCC #BDCC8B
analogous
#8B9DCC #9A8BCC #BA8BCC
triadic
#9A8BCC #CC9A8B #8BCC9A
tetradic
#9A8BCC #CC8B9D #BDCC8B #8BCCBA
square
#9A8BCC #CC8B9D #BDCC8B #8BCCBA
split-complementary
#9A8BCC #CCBA8B #9DCC8B
monochromatic
#574399 #7560B9 #9A8BCC #BFB6DF #E4E0F1
Accessibility & contrast
On white
3.03
#9A8BCC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.94
#9A8BCC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9A8BCC
6.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A8BCC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9A8BCC | 1.00 | 3.03 | 6.94 | 6.94 |
| #FFFFFF | 3.03 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7B95CF
Deuteranopia (green-blind)
#7C93CA
Tritanopia (blue-blind)
#9096A2
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #9a8bcc; /* rgb */ color: rgb(154, 139, 204); /* oklch */ color: oklch(67.5% 0.096 294.3);
Tailwind
colors: {
custom: {
50: '#b9addb',
500: '#9a8bcc',
950: '#000000',
},
}SCSS
$custom: #9a8bcc; $custom-light: #b9addb; $custom-dark: #000000;
JSON
{
"hex": "#9a8bcc",
"rgb": {
"r": 154,
"g": 139,
"b": 204
},
"hsl": {
"h": 253.846,
"s": 38.922,
"l": 67.255
},
"oklch": {
"l": 0.6747,
"c": 0.09574,
"h": 294.3
},
"luminance": 0.29695
}Semantic roles & 50–950 ramp
primary
#9A8BCC
secondary
#DFE4CF
accent
#B23495
background
#FBFAFD
surface
#F6F4FB
border
#D0CED4
text
#111015
muted
#807F83