#956BB3#956BB3
#956BB3 is a mid, moderate violet. Relative luminance 0.202; OKLCH L 59.9% C 0.115 H 310.1°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).
Color values
| HEX | #956BB3 |
|---|---|
| RGB | rgb(149, 107, 179) |
| HSL | hsl(275, 32%, 56%) |
| HSV | hsv(275, 40%, 70%) |
| CMYK | cmyk(16.8%, 40.2%, 0%, 29.8%) |
| CIE-LAB | lab(52.02, 30.51, -31.89) |
| CIE-LCH | lch(52.02, 44.13, 313.73°) |
| OKLab | oklab(59.87% 0.0743 -0.0883) |
| OKLCH | oklch(59.87% 0.115 310.1) |
| XYZ | xyz(25.7873, 20.1600, 45.1719) |
| Luminance | 0.2016 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lilac
#966EBD
ΔE00 2.14
Soft Purple
#A66FB5
ΔE00 4.12
Dark Lilac
#9C6DA5
ΔE00 4.56
Amethyst
#9B5FC0
ΔE00 4.70
Deep Lavender
#8D5EB7
ΔE00 4.90
Dark Lavender
#856798
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#956BB3 #89B36B
analogous
#716BB3 #956BB3 #B36BAD
triadic
#956BB3 #B3956B #6BB395
tetradic
#956BB3 #B3716B #89B36B #6BADB3
square
#956BB3 #B3716B #89B36B #6BADB3
split-complementary
#956BB3 #ADB36B #6BB371
monochromatic
#56386C #764C95 #956BB3 #B293C8 #CFBCDD
Accessibility & contrast
On white
4.17
#956BB3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.03
#956BB3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #956BB3
5.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##956BB3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##956BB3 | 1.00 | 4.17 | 5.03 | 5.03 |
| #FFFFFF | 4.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C7AB6
Deuteranopia (green-blind)
#667DB1
Tritanopia (blue-blind)
#927686
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #956bb3; /* rgb */ color: rgb(149, 107, 179); /* oklch */ color: oklch(59.9% 0.115 310.1);
Tailwind
colors: {
custom: {
50: '#b596ca',
500: '#956bb3',
950: '#000000',
},
}SCSS
$custom: #956bb3; $custom-light: #b596ca; $custom-dark: #000000;
JSON
{
"hex": "#956bb3",
"rgb": {
"r": 149,
"g": 107,
"b": 179
},
"hsl": {
"h": 275,
"s": 32.143,
"l": 56.078
},
"oklch": {
"l": 0.59865,
"c": 0.11543,
"h": 310.1
},
"luminance": 0.2016
}Semantic roles & 50–950 ramp
primary
#956BB3
secondary
#BACCAE
accent
#C85F8B
background
#FBF9FC
surface
#F6F2F8
border
#D0CCD1
text
#110D13
muted
#807E82