#956CF7#956CF7
#956CF7 is a light, vivid violet. Relative luminance 0.238; OKLCH L 64.0% C 0.199 H 293.6°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).
Color values
| HEX | #956CF7 |
|---|---|
| RGB | rgb(149, 108, 247) |
| HSL | hsl(258, 90%, 70%) |
| HSV | hsv(258, 56%, 97%) |
| CMYK | cmyk(39.7%, 56.3%, 0%, 3.1%) |
| CIE-LAB | lab(55.92, 46.82, -64.23) |
| CIE-LCH | lch(55.92, 79.48, 306.09°) |
| OKLab | oklab(63.96% 0.0797 -0.1826) |
| OKLCH | oklch(63.96% 0.199 293.6) |
| XYZ | xyz(34.5410, 23.8292, 90.7573) |
| Luminance | 0.2383 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 4.27
Mediumslateblue
#7B68EE
ΔE00 4.84
Lighter Purple
#A55AF4
ΔE00 5.05
Light Urple
#B36FF6
ΔE00 5.66
Periwinkle (survey)
#8E82FE
ΔE00 6.58
Purpley
#8756E4
ΔE00 7.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#956CF7 #CEF76C
analogous
#6C89F7 #956CF7 #DB6CF7
triadic
#956CF7 #F7956C #6CF795
tetradic
#956CF7 #F76C89 #CEF76C #6CF7DB
square
#956CF7 #F76C89 #CEF76C #6CF7DB
split-complementary
#956CF7 #F7DB6C #89F76C
monochromatic
#4A0CDD #6B32F4 #956CF7 #BFA6FA #E9E0FD
Accessibility & contrast
On white
3.64
#956CF7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.77
#956CF7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #956CF7
5.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##956CF7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##956CF7 | 1.00 | 3.64 | 5.77 | 5.77 |
| #FFFFFF | 3.64 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E88FC
Deuteranopia (green-blind)
#2E84F4
Tritanopia (blue-blind)
#7B8AA7
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #956cf7; /* rgb */ color: rgb(149, 108, 247); /* oklch */ color: oklch(64.0% 0.199 293.6);
Tailwind
colors: {
custom: {
50: '#b997fb',
500: '#956cf7',
950: '#000000',
},
}SCSS
$custom: #956cf7; $custom-light: #b997fb; $custom-dark: #000000;
JSON
{
"hex": "#956cf7",
"rgb": {
"r": 149,
"g": 108,
"b": 247
},
"hsl": {
"h": 257.698,
"s": 89.677,
"l": 69.608
},
"oklch": {
"l": 0.6396,
"c": 0.19928,
"h": 293.6
},
"luminance": 0.2383
}Semantic roles & 50–950 ramp
primary
#956CF7
secondary
#E8F3CC
accent
#E600A2
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120E17
muted
#817E85