#9787C3#9787C3
#9787C3 is a light, moderate violet. Relative luminance 0.278; OKLCH L 66.0% C 0.089 H 296.1°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).
Color values
| HEX | #9787C3 |
|---|---|
| RGB | rgb(151, 135, 195) |
| HSL | hsl(256, 33%, 65%) |
| HSV | hsv(256, 31%, 76%) |
| CMYK | cmyk(22.6%, 30.8%, 0%, 23.5%) |
| CIE-LAB | lab(59.75, 18.68, -29.01) |
| CIE-LCH | lch(59.75, 34.50, 302.77°) |
| OKLab | oklab(66.03% 0.0393 -0.0801) |
| OKLCH | oklch(66.03% 0.089 296.1) |
| XYZ | xyz(31.2746, 27.8471, 55.3465) |
| Luminance | 0.2785 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Wisteria
#A87DC2
ΔE00 6.05
Pale Purple
#B790D4
ΔE00 7.04
Lavender
#B39DDB
ΔE00 7.48
Heather
#A484AC
ΔE00 7.91
Perrywinkle
#8F8CE7
ΔE00 8.02
Deep Lilac
#966EBD
ΔE00 8.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9787C3 #B3C387
analogous
#8795C3 #9787C3 #B587C3
triadic
#9787C3 #C39787 #87C397
tetradic
#9787C3 #C38795 #B3C387 #87C3B5
square
#9787C3 #C38795 #B3C387 #87C3B5
split-complementary
#9787C3 #C3B587 #95C387
monochromatic
#58458A #745EAF #9787C3 #BAB0D7 #DED9EC
Accessibility & contrast
On white
3.20
#9787C3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.57
#9787C3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9787C3
6.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9787C3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9787C3 | 1.00 | 3.20 | 6.57 | 6.57 |
| #FFFFFF | 3.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.57 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.57 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7990C5
Deuteranopia (green-blind)
#7B8FC1
Tritanopia (blue-blind)
#8E919D
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #9787c3; /* rgb */ color: rgb(151, 135, 195); /* oklch */ color: oklch(66.0% 0.089 296.1);
Tailwind
colors: {
custom: {
50: '#b6aad5',
500: '#9787c3',
950: '#000000',
},
}SCSS
$custom: #9787c3; $custom-light: #b6aad5; $custom-dark: #000000;
JSON
{
"hex": "#9787c3",
"rgb": {
"r": 151,
"g": 135,
"b": 195
},
"hsl": {
"h": 256,
"s": 33.333,
"l": 64.706
},
"oklch": {
"l": 0.66026,
"c": 0.08924,
"h": 296.1
},
"luminance": 0.27847
}Semantic roles & 50–950 ramp
primary
#9787C3
secondary
#D8DDC9
accent
#AC398E
background
#FBFAFD
surface
#F6F4FA
border
#D0CED3
text
#111014
muted
#807F83