#956CF3#956CF3
#956CF3 is a light, vivid violet. Relative luminance 0.236; OKLCH L 63.7% C 0.194 H 294.2°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).
Color values
| HEX | #956CF3 |
|---|---|
| RGB | rgb(149, 108, 243) |
| HSL | hsl(258, 85%, 69%) |
| HSV | hsv(258, 56%, 95%) |
| CMYK | cmyk(38.7%, 55.6%, 0%, 4.7%) |
| CIE-LAB | lab(55.67, 45.77, -62.40) |
| CIE-LCH | lch(55.67, 77.39, 306.26°) |
| OKLab | oklab(63.7% 0.0797 -0.1773) |
| OKLCH | oklch(63.7% 0.194 294.2) |
| XYZ | xyz(33.9304, 23.5850, 87.5413) |
| Luminance | 0.2359 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 3.75
Mediumslateblue
#7B68EE
ΔE00 4.81
Lighter Purple
#A55AF4
ΔE00 4.95
Light Urple
#B36FF6
ΔE00 5.59
Periwinkle (survey)
#8E82FE
ΔE00 6.76
Purpley
#8756E4
ΔE00 6.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#956CF3 #CAF36C
analogous
#6C87F3 #956CF3 #D96CF3
triadic
#956CF3 #F3956C #6CF395
tetradic
#956CF3 #F36C87 #CAF36C #6CF3D9
square
#956CF3 #F36C87 #CAF36C #6CF3D9
split-complementary
#956CF3 #F3D96C #87F36C
monochromatic
#4C11D3 #6C33EE #956CF3 #BEA5F8 #E7DDFC
Accessibility & contrast
On white
3.67
#956CF3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.72
#956CF3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #956CF3
5.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##956CF3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##956CF3 | 1.00 | 3.67 | 5.72 | 5.72 |
| #FFFFFF | 3.67 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2787F8
Deuteranopia (green-blind)
#3583F0
Tritanopia (blue-blind)
#7D89A5
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #956cf3; /* rgb */ color: rgb(149, 108, 243); /* oklch */ color: oklch(63.7% 0.194 294.2);
Tailwind
colors: {
custom: {
50: '#b997f8',
500: '#956cf3',
950: '#000000',
},
}SCSS
$custom: #956cf3; $custom-light: #b997f8; $custom-dark: #000000;
JSON
{
"hex": "#956cf3",
"rgb": {
"r": 149,
"g": 108,
"b": 243
},
"hsl": {
"h": 258.222,
"s": 84.906,
"l": 68.824
},
"oklch": {
"l": 0.63699,
"c": 0.19436,
"h": 294.2
},
"luminance": 0.23586
}Semantic roles & 50–950 ramp
primary
#956CF3
secondary
#E5F1C9
accent
#E1049E
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120E17
muted
#817E85