#962197#962197
#962197 is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.7% C 0.198 H 327.7°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).
Color values
| HEX | #962197 |
|---|---|
| RGB | rgb(150, 33, 151) |
| HSL | hsl(299, 64%, 36%) |
| HSV | hsv(299, 78%, 59%) |
| CMYK | cmyk(0.7%, 78.1%, 0%, 40.8%) |
| CIE-LAB | lab(37.49, 60.26, -38.17) |
| CIE-LCH | lch(37.49, 71.33, 327.65°) |
| OKLab | oklab(48.75% 0.1677 -0.1059) |
| OKLCH | oklch(48.75% 0.198 327.7) |
| XYZ | xyz(18.7072, 9.8075, 30.1799) |
| Luminance | 0.0981 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney Purple
#A00498
ΔE00 2.07
Warm Purple
#952E8F
ΔE00 2.47
Darkmagenta
#8B008B
ΔE00 4.07
Purple (survey)
#7E1E9C
ΔE00 5.51
Barney
#AC1DB8
ΔE00 5.96
Purple
#800080
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#962197 #229721
analogous
#5B2197 #962197 #97215D
triadic
#962197 #979621 #219796
tetradic
#962197 #975B21 #229721 #215D97
square
#962197 #975B21 #229721 #215D97
split-complementary
#962197 #5D9721 #21975B
monochromatic
#320B33 #641665 #962197 #C82CC9 #D958DA
Accessibility & contrast
On white
7.09
#962197 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.96
#962197 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #962197
7.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##962197 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##962197 | 1.00 | 7.09 | 2.96 | 7.09 |
| #FFFFFF | 7.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004F9A
Deuteranopia (green-blind)
#425D94
Tritanopia (blue-blind)
#9B355C
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #962197; /* rgb */ color: rgb(150, 33, 151); /* oklch */ color: oklch(48.7% 0.198 327.7);
Tailwind
colors: {
custom: {
50: '#b96bb6',
500: '#962197',
950: '#000000',
},
}SCSS
$custom: #962197; $custom-light: #b96bb6; $custom-dark: #000000;
JSON
{
"hex": "#962197",
"rgb": {
"r": 150,
"g": 33,
"b": 151
},
"hsl": {
"h": 299.492,
"s": 64.13,
"l": 36.078
},
"oklch": {
"l": 0.48748,
"c": 0.19837,
"h": 327.7
},
"luminance": 0.09806
}Semantic roles & 50–950 ramp
primary
#962197
secondary
#56BE55
accent
#E74142
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120711
muted
#817A80