#956ABE#956ABE
#956ABE is a mid, vivid violet. Relative luminance 0.204; OKLCH L 60.3% C 0.131 H 306.5°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).
Color values
| HEX | #956ABE |
|---|---|
| RGB | rgb(149, 106, 190) |
| HSL | hsl(271, 39%, 58%) |
| HSV | hsv(271, 44%, 75%) |
| CMYK | cmyk(21.6%, 44.2%, 0%, 25.5%) |
| CIE-LAB | lab(52.30, 33.62, -37.79) |
| CIE-LCH | lch(52.30, 50.58, 311.66°) |
| OKLab | oklab(60.25% 0.0779 -0.1053) |
| OKLCH | oklch(60.25% 0.131 306.5) |
| XYZ | xyz(26.8409, 20.4155, 51.2318) |
| Luminance | 0.2041 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lilac
#966EBD
ΔE00 1.35
Amethyst
#9B5FC0
ΔE00 3.47
Deep Lavender
#8D5EB7
ΔE00 4.08
Soft Purple
#A66FB5
ΔE00 5.45
Mediumpurple
#9370DB
ΔE00 5.67
Dark Lilac
#9C6DA5
ΔE00 6.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#956ABE #93BE6A
analogous
#6B6ABE #956ABE #BE6ABD
triadic
#956ABE #BE956A #6ABE95
tetradic
#956ABE #BE6B6A #93BE6A #6ABDBE
square
#956ABE #BE6B6A #93BE6A #6ABDBE
split-complementary
#956ABE #BDBE6A #6ABE6B
monochromatic
#583579 #7647A3 #956ABE #B395D1 #D2BFE3
Accessibility & contrast
On white
4.13
#956ABE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.08
#956ABE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #956ABE
5.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##956ABE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##956ABE | 1.00 | 4.13 | 5.08 | 5.08 |
| #FFFFFF | 4.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#567BC1
Deuteranopia (green-blind)
#607DBC
Tritanopia (blue-blind)
#8F788B
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #956abe; /* rgb */ color: rgb(149, 106, 190); /* oklch */ color: oklch(60.3% 0.131 306.5);
Tailwind
colors: {
custom: {
50: '#b695d2',
500: '#956abe',
950: '#000000',
},
}SCSS
$custom: #956abe; $custom-light: #b695d2; $custom-dark: #000000;
JSON
{
"hex": "#956abe",
"rgb": {
"r": 149,
"g": 106,
"b": 190
},
"hsl": {
"h": 270.714,
"s": 39.252,
"l": 58.039
},
"oklch": {
"l": 0.6025,
"c": 0.13098,
"h": 306.5
},
"luminance": 0.20415
}Semantic roles & 50–950 ramp
primary
#956ABE
secondary
#C1D3B1
accent
#CF5992
background
#FBF9FC
surface
#F6F2F9
border
#D0CCD2
text
#110D14
muted
#807E82