#962ABB#962ABB
#962ABB is a mid, highly saturated purple. Relative luminance 0.117; OKLCH L 51.8% C 0.219 H 315.6°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).
Color values
| HEX | #962ABB |
|---|---|
| RGB | rgb(150, 42, 187) |
| HSL | hsl(285, 63%, 45%) |
| HSV | hsv(285, 78%, 73%) |
| CMYK | cmyk(19.8%, 77.5%, 0%, 26.7%) |
| CIE-LAB | lab(40.78, 63.98, -54.41) |
| CIE-LCH | lch(40.78, 83.98, 319.62°) |
| OKLab | oklab(51.81% 0.1565 -0.1535) |
| OKLCH | oklch(51.81% 0.219 315.6) |
| XYZ | xyz(22.3738, 11.7287, 48.0894) |
| Luminance | 0.1173 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.00
Purply
#983FB2
ΔE00 3.91
Barney
#AC1DB8
ΔE00 4.11
Darkviolet
#9400D3
ΔE00 4.32
Vibrant Purple
#AD03DE
ΔE00 5.43
Blueviolet
#8A2BE2
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#962ABB #4FBB2A
analogous
#4E2ABB #962ABB #BB2A97
triadic
#962ABB #BB962A #2ABB96
tetradic
#962ABB #BB4E2A #4FBB2A #2A97BB
square
#962ABB #BB4E2A #4FBB2A #2A97BB
split-complementary
#962ABB #97BB2A #2ABB4E
monochromatic
#461457 #6E1F89 #962ABB #B34CD7 #C87DE2
Accessibility & contrast
On white
6.28
#962ABB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.35
#962ABB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #962ABB
6.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##962ABB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##962ABB | 1.00 | 6.28 | 3.35 | 6.28 |
| #FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005ABF
Deuteranopia (green-blind)
#2563B8
Tritanopia (blue-blind)
#934B72
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #962abb; /* rgb */ color: rgb(150, 42, 187); /* oklch */ color: oklch(51.8% 0.219 315.6);
Tailwind
colors: {
custom: {
50: '#b970d0',
500: '#962abb',
950: '#000000',
},
}SCSS
$custom: #962abb; $custom-light: #b970d0; $custom-dark: #000000;
JSON
{
"hex": "#962abb",
"rgb": {
"r": 150,
"g": 42,
"b": 187
},
"hsl": {
"h": 284.69,
"s": 63.319,
"l": 44.902
},
"oklch": {
"l": 0.51813,
"c": 0.21923,
"h": 315.6
},
"luminance": 0.11728
}Semantic roles & 50–950 ramp
primary
#962ABB
secondary
#8CCA76
accent
#E6416C
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120814
muted
#817B82