#956BCD#956BCD
#956BCD is a mid, vivid violet. Relative luminance 0.213; OKLCH L 61.2% C 0.148 H 302.0°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).
Color values
| HEX | #956BCD |
|---|---|
| RGB | rgb(149, 107, 205) |
| HSL | hsl(266, 49%, 61%) |
| HSV | hsv(266, 48%, 80%) |
| CMYK | cmyk(27.3%, 47.8%, 0%, 19.6%) |
| CIE-LAB | lab(53.29, 36.66, -44.82) |
| CIE-LCH | lch(53.29, 57.90, 309.28°) |
| OKLab | oklab(61.24% 0.0786 -0.1258) |
| OKLCH | oklch(61.24% 0.148 302) |
| XYZ | xyz(28.6691, 21.3127, 60.3492) |
| Luminance | 0.2131 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 2.95
Deep Lilac
#966EBD
ΔE00 3.47
Amethyst
#9B5FC0
ΔE00 4.49
Deep Lavender
#8D5EB7
ΔE00 5.42
Lighter Purple
#A55AF4
ΔE00 7.10
Lightish Purple
#A552E6
ΔE00 7.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#956BCD #A3CD6B
analogous
#6B72CD #956BCD #C66BCD
triadic
#956BCD #CD956B #6BCD95
tetradic
#956BCD #CD6B72 #A3CD6B #6BCDC6
square
#956BCD #CD6B72 #A3CD6B #6BCDC6
split-complementary
#956BCD #CDC66B #72CD6B
monochromatic
#58308E #753FBB #956BCD #B699DC #D7C6EC
Accessibility & contrast
On white
3.99
#956BCD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.26
#956BCD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #956BCD
5.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##956BCD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##956BCD | 1.00 | 3.99 | 5.26 | 5.26 |
| #FFFFFF | 3.99 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E7FD0
Deuteranopia (green-blind)
#587FCB
Tritanopia (blue-blind)
#8B7D92
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #956bcd; /* rgb */ color: rgb(149, 107, 205); /* oklch */ color: oklch(61.2% 0.148 302.0);
Tailwind
colors: {
custom: {
50: '#b696dd',
500: '#956bcd',
950: '#000000',
},
}SCSS
$custom: #956bcd; $custom-light: #b696dd; $custom-dark: #000000;
JSON
{
"hex": "#956bcd",
"rgb": {
"r": 149,
"g": 107,
"b": 205
},
"hsl": {
"h": 265.714,
"s": 49.495,
"l": 61.176
},
"oklch": {
"l": 0.61236,
"c": 0.14829,
"h": 302
},
"luminance": 0.21313
}Semantic roles & 50–950 ramp
primary
#956BCD
secondary
#CDDCB8
accent
#BD297D
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#110D15
muted
#807E83