#956DCF#956DCF
#956DCF is a mid, vivid violet. Relative luminance 0.218; OKLCH L 61.7% C 0.148 H 301.0°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).
Color values
| HEX | #956DCF |
|---|---|
| RGB | rgb(149, 109, 207) |
| HSL | hsl(264, 51%, 62%) |
| HSV | hsv(264, 47%, 81%) |
| CMYK | cmyk(28%, 47.3%, 0%, 18.8%) |
| CIE-LAB | lab(53.85, 36.01, -45.07) |
| CIE-LCH | lch(53.85, 57.69, 308.62°) |
| OKLab | oklab(61.69% 0.0761 -0.1265) |
| OKLCH | oklch(61.69% 0.148 301) |
| XYZ | xyz(29.1230, 21.8317, 61.6990) |
| Luminance | 0.2183 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 2.40
Deep Lilac
#966EBD
ΔE00 3.67
Amethyst
#9B5FC0
ΔE00 5.15
Deep Lavender
#8D5EB7
ΔE00 6.06
Lighter Purple
#A55AF4
ΔE00 7.19
Light Urple
#B36FF6
ΔE00 7.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#956DCF #A7CF6D
analogous
#6D76CF #956DCF #C66DCF
triadic
#956DCF #CF956D #6DCF95
tetradic
#956DCF #CF6D76 #A7CF6D #6DCFC6
square
#956DCF #CF6D76 #A7CF6D #6DCFC6
split-complementary
#956DCF #CFC66D #76CF6D
monochromatic
#583092 #743FC0 #956DCF #B69BDE #D8C9ED
Accessibility & contrast
On white
3.91
#956DCF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.37
#956DCF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #956DCF
5.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##956DCF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##956DCF | 1.00 | 3.91 | 5.37 | 5.37 |
| #FFFFFF | 3.91 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F80D2
Deuteranopia (green-blind)
#5980CD
Tritanopia (blue-blind)
#8A7F94
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #956dcf; /* rgb */ color: rgb(149, 109, 207); /* oklch */ color: oklch(61.7% 0.148 301.0);
Tailwind
colors: {
custom: {
50: '#b697de',
500: '#956dcf',
950: '#000000',
},
}SCSS
$custom: #956dcf; $custom-light: #b697de; $custom-dark: #000000;
JSON
{
"hex": "#956dcf",
"rgb": {
"r": 149,
"g": 109,
"b": 207
},
"hsl": {
"h": 264.49,
"s": 50.515,
"l": 61.961
},
"oklch": {
"l": 0.61687,
"c": 0.14762,
"h": 301
},
"luminance": 0.21832
}Semantic roles & 50–950 ramp
primary
#956DCF
secondary
#CFDEBA
accent
#BE2881
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#110D15
muted
#807E83