#956CCD#956CCD
#956CCD is a mid, vivid violet. Relative luminance 0.215; OKLCH L 61.4% C 0.147 H 301.8°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).
Color values
| HEX | #956CCD |
|---|---|
| RGB | rgb(149, 108, 205) |
| HSL | hsl(265, 49%, 61%) |
| HSV | hsv(265, 47%, 80%) |
| CMYK | cmyk(27.3%, 47.3%, 0%, 19.6%) |
| CIE-LAB | lab(53.52, 36.09, -44.46) |
| CIE-LCH | lch(53.52, 57.27, 309.07°) |
| OKLab | oklab(61.41% 0.0772 -0.1247) |
| OKLCH | oklch(61.41% 0.147 301.8) |
| XYZ | xyz(28.7740, 21.5224, 60.3841) |
| Luminance | 0.2152 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 2.83
Deep Lilac
#966EBD
ΔE00 3.38
Amethyst
#9B5FC0
ΔE00 4.72
Deep Lavender
#8D5EB7
ΔE00 5.63
Lighter Purple
#A55AF4
ΔE00 7.27
Lightish Purple
#A552E6
ΔE00 7.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#956CCD #A4CD6C
analogous
#6C74CD #956CCD #C66CCD
triadic
#956CCD #CD956C #6CCD95
tetradic
#956CCD #CD6C74 #A4CD6C #6CCDC6
square
#956CCD #CD6C74 #A4CD6C #6CCDC6
split-complementary
#956CCD #CDC66C #74CD6C
monochromatic
#58308E #7440BC #956CCD #B69ADD #D7C7EC
Accessibility & contrast
On white
3.96
#956CCD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.30
#956CCD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #956CCD
5.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##956CCD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##956CCD | 1.00 | 3.96 | 5.30 | 5.30 |
| #FFFFFF | 3.96 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.30 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.30 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F7FD0
Deuteranopia (green-blind)
#597FCB
Tritanopia (blue-blind)
#8B7D93
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #956ccd; /* rgb */ color: rgb(149, 108, 205); /* oklch */ color: oklch(61.4% 0.147 301.8);
Tailwind
colors: {
custom: {
50: '#b697dd',
500: '#956ccd',
950: '#000000',
},
}SCSS
$custom: #956ccd; $custom-light: #b697dd; $custom-dark: #000000;
JSON
{
"hex": "#956ccd",
"rgb": {
"r": 149,
"g": 108,
"b": 205
},
"hsl": {
"h": 265.361,
"s": 49.239,
"l": 61.373
},
"oklch": {
"l": 0.61406,
"c": 0.14668,
"h": 301.8
},
"luminance": 0.21522
}Semantic roles & 50–950 ramp
primary
#956CCD
secondary
#CDDDB8
accent
#BD297E
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#110D15
muted
#807E83