#962C96#962C96
#962C96 is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.6% C 0.186 H 327.9°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).
Color values
| HEX | #962C96 |
|---|---|
| RGB | rgb(150, 44, 150) |
| HSL | hsl(300, 55%, 38%) |
| HSV | hsv(300, 71%, 59%) |
| CMYK | cmyk(0%, 70.7%, 0%, 41.2%) |
| CIE-LAB | lab(38.71, 56.47, -35.64) |
| CIE-LCH | lch(38.71, 66.77, 327.74°) |
| OKLab | oklab(49.6% 0.1575 -0.0986) |
| OKLCH | oklch(49.6% 0.186 327.9) |
| XYZ | xyz(18.9831, 10.4887, 29.8729) |
| Luminance | 0.1049 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 1.40
Barney Purple
#A00498
ΔE00 3.11
Medium Purple
#9E43A2
ΔE00 5.09
Darkmagenta
#8B008B
ΔE00 5.33
Ugly Purple
#A442A0
ΔE00 5.58
Purply
#983FB2
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#962C96 #2C962C
analogous
#612C96 #962C96 #962C61
triadic
#962C96 #96962C #2C9696
tetradic
#962C96 #96612C #2C962C #2C6196
square
#962C96 #96612C #2C962C #2C6196
split-complementary
#962C96 #61962C #2C9661
monochromatic
#371037 #671E67 #962C96 #C53AC5 #D369D3
Accessibility & contrast
On white
6.78
#962C96 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.10
#962C96 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #962C96
6.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##962C96 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##962C96 | 1.00 | 6.78 | 3.10 | 6.78 |
| #FFFFFF | 6.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1A5299
Deuteranopia (green-blind)
#486093
Tritanopia (blue-blind)
#9B3C5E
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #962c96; /* rgb */ color: rgb(150, 44, 150); /* oklch */ color: oklch(49.6% 0.186 327.9);
Tailwind
colors: {
custom: {
50: '#b86fb5',
500: '#962c96',
950: '#000000',
},
}SCSS
$custom: #962c96; $custom-light: #b86fb5; $custom-dark: #000000;
JSON
{
"hex": "#962c96",
"rgb": {
"r": 150,
"g": 44,
"b": 150
},
"hsl": {
"h": 300,
"s": 54.639,
"l": 38.039
},
"oklch": {
"l": 0.49595,
"c": 0.18583,
"h": 327.9
},
"luminance": 0.10487
}Semantic roles & 50–950 ramp
primary
#962C96
secondary
#64BA64
accent
#DE4A4A
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#120811
muted
#817B80