#956CF6#956CF6
#956CF6 is a light, vivid violet. Relative luminance 0.238; OKLCH L 63.9% C 0.198 H 293.7°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).
Color values
| HEX | #956CF6 |
|---|---|
| RGB | rgb(149, 108, 246) |
| HSL | hsl(258, 88%, 69%) |
| HSV | hsv(258, 56%, 96%) |
| CMYK | cmyk(39.4%, 56.1%, 0%, 3.5%) |
| CIE-LAB | lab(55.85, 46.56, -63.77) |
| CIE-LCH | lch(55.85, 78.96, 306.13°) |
| OKLab | oklab(63.89% 0.0797 -0.1813) |
| OKLCH | oklch(63.89% 0.198 293.7) |
| XYZ | xyz(34.3871, 23.7677, 89.9468) |
| Luminance | 0.2377 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 4.14
Mediumslateblue
#7B68EE
ΔE00 4.83
Lighter Purple
#A55AF4
ΔE00 5.02
Light Urple
#B36FF6
ΔE00 5.64
Periwinkle (survey)
#8E82FE
ΔE00 6.62
Purpley
#8756E4
ΔE00 7.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#956CF6 #CDF66C
analogous
#6C88F6 #956CF6 #DA6CF6
triadic
#956CF6 #F6956C #6CF695
tetradic
#956CF6 #F66C88 #CDF66C #6CF6DA
square
#956CF6 #F66C88 #CDF66C #6CF6DA
split-complementary
#956CF6 #F6DA6C #88F66C
monochromatic
#4A0DDA #6B32F2 #956CF6 #BFA6FA #E8DFFD
Accessibility & contrast
On white
3.65
#956CF6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.75
#956CF6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #956CF6
5.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##956CF6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##956CF6 | 1.00 | 3.65 | 5.75 | 5.75 |
| #FFFFFF | 3.65 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2087FB
Deuteranopia (green-blind)
#3083F3
Tritanopia (blue-blind)
#7C89A7
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #956cf6; /* rgb */ color: rgb(149, 108, 246); /* oklch */ color: oklch(63.9% 0.198 293.7);
Tailwind
colors: {
custom: {
50: '#b997fa',
500: '#956cf6',
950: '#000000',
},
}SCSS
$custom: #956cf6; $custom-light: #b997fa; $custom-dark: #000000;
JSON
{
"hex": "#956cf6",
"rgb": {
"r": 149,
"g": 108,
"b": 246
},
"hsl": {
"h": 257.826,
"s": 88.462,
"l": 69.412
},
"oklch": {
"l": 0.63894,
"c": 0.19805,
"h": 293.7
},
"luminance": 0.23769
}Semantic roles & 50–950 ramp
primary
#956CF6
secondary
#E7F3CB
accent
#E500A1
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120E17
muted
#817E85