#956CF2#956CF2
#956CF2 is a light, vivid violet. Relative luminance 0.235; OKLCH L 63.6% C 0.193 H 294.4°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).
Color values
| HEX | #956CF2 |
|---|---|
| RGB | rgb(149, 108, 242) |
| HSL | hsl(258, 84%, 69%) |
| HSV | hsv(258, 55%, 95%) |
| CMYK | cmyk(38.4%, 55.4%, 0%, 5.1%) |
| CIE-LAB | lab(55.61, 45.51, -61.95) |
| CIE-LCH | lch(55.61, 76.87, 306.30°) |
| OKLab | oklab(63.64% 0.0797 -0.1759) |
| OKLCH | oklch(63.64% 0.193 294.4) |
| XYZ | xyz(33.7798, 23.5247, 86.7482) |
| Luminance | 0.2352 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 3.61
Mediumslateblue
#7B68EE
ΔE00 4.81
Lighter Purple
#A55AF4
ΔE00 4.93
Light Urple
#B36FF6
ΔE00 5.58
Periwinkle (survey)
#8E82FE
ΔE00 6.81
Purpley
#8756E4
ΔE00 6.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#956CF2 #C9F26C
analogous
#6C86F2 #956CF2 #D86CF2
triadic
#956CF2 #F2956C #6CF295
tetradic
#956CF2 #F26C86 #C9F26C #6CF2D8
square
#956CF2 #F26C86 #C9F26C #6CF2D8
split-complementary
#956CF2 #F2D86C #86F26C
monochromatic
#4D12D1 #6C34ED #956CF2 #BEA4F7 #E6DCFC
Accessibility & contrast
On white
3.68
#956CF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.71
#956CF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #956CF2
5.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##956CF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##956CF2 | 1.00 | 3.68 | 5.71 | 5.71 |
| #FFFFFF | 3.68 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2987F6
Deuteranopia (green-blind)
#3683EF
Tritanopia (blue-blind)
#7E88A5
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #956cf2; /* rgb */ color: rgb(149, 108, 242); /* oklch */ color: oklch(63.6% 0.193 294.4);
Tailwind
colors: {
custom: {
50: '#b997f7',
500: '#956cf2',
950: '#000000',
},
}SCSS
$custom: #956cf2; $custom-light: #b997f7; $custom-dark: #000000;
JSON
{
"hex": "#956cf2",
"rgb": {
"r": 149,
"g": 108,
"b": 242
},
"hsl": {
"h": 258.358,
"s": 83.75,
"l": 68.627
},
"oklch": {
"l": 0.63635,
"c": 0.19313,
"h": 294.4
},
"luminance": 0.23525
}Semantic roles & 50–950 ramp
primary
#956CF2
secondary
#E5F1C9
accent
#E0059D
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120E17
muted
#817E85