#8960B2#8960B2
#8960B2 is a mid, vivid violet. Relative luminance 0.169; OKLCH L 56.6% C 0.129 H 305.7°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).
Color values
| HEX | #8960B2 |
|---|---|
| RGB | rgb(137, 96, 178) |
| HSL | hsl(270, 35%, 54%) |
| HSV | hsv(270, 46%, 70%) |
| CMYK | cmyk(23%, 46.1%, 0%, 30.2%) |
| CIE-LAB | lab(48.13, 33.03, -37.50) |
| CIE-LCH | lch(48.13, 49.97, 311.37°) |
| OKLab | oklab(56.64% 0.0754 -0.1047) |
| OKLCH | oklch(56.64% 0.129 305.7) |
| XYZ | xyz(22.5336, 16.8986, 44.1855) |
| Luminance | 0.1690 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 1.34
Amethyst
#9B5FC0
ΔE00 4.13
Deep Lilac
#966EBD
ΔE00 5.20
Royal Purple
#7851A9
ΔE00 5.70
Dark Lavender
#856798
ΔE00 7.02
Dark Lilac
#9C6DA5
ΔE00 8.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8960B2 #89B260
analogous
#6060B2 #8960B2 #B260B2
triadic
#8960B2 #B28960 #60B289
tetradic
#8960B2 #B26060 #89B260 #60B2B2
square
#8960B2 #B26060 #89B260 #60B2B2
split-complementary
#8960B2 #B2B260 #60B260
monochromatic
#4C3166 #6A458F #8960B2 #A889C6 #C6B2DA
Accessibility & contrast
On white
4.79
#8960B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.38
#8960B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8960B2
4.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8960B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8960B2 | 1.00 | 4.79 | 4.38 | 4.79 |
| #FFFFFF | 4.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B71B5
Deuteranopia (green-blind)
#5572B0
Tritanopia (blue-blind)
#836E80
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #8960b2; /* rgb */ color: rgb(137, 96, 178); /* oklch */ color: oklch(56.6% 0.129 305.7);
Tailwind
colors: {
custom: {
50: '#ad8ec9',
500: '#8960b2',
950: '#000000',
},
}SCSS
$custom: #8960b2; $custom-light: #ad8ec9; $custom-dark: #000000;
JSON
{
"hex": "#8960b2",
"rgb": {
"r": 137,
"g": 96,
"b": 178
},
"hsl": {
"h": 270,
"s": 34.746,
"l": 53.725
},
"oklch": {
"l": 0.56636,
"c": 0.12904,
"h": 305.7
},
"luminance": 0.16898
}Semantic roles & 50–950 ramp
primary
#8960B2
secondary
#B7C8A5
accent
#CB5D94
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#100C13
muted
#7F7D82