#962B9B#962B9B
#962B9B is a mid, vivid purple. Relative luminance 0.106; OKLCH L 49.8% C 0.191 H 326.0°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).
Color values
| HEX | #962B9B |
|---|---|
| RGB | rgb(150, 43, 155) |
| HSL | hsl(297, 57%, 39%) |
| HSV | hsv(297, 72%, 61%) |
| CMYK | cmyk(3.2%, 72.3%, 0%, 39.2%) |
| CIE-LAB | lab(38.86, 57.70, -38.42) |
| CIE-LCH | lch(38.86, 69.32, 326.34°) |
| OKLab | oklab(49.8% 0.1585 -0.1067) |
| OKLCH | oklch(49.8% 0.191 326) |
| XYZ | xyz(19.3576, 10.5796, 32.0265) |
| Luminance | 0.1058 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 2.39
Barney Purple
#A00498
ΔE00 3.13
Medium Purple
#9E43A2
ΔE00 5.10
Barney
#AC1DB8
ΔE00 5.26
Purply
#983FB2
ΔE00 5.28
Darkmagenta
#8B008B
ΔE00 5.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#962B9B #309B2B
analogous
#5E2B9B #962B9B #9B2B68
triadic
#962B9B #9B962B #2B9B96
tetradic
#962B9B #9B5E2B #309B2B #2B689B
square
#962B9B #9B5E2B #309B2B #2B689B
split-complementary
#962B9B #689B2B #2B9B5E
monochromatic
#39103B #681E6B #962B9B #C23BC9 #D16BD6
Accessibility & contrast
On white
6.74
#962B9B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#962B9B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #962B9B
6.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##962B9B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##962B9B | 1.00 | 6.74 | 3.12 | 6.74 |
| #FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0F539E
Deuteranopia (green-blind)
#446098
Tritanopia (blue-blind)
#9A3D60
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #962b9b; /* rgb */ color: rgb(150, 43, 155); /* oklch */ color: oklch(49.8% 0.191 326.0);
Tailwind
colors: {
custom: {
50: '#b86fb9',
500: '#962b9b',
950: '#000000',
},
}SCSS
$custom: #962b9b; $custom-light: #b86fb9; $custom-dark: #000000;
JSON
{
"hex": "#962b9b",
"rgb": {
"r": 150,
"g": 43,
"b": 155
},
"hsl": {
"h": 297.321,
"s": 56.566,
"l": 38.824
},
"oklch": {
"l": 0.498,
"c": 0.19109,
"h": 326
},
"luminance": 0.10578
}Semantic roles & 50–950 ramp
primary
#962B9B
secondary
#69BC65
accent
#E0484F
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120811
muted
#817B80