#956AF2#956AF2
#956AF2 is a light, vivid violet. Relative luminance 0.231; OKLCH L 63.3% C 0.196 H 294.7°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).
Color values
| HEX | #956AF2 |
|---|---|
| RGB | rgb(149, 106, 242) |
| HSL | hsl(259, 84%, 68%) |
| HSV | hsv(259, 56%, 95%) |
| CMYK | cmyk(38.4%, 56.2%, 0%, 5.1%) |
| CIE-LAB | lab(55.18, 46.61, -62.63) |
| CIE-LCH | lch(55.18, 78.07, 306.66°) |
| OKLab | oklab(63.32% 0.082 -0.1779) |
| OKLCH | oklch(63.32% 0.196 294.7) |
| XYZ | xyz(33.5713, 23.1077, 86.6787) |
| Luminance | 0.2311 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 3.79
Lighter Purple
#A55AF4
ΔE00 4.50
Mediumslateblue
#7B68EE
ΔE00 4.73
Light Urple
#B36FF6
ΔE00 5.68
Purpley
#8756E4
ΔE00 6.46
Lightish Purple
#A552E6
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#956AF2 #C7F26A
analogous
#6A83F2 #956AF2 #D96AF2
triadic
#956AF2 #F2956A #6AF295
tetradic
#956AF2 #F26A83 #C7F26A #6AF2D9
square
#956AF2 #F26A83 #C7F26A #6AF2D9
split-complementary
#956AF2 #F2D96A #83F26A
monochromatic
#4E12CF #6D32ED #956AF2 #BDA2F7 #E5DBFC
Accessibility & contrast
On white
3.74
#956AF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.62
#956AF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #956AF2
5.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##956AF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##956AF2 | 1.00 | 3.74 | 5.62 | 5.62 |
| #FFFFFF | 3.74 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2185F7
Deuteranopia (green-blind)
#3282EF
Tritanopia (blue-blind)
#7E87A4
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #956af2; /* rgb */ color: rgb(149, 106, 242); /* oklch */ color: oklch(63.3% 0.196 294.7);
Tailwind
colors: {
custom: {
50: '#b996f7',
500: '#956af2',
950: '#000000',
},
}SCSS
$custom: #956af2; $custom-light: #b996f7; $custom-dark: #000000;
JSON
{
"hex": "#956af2",
"rgb": {
"r": 149,
"g": 106,
"b": 242
},
"hsl": {
"h": 258.971,
"s": 83.951,
"l": 68.235
},
"oklch": {
"l": 0.63321,
"c": 0.19594,
"h": 294.7
},
"luminance": 0.23108
}Semantic roles & 50–950 ramp
primary
#956AF2
secondary
#E3F1C7
accent
#E0059B
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120D17
muted
#817E85