#956BCE#956BCE
#956BCE is a mid, vivid violet. Relative luminance 0.214; OKLCH L 61.3% C 0.150 H 301.7°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).
Color values
| HEX | #956BCE |
|---|---|
| RGB | rgb(149, 107, 206) |
| HSL | hsl(265, 50%, 61%) |
| HSV | hsv(265, 48%, 81%) |
| CMYK | cmyk(27.7%, 48.1%, 0%, 19.2%) |
| CIE-LAB | lab(53.34, 36.90, -45.31) |
| CIE-LCH | lch(53.34, 58.43, 309.16°) |
| OKLab | oklab(61.29% 0.0787 -0.1272) |
| OKLCH | oklch(61.29% 0.15 301.7) |
| XYZ | xyz(28.7902, 21.3611, 60.9869) |
| Luminance | 0.2136 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 2.80
Deep Lilac
#966EBD
ΔE00 3.64
Amethyst
#9B5FC0
ΔE00 4.60
Deep Lavender
#8D5EB7
ΔE00 5.53
Lighter Purple
#A55AF4
ΔE00 6.97
Lightish Purple
#A552E6
ΔE00 7.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#956BCE #A4CE6B
analogous
#6B73CE #956BCE #C76BCE
triadic
#956BCE #CE956B #6BCE95
tetradic
#956BCE #CE6B73 #A4CE6B #6BCEC7
square
#956BCE #CE6B73 #A4CE6B #6BCEC7
split-complementary
#956BCE #CEC76B #73CE6B
monochromatic
#582F8F #743FBD #956BCE #B699DD #D7C7EC
Accessibility & contrast
On white
3.98
#956BCE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.27
#956BCE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #956BCE
5.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##956BCE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##956BCE | 1.00 | 3.98 | 5.27 | 5.27 |
| #FFFFFF | 3.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D7FD2
Deuteranopia (green-blind)
#577FCC
Tritanopia (blue-blind)
#8A7D93
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #956bce; /* rgb */ color: rgb(149, 107, 206); /* oklch */ color: oklch(61.3% 0.150 301.7);
Tailwind
colors: {
custom: {
50: '#b696dd',
500: '#956bce',
950: '#000000',
},
}SCSS
$custom: #956bce; $custom-light: #b696dd; $custom-dark: #000000;
JSON
{
"hex": "#956bce",
"rgb": {
"r": 149,
"g": 107,
"b": 206
},
"hsl": {
"h": 265.455,
"s": 50.254,
"l": 61.373
},
"oklch": {
"l": 0.61292,
"c": 0.14956,
"h": 301.7
},
"luminance": 0.21361
}Semantic roles & 50–950 ramp
primary
#956BCE
secondary
#CDDDB8
accent
#BE287E
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#110D15
muted
#807E83