#9787C0#9787C0
#9787C0 is a light, moderate violet. Relative luminance 0.277; OKLCH L 65.9% C 0.085 H 296.9°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).
Color values
| HEX | #9787C0 |
|---|---|
| RGB | rgb(151, 135, 192) |
| HSL | hsl(257, 31%, 64%) |
| HSV | hsv(257, 30%, 75%) |
| CMYK | cmyk(21.4%, 29.7%, 0%, 24.7%) |
| CIE-LAB | lab(59.63, 17.96, -27.50) |
| CIE-LCH | lch(59.63, 32.85, 303.15°) |
| OKLab | oklab(65.89% 0.0385 -0.0758) |
| OKLCH | oklch(65.89% 0.085 296.9) |
| XYZ | xyz(30.9388, 27.7128, 53.5781) |
| Luminance | 0.2771 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Wisteria
#A87DC2
ΔE00 6.04
Pale Purple
#B790D4
ΔE00 7.11
Heather
#A484AC
ΔE00 7.30
Lavender
#B39DDB
ΔE00 7.58
Deep Lilac
#966EBD
ΔE00 8.42
Perrywinkle
#8F8CE7
ΔE00 8.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9787C0 #B0C087
analogous
#8794C0 #9787C0 #B487C0
triadic
#9787C0 #C09787 #87C097
tetradic
#9787C0 #C08794 #B0C087 #87C0B4
square
#9787C0 #C08794 #B0C087 #87C0B4
split-complementary
#9787C0 #C0B487 #94C087
monochromatic
#584686 #745FAB #9787C0 #BAAFD5 #DDD7EA
Accessibility & contrast
On white
3.21
#9787C0 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.54
#9787C0 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9787C0
6.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9787C0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9787C0 | 1.00 | 3.21 | 6.54 | 6.54 |
| #FFFFFF | 3.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.54 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.54 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7A90C2
Deuteranopia (green-blind)
#7C8FBE
Tritanopia (blue-blind)
#8F909B
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #9787c0; /* rgb */ color: rgb(151, 135, 192); /* oklch */ color: oklch(65.9% 0.085 296.9);
Tailwind
colors: {
custom: {
50: '#b6aad3',
500: '#9787c0',
950: '#000000',
},
}SCSS
$custom: #9787c0; $custom-light: #b6aad3; $custom-dark: #000000;
JSON
{
"hex": "#9787c0",
"rgb": {
"r": 151,
"g": 135,
"b": 192
},
"hsl": {
"h": 256.842,
"s": 31.148,
"l": 64.118
},
"oklch": {
"l": 0.65892,
"c": 0.08503,
"h": 296.9
},
"luminance": 0.27713
}Semantic roles & 50–950 ramp
primary
#9787C0
secondary
#D6DBC7
accent
#AA3C8B
background
#FBFAFC
surface
#F6F4F9
border
#D0CED2
text
#111014
muted
#807F82