#9A78BB#9A78BB
#9A78BB is a light, moderate violet. Relative luminance 0.239; OKLCH L 63.1% C 0.105 H 306.9°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).
Color values
| HEX | #9A78BB |
|---|---|
| RGB | rgb(154, 120, 187) |
| HSL | hsl(270, 33%, 60%) |
| HSV | hsv(270, 36%, 73%) |
| CMYK | cmyk(17.6%, 35.8%, 0%, 26.7%) |
| CIE-LAB | lab(55.98, 26.40, -30.29) |
| CIE-LCH | lch(55.98, 40.18, 311.07°) |
| OKLab | oklab(63.1% 0.0628 -0.0837) |
| OKLCH | oklch(63.1% 0.105 306.9) |
| XYZ | xyz(29.0108, 23.8910, 50.0872) |
| Luminance | 0.2389 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Wisteria
#A87DC2
ΔE00 3.22
Deep Lilac
#966EBD
ΔE00 3.55
Soft Purple
#A66FB5
ΔE00 4.52
Dark Lilac
#9C6DA5
ΔE00 5.82
Heather
#A484AC
ΔE00 7.62
Mediumpurple
#9370DB
ΔE00 7.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A78BB #99BB78
analogous
#7878BB #9A78BB #BB78BA
triadic
#9A78BB #BB9A78 #78BB9A
tetradic
#9A78BB #BB7878 #99BB78 #78BABB
square
#9A78BB #BB7878 #99BB78 #78BABB
split-complementary
#9A78BB #BABB78 #78BB78
monochromatic
#5D3E7B #7C52A3 #9A78BB #B8A1D0 #D7C9E4
Accessibility & contrast
On white
3.63
#9A78BB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.78
#9A78BB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9A78BB
5.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A78BB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9A78BB | 1.00 | 3.63 | 5.78 | 5.78 |
| #FFFFFF | 3.63 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6A85BE
Deuteranopia (green-blind)
#7287B9
Tritanopia (blue-blind)
#958291
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #9a78bb; /* rgb */ color: rgb(154, 120, 187); /* oklch */ color: oklch(63.1% 0.105 306.9);
Tailwind
colors: {
custom: {
50: '#b99fcf',
500: '#9a78bb',
950: '#000000',
},
}SCSS
$custom: #9a78bb; $custom-light: #b99fcf; $custom-dark: #000000;
JSON
{
"hex": "#9a78bb",
"rgb": {
"r": 154,
"g": 120,
"b": 187
},
"hsl": {
"h": 270.448,
"s": 33.005,
"l": 60.196
},
"oklch": {
"l": 0.63099,
"c": 0.10463,
"h": 306.9
},
"luminance": 0.23891
}Semantic roles & 50–950 ramp
primary
#9A78BB
secondary
#C7D4BB
accent
#AC3A72
background
#FBF9FC
surface
#F6F2F9
border
#D0CCD2
text
#110E14
muted
#807E82