#956BBF#956BBF
#956BBF is a mid, vivid violet. Relative luminance 0.207; OKLCH L 60.5% C 0.131 H 305.9°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).
Color values
| HEX | #956BBF |
|---|---|
| RGB | rgb(149, 107, 191) |
| HSL | hsl(270, 40%, 58%) |
| HSV | hsv(270, 44%, 75%) |
| CMYK | cmyk(22%, 44%, 0%, 25.1%) |
| CIE-LAB | lab(52.58, 33.29, -37.93) |
| CIE-LCH | lch(52.58, 50.46, 311.27°) |
| OKLab | oklab(60.48% 0.0766 -0.1057) |
| OKLCH | oklch(60.48% 0.131 305.9) |
| XYZ | xyz(27.0542, 20.6667, 51.8439) |
| Luminance | 0.2067 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lilac
#966EBD
ΔE00 1.15
Amethyst
#9B5FC0
ΔE00 3.75
Deep Lavender
#8D5EB7
ΔE00 4.38
Mediumpurple
#9370DB
ΔE00 5.43
Soft Purple
#A66FB5
ΔE00 5.49
Wisteria
#A87DC2
ΔE00 6.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#956BBF #95BF6B
analogous
#6B6BBF #956BBF #BF6BBF
triadic
#956BBF #BF956B #6BBF95
tetradic
#956BBF #BF6B6B #95BF6B #6BBFBF
square
#956BBF #BF6B6B #95BF6B #6BBFBF
split-complementary
#956BBF #BFBF6B #6BBF6B
monochromatic
#58357B #7647A5 #956BBF #B496D1 #D2C0E4
Accessibility & contrast
On white
4.09
#956BBF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.13
#956BBF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #956BBF
5.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##956BBF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##956BBF | 1.00 | 4.09 | 5.13 | 5.13 |
| #FFFFFF | 4.09 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#567CC2
Deuteranopia (green-blind)
#607EBD
Tritanopia (blue-blind)
#8F798C
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #956bbf; /* rgb */ color: rgb(149, 107, 191); /* oklch */ color: oklch(60.5% 0.131 305.9);
Tailwind
colors: {
custom: {
50: '#b696d2',
500: '#956bbf',
950: '#000000',
},
}SCSS
$custom: #956bbf; $custom-light: #b696d2; $custom-dark: #000000;
JSON
{
"hex": "#956bbf",
"rgb": {
"r": 149,
"g": 107,
"b": 191
},
"hsl": {
"h": 270,
"s": 39.623,
"l": 58.431
},
"oklch": {
"l": 0.60476,
"c": 0.13055,
"h": 305.9
},
"luminance": 0.20667
}Semantic roles & 50–950 ramp
primary
#956BBF
secondary
#C3D4B2
accent
#D05894
background
#FBF9FC
surface
#F6F2F9
border
#D0CCD2
text
#110D14
muted
#807E82