#9778B2#9778B2
#9778B2 is a light, moderate violet. Relative luminance 0.232; OKLCH L 62.4% C 0.092 H 308.3°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).
Color values
| HEX | #9778B2 |
|---|---|
| RGB | rgb(151, 120, 178) |
| HSL | hsl(272, 27%, 58%) |
| HSV | hsv(272, 33%, 70%) |
| CMYK | cmyk(15.2%, 32.6%, 0%, 30.2%) |
| CIE-LAB | lab(55.31, 23.40, -26.19) |
| CIE-LCH | lch(55.31, 35.13, 311.78°) |
| OKLab | oklab(62.39% 0.057 -0.072) |
| OKLCH | oklch(62.39% 0.092 308.3) |
| XYZ | xyz(27.5134, 23.2268, 45.1446) |
| Luminance | 0.2323 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Wisteria
#A87DC2
ΔE00 4.25
Deep Lilac
#966EBD
ΔE00 4.77
Dark Lilac
#9C6DA5
ΔE00 4.83
Soft Purple
#A66FB5
ΔE00 4.85
Faded Purple
#916E99
ΔE00 5.98
Heather
#A484AC
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9778B2 #93B278
analogous
#7A78B2 #9778B2 #B278B0
triadic
#9778B2 #B29778 #78B297
tetradic
#9778B2 #B27A78 #93B278 #78B0B2
square
#9778B2 #B27A78 #93B278 #78B0B2
split-complementary
#9778B2 #B0B278 #78B27A
monochromatic
#594070 #795697 #9778B2 #B59FC8 #D3C6DE
Accessibility & contrast
On white
3.72
#9778B2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.65
#9778B2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9778B2
5.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9778B2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9778B2 | 1.00 | 3.72 | 5.65 | 5.65 |
| #FFFFFF | 3.72 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6D83B4
Deuteranopia (green-blind)
#7485B0
Tritanopia (blue-blind)
#94808D
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #9778b2; /* rgb */ color: rgb(151, 120, 178); /* oklch */ color: oklch(62.4% 0.092 308.3);
Tailwind
colors: {
custom: {
50: '#b69fc9',
500: '#9778b2',
950: '#000000',
},
}SCSS
$custom: #9778b2; $custom-light: #b69fc9; $custom-dark: #000000;
JSON
{
"hex": "#9778b2",
"rgb": {
"r": 151,
"g": 120,
"b": 178
},
"hsl": {
"h": 272.069,
"s": 27.358,
"l": 58.431
},
"oklch": {
"l": 0.62393,
"c": 0.09183,
"h": 308.3
},
"luminance": 0.23227
}Semantic roles & 50–950 ramp
primary
#9778B2
secondary
#C2CEB7
accent
#C46491
background
#FBF9FC
surface
#F6F2F8
border
#D0CCD1
text
#110E13
muted
#807E82