#9788DB#9788DB
#9788DB is a light, vivid violet. Relative luminance 0.293; OKLCH L 67.4% C 0.121 H 291.1°. Best body text is #000000 at 6.86:1 contrast (WCAG AA passes).
Color values
| HEX | #9788DB |
|---|---|
| RGB | rgb(151, 136, 219) |
| HSL | hsl(251, 54%, 70%) |
| HSV | hsv(251, 38%, 86%) |
| CMYK | cmyk(31.1%, 37.9%, 0%, 14.1%) |
| CIE-LAB | lab(61.05, 24.05, -40.47) |
| CIE-LCH | lch(61.05, 47.08, 300.72°) |
| OKLab | oklab(67.36% 0.0436 -0.1131) |
| OKLCH | oklch(67.36% 0.121 291.1) |
| XYZ | xyz(34.3496, 29.3014, 70.8501) |
| Luminance | 0.2930 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Perrywinkle
#8F8CE7
ΔE00 3.58
Lavender Blue
#8B88F8
ΔE00 5.92
Periwinkle (survey)
#8E82FE
ΔE00 6.51
Mediumpurple
#9370DB
ΔE00 7.34
Periwinkle Blue
#8F99FB
ΔE00 8.08
Lavender
#B39DDB
ΔE00 8.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9788DB #CCDB88
analogous
#88A3DB #9788DB #C088DB
triadic
#9788DB #DB9788 #88DB97
tetradic
#9788DB #DB88A3 #CCDB88 #88DBC0
square
#9788DB #DB88A3 #CCDB88 #88DBC0
split-complementary
#9788DB #DBC088 #A3DB88
monochromatic
#4D36B3 #6E59CD #9788DB #C0B7E9 #E9E6F7
Accessibility & contrast
On white
3.06
#9788DB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.86
#9788DB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9788DB
6.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9788DB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9788DB | 1.00 | 3.06 | 6.86 | 6.86 |
| #FFFFFF | 3.06 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7095DE
Deuteranopia (green-blind)
#7192D9
Tritanopia (blue-blind)
#8797A7
Achromatopsia (no color)
#939393
Design tokens & code
CSS
--color: #9788db; /* rgb */ color: rgb(151, 136, 219); /* oklch */ color: oklch(67.4% 0.121 291.1);
Tailwind
colors: {
custom: {
50: '#b7aae6',
500: '#9788db',
950: '#000000',
},
}SCSS
$custom: #9788db; $custom-light: #b7aae6; $custom-dark: #000000;
JSON
{
"hex": "#9788db",
"rgb": {
"r": 151,
"g": 136,
"b": 219
},
"hsl": {
"h": 250.843,
"s": 53.548,
"l": 69.608
},
"oklch": {
"l": 0.67362,
"c": 0.12123,
"h": 291.1
},
"luminance": 0.29302
}Semantic roles & 50–950 ramp
primary
#9788DB
secondary
#E7EBD4
accent
#C124A5
background
#FBFAFE
surface
#F6F4FC
border
#D0CED5
text
#111016
muted
#807F84