#9788CA#9788CA
#9788CA is a light, moderate violet. Relative luminance 0.285; OKLCH L 66.5% C 0.097 H 294.0°. Best body text is #000000 at 6.69:1 contrast (WCAG AA passes).
Color values
| HEX | #9788CA |
|---|---|
| RGB | rgb(151, 136, 202) |
| HSL | hsl(254, 38%, 66%) |
| HSV | hsv(254, 33%, 79%) |
| CMYK | cmyk(25.2%, 32.7%, 0%, 20.8%) |
| CIE-LAB | lab(60.29, 19.79, -32.12) |
| CIE-LCH | lch(60.29, 37.72, 301.65°) |
| OKLab | oklab(66.54% 0.0397 -0.089) |
| OKLCH | oklch(66.54% 0.097 294) |
| XYZ | xyz(32.2248, 28.4515, 59.6596) |
| Luminance | 0.2845 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Perrywinkle
#8F8CE7
ΔE00 6.51
Wisteria
#A87DC2
ΔE00 6.62
Pale Purple
#B790D4
ΔE00 7.15
Lavender
#B39DDB
ΔE00 7.30
Deep Lilac
#966EBD
ΔE00 8.53
Mediumpurple
#9370DB
ΔE00 8.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9788CA #BBCA88
analogous
#889ACA #9788CA #B888CA
triadic
#9788CA #CA9788 #88CA97
tetradic
#9788CA #CA889A #BBCA88 #88CAB8
square
#9788CA #CA889A #BBCA88 #88CAB8
split-complementary
#9788CA #CAB888 #9ACA88
monochromatic
#554295 #725EB7 #9788CA #BCB2DD #E1DDF0
Accessibility & contrast
On white
3.14
#9788CA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.69
#9788CA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9788CA
6.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9788CA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9788CA | 1.00 | 3.14 | 6.69 | 6.69 |
| #FFFFFF | 3.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7792CD
Deuteranopia (green-blind)
#7990C8
Tritanopia (blue-blind)
#8C93A0
Achromatopsia (no color)
#919191
Design tokens & code
CSS
--color: #9788ca; /* rgb */ color: rgb(151, 136, 202); /* oklch */ color: oklch(66.5% 0.097 294.0);
Tailwind
colors: {
custom: {
50: '#b7aada',
500: '#9788ca',
950: '#000000',
},
}SCSS
$custom: #9788ca; $custom-light: #b7aada; $custom-dark: #000000;
JSON
{
"hex": "#9788ca",
"rgb": {
"r": 151,
"g": 136,
"b": 202
},
"hsl": {
"h": 253.636,
"s": 38.372,
"l": 66.275
},
"oklch": {
"l": 0.6654,
"c": 0.09746,
"h": 294
},
"luminance": 0.28452
}Semantic roles & 50–950 ramp
primary
#9788CA
secondary
#DDE2CC
accent
#B13495
background
#FBFAFD
surface
#F6F4FA
border
#D0CED3
text
#111015
muted
#807F83