#9788CF#9788CF
#9788CF is a light, moderate violet. Relative luminance 0.287; OKLCH L 66.8% C 0.104 H 293.1°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).
Color values
| HEX | #9788CF |
|---|---|
| RGB | rgb(151, 136, 207) |
| HSL | hsl(253, 43%, 67%) |
| HSV | hsv(253, 34%, 81%) |
| CMYK | cmyk(27.1%, 34.3%, 0%, 18.8%) |
| CIE-LAB | lab(60.51, 21.02, -34.59) |
| CIE-LCH | lch(60.51, 40.48, 301.29°) |
| OKLab | oklab(66.77% 0.0409 -0.0961) |
| OKLCH | oklch(66.77% 0.104 293.1) |
| XYZ | xyz(32.8264, 28.6921, 62.8281) |
| Luminance | 0.2869 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Perrywinkle
#8F8CE7
ΔE00 5.54
Wisteria
#A87DC2
ΔE00 7.03
Pale Purple
#B790D4
ΔE00 7.40
Lavender
#B39DDB
ΔE00 7.49
Lavender Blue
#8B88F8
ΔE00 8.16
Mediumpurple
#9370DB
ΔE00 8.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9788CF #C0CF88
analogous
#889DCF #9788CF #BB88CF
triadic
#9788CF #CF9788 #88CF97
tetradic
#9788CF #CF889D #C0CF88 #88CFBB
square
#9788CF #CF889D #C0CF88 #88CFBB
split-complementary
#9788CF #CFBB88 #9DCF88
monochromatic
#533F9D #715CBD #9788CF #BDB4E1 #E3DFF2
Accessibility & contrast
On white
3.12
#9788CF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.74
#9788CF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9788CF
6.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9788CF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9788CF | 1.00 | 3.12 | 6.74 | 6.74 |
| #FFFFFF | 3.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7593D2
Deuteranopia (green-blind)
#7791CD
Tritanopia (blue-blind)
#8B94A2
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #9788cf; /* rgb */ color: rgb(151, 136, 207); /* oklch */ color: oklch(66.8% 0.104 293.1);
Tailwind
colors: {
custom: {
50: '#b7aade',
500: '#9788cf',
950: '#000000',
},
}SCSS
$custom: #9788cf; $custom-light: #b7aade; $custom-dark: #000000;
JSON
{
"hex": "#9788cf",
"rgb": {
"r": 151,
"g": 136,
"b": 207
},
"hsl": {
"h": 252.676,
"s": 42.515,
"l": 67.255
},
"oklch": {
"l": 0.66775,
"c": 0.10448,
"h": 293.1
},
"luminance": 0.28693
}Semantic roles & 50–950 ramp
primary
#9788CF
secondary
#E0E5CE
accent
#B63099
background
#FBFAFD
surface
#F6F4FB
border
#D0CED4
text
#111015
muted
#807F83