#956ECF#956ECF
#956ECF is a mid, vivid violet. Relative luminance 0.220; OKLCH L 61.9% C 0.146 H 300.8°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).
Color values
| HEX | #956ECF |
|---|---|
| RGB | rgb(149, 110, 207) |
| HSL | hsl(264, 50%, 62%) |
| HSV | hsv(264, 47%, 81%) |
| CMYK | cmyk(28%, 46.9%, 0%, 18.8%) |
| CIE-LAB | lab(54.08, 35.44, -44.71) |
| CIE-LCH | lch(54.08, 57.06, 308.40°) |
| OKLab | oklab(61.86% 0.0747 -0.1255) |
| OKLCH | oklch(61.86% 0.146 300.8) |
| XYZ | xyz(29.2303, 22.0463, 61.7348) |
| Luminance | 0.2205 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 2.32
Deep Lilac
#966EBD
ΔE00 3.63
Amethyst
#9B5FC0
ΔE00 5.38
Deep Lavender
#8D5EB7
ΔE00 6.28
Light Urple
#B36FF6
ΔE00 7.33
Lighter Purple
#A55AF4
ΔE00 7.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#956ECF #A8CF6E
analogous
#6E78CF #956ECF #C66ECF
triadic
#956ECF #CF956E #6ECF95
tetradic
#956ECF #CF6E78 #A8CF6E #6ECFC6
square
#956ECF #CF6E78 #A8CF6E #6ECFC6
split-complementary
#956ECF #CFC66E #78CF6E
monochromatic
#583092 #7340C0 #956ECF #B79CDE #D8CAED
Accessibility & contrast
On white
3.88
#956ECF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.41
#956ECF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #956ECF
5.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##956ECF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##956ECF | 1.00 | 3.88 | 5.41 | 5.41 |
| #FFFFFF | 3.88 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.41 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.41 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5181D2
Deuteranopia (green-blind)
#5A81CD
Tritanopia (blue-blind)
#8A7F95
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #956ecf; /* rgb */ color: rgb(149, 110, 207); /* oklch */ color: oklch(61.9% 0.146 300.8);
Tailwind
colors: {
custom: {
50: '#b698de',
500: '#956ecf',
950: '#000000',
},
}SCSS
$custom: #956ecf; $custom-light: #b698de; $custom-dark: #000000;
JSON
{
"hex": "#956ecf",
"rgb": {
"r": 149,
"g": 110,
"b": 207
},
"hsl": {
"h": 264.124,
"s": 50.259,
"l": 62.157
},
"oklch": {
"l": 0.61858,
"c": 0.14602,
"h": 300.8
},
"luminance": 0.22046
}Semantic roles & 50–950 ramp
primary
#956ECF
secondary
#D0DEBB
accent
#BE2881
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#110E15
muted
#807E83