#956AF0#956AF0
#956AF0 is a light, vivid violet. Relative luminance 0.230; OKLCH L 63.2% C 0.193 H 295.1°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).
Color values
| HEX | #956AF0 |
|---|---|
| RGB | rgb(149, 106, 240) |
| HSL | hsl(259, 82%, 68%) |
| HSV | hsv(259, 56%, 94%) |
| CMYK | cmyk(37.9%, 55.8%, 0%, 5.9%) |
| CIE-LAB | lab(55.06, 46.09, -61.71) |
| CIE-LCH | lch(55.06, 77.03, 306.76°) |
| OKLab | oklab(63.19% 0.082 -0.1752) |
| OKLCH | oklch(63.19% 0.193 295.1) |
| XYZ | xyz(33.2725, 22.9882, 85.1053) |
| Luminance | 0.2299 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 3.54
Lighter Purple
#A55AF4
ΔE00 4.48
Mediumslateblue
#7B68EE
ΔE00 4.75
Light Urple
#B36FF6
ΔE00 5.68
Purpley
#8756E4
ΔE00 6.37
Lightish Purple
#A552E6
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#956AF0 #C5F06A
analogous
#6A82F0 #956AF0 #D86AF0
triadic
#956AF0 #F0956A #6AF095
tetradic
#956AF0 #F06A82 #C5F06A #6AF0D8
square
#956AF0 #F06A82 #C5F06A #6AF0D8
split-complementary
#956AF0 #F0D86A #82F06A
monochromatic
#4F14CB #6D32EA #956AF0 #BDA2F6 #E4D9FB
Accessibility & contrast
On white
3.75
#956AF0 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.60
#956AF0 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #956AF0
5.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##956AF0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##956AF0 | 1.00 | 3.75 | 5.60 | 5.60 |
| #FFFFFF | 3.75 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2685F4
Deuteranopia (green-blind)
#3582ED
Tritanopia (blue-blind)
#7F86A3
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #956af0; /* rgb */ color: rgb(149, 106, 240); /* oklch */ color: oklch(63.2% 0.193 295.1);
Tailwind
colors: {
custom: {
50: '#b996f6',
500: '#956af0',
950: '#000000',
},
}SCSS
$custom: #956af0; $custom-light: #b996f6; $custom-dark: #000000;
JSON
{
"hex": "#956af0",
"rgb": {
"r": 149,
"g": 106,
"b": 240
},
"hsl": {
"h": 259.254,
"s": 81.707,
"l": 67.843
},
"oklch": {
"l": 0.63191,
"c": 0.19349,
"h": 295.1
},
"luminance": 0.22989
}Semantic roles & 50–950 ramp
primary
#956AF0
secondary
#E2F0C6
accent
#DE0799
background
#FBF9FF
surface
#F7F2FE
border
#D0CCD6
text
#120D17
muted
#817E85