#9789B2#9789B2
#9789B2 is a light, moderate violet. Relative luminance 0.277; OKLCH L 65.7% C 0.062 H 300.3°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).
Color values
| HEX | #9789B2 |
|---|---|
| RGB | rgb(151, 137, 178) |
| HSL | hsl(260, 21%, 62%) |
| HSV | hsv(260, 23%, 70%) |
| CMYK | cmyk(15.2%, 23%, 0%, 30.2%) |
| CIE-LAB | lab(59.60, 13.58, -19.60) |
| CIE-LCH | lch(59.60, 23.84, 304.72°) |
| OKLab | oklab(65.7% 0.0313 -0.0535) |
| OKLCH | oklch(65.7% 0.062 300.3) |
| XYZ | xyz(29.7424, 27.6849, 45.8877) |
| Luminance | 0.2768 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Heather
#A484AC
ΔE00 5.27
Dusty Lavender
#AC86A8
ΔE00 7.64
Purpley Grey
#947E94
ΔE00 7.89
Wisteria
#A87DC2
ΔE00 8.02
Pale Purple
#B790D4
ΔE00 8.78
Lavender
#B39DDB
ΔE00 8.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9789B2 #A4B289
analogous
#8990B2 #9789B2 #AC89B2
triadic
#9789B2 #B29789 #89B297
tetradic
#9789B2 #B28990 #A4B289 #89B2AC
square
#9789B2 #B28990 #A4B289 #89B2AC
split-complementary
#9789B2 #B2AC89 #90B289
monochromatic
#5A4C75 #76649A #9789B2 #B8AECA #D8D3E2
Accessibility & contrast
On white
3.21
#9789B2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.54
#9789B2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9789B2
6.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9789B2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9789B2 | 1.00 | 3.21 | 6.54 | 6.54 |
| #FFFFFF | 3.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.54 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.54 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#818FB4
Deuteranopia (green-blind)
#838FB1
Tritanopia (blue-blind)
#938F97
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #9789b2; /* rgb */ color: rgb(151, 137, 178); /* oklch */ color: oklch(65.7% 0.062 300.3);
Tailwind
colors: {
custom: {
50: '#b6abc9',
500: '#9789b2',
950: '#000000',
},
}SCSS
$custom: #9789b2; $custom-light: #b6abc9; $custom-dark: #000000;
JSON
{
"hex": "#9789b2",
"rgb": {
"r": 151,
"g": 137,
"b": 178
},
"hsl": {
"h": 260.488,
"s": 21.026,
"l": 61.765
},
"oklch": {
"l": 0.65695,
"c": 0.06196,
"h": 300.3
},
"luminance": 0.27685
}Semantic roles & 50–950 ramp
primary
#9789B2
secondary
#CED3C4
accent
#9F4681
background
#FBFAFC
surface
#F6F4F8
border
#D0CED1
text
#111013
muted
#807F82