#9C8CD2#9C8CD2
#9C8CD2 is a light, moderate violet. Relative luminance 0.305; OKLCH L 68.1% C 0.103 H 294.0°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).
Color values
| HEX | #9C8CD2 |
|---|---|
| RGB | rgb(156, 140, 210) |
| HSL | hsl(254, 44%, 69%) |
| HSV | hsv(254, 33%, 82%) |
| CMYK | cmyk(25.7%, 33.3%, 0%, 17.6%) |
| CIE-LAB | lab(62.06, 20.94, -33.82) |
| CIE-LCH | lch(62.06, 39.78, 301.76°) |
| OKLab | oklab(68.11% 0.0418 -0.0938) |
| OKLCH | oklch(68.11% 0.103 294) |
| XYZ | xyz(34.7185, 30.4768, 65.0137) |
| Luminance | 0.3048 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Perrywinkle
#8F8CE7
ΔE00 5.80
Lavender
#B39DDB
ΔE00 6.11
Pale Purple
#B790D4
ΔE00 6.42
Wisteria
#A87DC2
ΔE00 7.13
Lavender Blue
#8B88F8
ΔE00 8.52
Lavender (survey)
#C79FEF
ΔE00 9.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C8CD2 #C2D28C
analogous
#8C9FD2 #9C8CD2 #BF8CD2
triadic
#9C8CD2 #D29C8C #8CD29C
tetradic
#9C8CD2 #D28C9F #C2D28C #8CD2BF
square
#9C8CD2 #D28C9F #C2D28C #8CD2BF
split-complementary
#9C8CD2 #D2BF8C #9FD28C
monochromatic
#5740A4 #7660C1 #9C8CD2 #C2B8E3 #E8E4F4
Accessibility & contrast
On white
2.96
#9C8CD2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.10
#9C8CD2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9C8CD2
7.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C8CD2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C8CD2 | 1.00 | 2.96 | 7.10 | 7.10 |
| #FFFFFF | 2.96 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7A97D5
Deuteranopia (green-blind)
#7C95D0
Tritanopia (blue-blind)
#9198A5
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #9c8cd2; /* rgb */ color: rgb(156, 140, 210); /* oklch */ color: oklch(68.1% 0.103 294.0);
Tailwind
colors: {
custom: {
50: '#baade0',
500: '#9c8cd2',
950: '#000000',
},
}SCSS
$custom: #9c8cd2; $custom-light: #baade0; $custom-dark: #000000;
JSON
{
"hex": "#9c8cd2",
"rgb": {
"r": 156,
"g": 140,
"b": 210
},
"hsl": {
"h": 253.714,
"s": 43.75,
"l": 68.627
},
"oklch": {
"l": 0.68111,
"c": 0.10272,
"h": 294
},
"luminance": 0.30477
}Semantic roles & 50–950 ramp
primary
#9C8CD2
secondary
#E3E7D2
accent
#B72F98
background
#FBFAFD
surface
#F6F4FB
border
#D0CED4
text
#121015
muted
#817F83