#956FE9#956FE9
#956FE9 is a light, vivid violet. Relative luminance 0.236; OKLCH L 63.5% C 0.178 H 295.2°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).
Color values
| HEX | #956FE9 |
|---|---|
| RGB | rgb(149, 111, 233) |
| HSL | hsl(259, 73%, 67%) |
| HSV | hsv(259, 52%, 91%) |
| CMYK | cmyk(36.1%, 52.4%, 0%, 8.6%) |
| CIE-LAB | lab(55.73, 41.48, -56.74) |
| CIE-LCH | lch(55.73, 70.29, 306.17°) |
| OKLab | oklab(63.55% 0.0758 -0.1606) |
| OKLCH | oklch(63.55% 0.178 295.2) |
| XYZ | xyz(32.7831, 23.6410, 79.9110) |
| Luminance | 0.2364 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 2.18
Mediumslateblue
#7B68EE
ΔE00 5.27
Light Urple
#B36FF6
ΔE00 5.57
Lighter Purple
#A55AF4
ΔE00 5.67
Periwinkle (survey)
#8E82FE
ΔE00 6.70
Purpley
#8756E4
ΔE00 7.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#956FE9 #C3E96F
analogous
#6F86E9 #956FE9 #D26FE9
triadic
#956FE9 #E9956F #6FE995
tetradic
#956FE9 #E96F86 #C3E96F #6FE9D2
square
#956FE9 #E96F86 #C3E96F #6FE9D2
split-complementary
#956FE9 #E9D26F #86E96F
monochromatic
#501DC0 #6E3AE1 #956FE9 #BCA4F1 #E3D9F9
Accessibility & contrast
On white
3.67
#956FE9 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.73
#956FE9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #956FE9
5.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##956FE9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##956FE9 | 1.00 | 3.67 | 5.73 | 5.73 |
| #FFFFFF | 3.67 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D86ED
Deuteranopia (green-blind)
#4684E6
Tritanopia (blue-blind)
#8188A2
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #956fe9; /* rgb */ color: rgb(149, 111, 233); /* oklch */ color: oklch(63.5% 0.178 295.2);
Tailwind
colors: {
custom: {
50: '#b899f1',
500: '#956fe9',
950: '#000000',
},
}SCSS
$custom: #956fe9; $custom-light: #b899f1; $custom-dark: #000000;
JSON
{
"hex": "#956fe9",
"rgb": {
"r": 149,
"g": 111,
"b": 233
},
"hsl": {
"h": 258.689,
"s": 73.494,
"l": 67.451
},
"oklch": {
"l": 0.6355,
"c": 0.1776,
"h": 295.2
},
"luminance": 0.23642
}Semantic roles & 50–950 ramp
primary
#956FE9
secondary
#E1EDC7
accent
#D61098
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#120E17
muted
#817E85