#956FCA#956FCA
#956FCA is a mid, vivid violet. Relative luminance 0.220; OKLCH L 61.8% C 0.138 H 301.8°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).
Color values
| HEX | #956FCA |
|---|---|
| RGB | rgb(149, 111, 202) |
| HSL | hsl(265, 46%, 61%) |
| HSV | hsv(265, 45%, 79%) |
| CMYK | cmyk(26.2%, 45%, 0%, 20.8%) |
| CIE-LAB | lab(54.05, 33.64, -41.91) |
| CIE-LCH | lch(54.05, 53.74, 308.76°) |
| OKLab | oklab(61.76% 0.0727 -0.1173) |
| OKLCH | oklch(61.76% 0.138 301.8) |
| XYZ | xyz(28.7372, 22.0227, 58.6025) |
| Luminance | 0.2202 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lilac
#966EBD
ΔE00 2.69
Mediumpurple
#9370DB
ΔE00 3.20
Amethyst
#9B5FC0
ΔE00 5.24
Deep Lavender
#8D5EB7
ΔE00 6.05
Wisteria
#A87DC2
ΔE00 6.91
Soft Purple
#A66FB5
ΔE00 6.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#956FCA #A4CA6F
analogous
#6F77CA #956FCA #C36FCA
triadic
#956FCA #CA956F #6FCA95
tetradic
#956FCA #CA6F77 #A4CA6F #6FCAC3
square
#956FCA #CA6F77 #A4CA6F #6FCAC3
split-complementary
#956FCA #CAC36F #77CA6F
monochromatic
#58338B #7444B8 #956FCA #B69CDA #D7C8EB
Accessibility & contrast
On white
3.89
#956FCA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.40
#956FCA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #956FCA
5.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##956FCA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##956FCA | 1.00 | 3.89 | 5.40 | 5.40 |
| #FFFFFF | 3.89 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.40 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.40 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5681CD
Deuteranopia (green-blind)
#5E81C8
Tritanopia (blue-blind)
#8B7F93
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #956fca; /* rgb */ color: rgb(149, 111, 202); /* oklch */ color: oklch(61.8% 0.138 301.8);
Tailwind
colors: {
custom: {
50: '#b699da',
500: '#956fca',
950: '#000000',
},
}SCSS
$custom: #956fca; $custom-light: #b699da; $custom-dark: #000000;
JSON
{
"hex": "#956fca",
"rgb": {
"r": 149,
"g": 111,
"b": 202
},
"hsl": {
"h": 265.055,
"s": 46.193,
"l": 61.373
},
"oklch": {
"l": 0.61756,
"c": 0.13797,
"h": 301.8
},
"luminance": 0.22023
}Semantic roles & 50–950 ramp
primary
#956FCA
secondary
#CDDBB9
accent
#B92C7E
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#110E15
muted
#807E83