#9788BF#9788BF
#9788BF is a light, moderate violet. Relative luminance 0.279; OKLCH L 66.0% C 0.082 H 296.6°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).
Color values
| HEX | #9788BF |
|---|---|
| RGB | rgb(151, 136, 191) |
| HSL | hsl(256, 30%, 64%) |
| HSV | hsv(256, 29%, 75%) |
| CMYK | cmyk(20.9%, 28.8%, 0%, 25.1%) |
| CIE-LAB | lab(59.84, 17.15, -26.61) |
| CIE-LCH | lch(59.84, 31.65, 302.80°) |
| OKLab | oklab(66.04% 0.0367 -0.0733) |
| OKLCH | oklch(66.04% 0.082 296.6) |
| XYZ | xyz(30.9685, 27.9490, 53.0433) |
| Luminance | 0.2795 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Wisteria
#A87DC2
ΔE00 6.36
Heather
#A484AC
ΔE00 7.14
Pale Purple
#B790D4
ΔE00 7.19
Lavender
#B39DDB
ΔE00 7.47
Deep Lilac
#966EBD
ΔE00 8.85
Perrywinkle
#8F8CE7
ΔE00 8.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9788BF #B0BF88
analogous
#8895BF #9788BF #B388BF
triadic
#9788BF #BF9788 #88BF97
tetradic
#9788BF #BF8895 #B0BF88 #88BFB3
square
#9788BF #BF8895 #B0BF88 #88BFB3
split-complementary
#9788BF #BFB388 #95BF88
monochromatic
#584885 #7460AA #9788BF #BAB0D4 #DDD8EA
Accessibility & contrast
On white
3.19
#9788BF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.59
#9788BF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9788BF
6.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9788BF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9788BF | 1.00 | 3.19 | 6.59 | 6.59 |
| #FFFFFF | 3.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7B90C1
Deuteranopia (green-blind)
#7D90BD
Tritanopia (blue-blind)
#8F919B
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #9788bf; /* rgb */ color: rgb(151, 136, 191); /* oklch */ color: oklch(66.0% 0.082 296.6);
Tailwind
colors: {
custom: {
50: '#b6aad2',
500: '#9788bf',
950: '#000000',
},
}SCSS
$custom: #9788bf; $custom-light: #b6aad2; $custom-dark: #000000;
JSON
{
"hex": "#9788bf",
"rgb": {
"r": 151,
"g": 136,
"b": 191
},
"hsl": {
"h": 256.364,
"s": 30.055,
"l": 64.118
},
"oklch": {
"l": 0.66044,
"c": 0.08196,
"h": 296.6
},
"luminance": 0.27949
}Semantic roles & 50–950 ramp
primary
#9788BF
secondary
#D6DBC8
accent
#A93D8B
background
#FBFAFC
surface
#F6F4F9
border
#D0CED2
text
#111014
muted
#807F82