#956DAF#956DAF
#956DAF is a mid, moderate violet. Relative luminance 0.204; OKLCH L 60.0% C 0.107 H 311.3°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).
Color values
| HEX | #956DAF |
|---|---|
| RGB | rgb(149, 109, 175) |
| HSL | hsl(276, 29%, 56%) |
| HSV | hsv(276, 38%, 69%) |
| CMYK | cmyk(14.9%, 37.7%, 0%, 31.4%) |
| CIE-LAB | lab(52.31, 28.45, -29.12) |
| CIE-LCH | lch(52.31, 40.71, 314.34°) |
| OKLab | oklab(60.03% 0.0705 -0.0803) |
| OKLCH | oklch(60.03% 0.107 311.3) |
| XYZ | xyz(25.5996, 20.4224, 43.1425) |
| Luminance | 0.2042 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lilac
#966EBD
ΔE00 3.01
Dark Lilac
#9C6DA5
ΔE00 3.55
Soft Purple
#A66FB5
ΔE00 3.80
Dark Lavender
#856798
ΔE00 5.56
Faded Purple
#916E99
ΔE00 5.67
Amethyst
#9B5FC0
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#956DAF #87AF6D
analogous
#746DAF #956DAF #AF6DA8
triadic
#956DAF #AF956D #6DAF95
tetradic
#956DAF #AF746D #87AF6D #6DA8AF
square
#956DAF #AF746D #87AF6D #6DA8AF
split-complementary
#956DAF #A8AF6D #6DAF74
monochromatic
#563968 #764F90 #956DAF #B295C5 #CEBCDA
Accessibility & contrast
On white
4.13
#956DAF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.08
#956DAF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #956DAF
5.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##956DAF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##956DAF | 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)
#617BB2
Deuteranopia (green-blind)
#6A7EAD
Tritanopia (blue-blind)
#927686
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #956daf; /* rgb */ color: rgb(149, 109, 175); /* oklch */ color: oklch(60.0% 0.107 311.3);
Tailwind
colors: {
custom: {
50: '#b597c7',
500: '#956daf',
950: '#000000',
},
}SCSS
$custom: #956daf; $custom-light: #b597c7; $custom-dark: #000000;
JSON
{
"hex": "#956daf",
"rgb": {
"r": 149,
"g": 109,
"b": 175
},
"hsl": {
"h": 276.364,
"s": 29.204,
"l": 55.686
},
"oklch": {
"l": 0.60029,
"c": 0.10687,
"h": 311.3
},
"luminance": 0.20422
}Semantic roles & 50–950 ramp
primary
#956DAF
secondary
#B9CAAE
accent
#C56289
background
#FBF9FC
surface
#F6F2F8
border
#D0CCD1
text
#110D13
muted
#807E82