#822B99#822B99
#822B99 is a mid, vivid purple. Relative luminance 0.088; OKLCH L 46.8% C 0.180 H 318.4°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).
Color values
| HEX | #822B99 |
|---|---|
| RGB | rgb(130, 43, 153) |
| HSL | hsl(287, 56%, 38%) |
| HSV | hsv(287, 72%, 60%) |
| CMYK | cmyk(15%, 71.9%, 0%, 40%) |
| CIE-LAB | lab(35.55, 52.85, -42.69) |
| CIE-LCH | lch(35.55, 67.94, 321.07°) |
| OKLab | oklab(46.76% 0.1347 -0.1198) |
| OKLCH | oklch(46.76% 0.18 318.4) |
| XYZ | xyz(15.8188, 8.7742, 30.9912) |
| Luminance | 0.0877 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 2.40
Darkmagenta
#8B008B
ΔE00 4.84
Warm Purple
#952E8F
ΔE00 5.35
Rebeccapurple
#663399
ΔE00 5.79
Barney Purple
#A00498
ΔE00 5.86
Purple
#800080
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#822B99 #42992B
analogous
#4B2B99 #822B99 #992B79
triadic
#822B99 #99822B #2B9982
tetradic
#822B99 #994B2B #42992B #2B7999
square
#822B99 #994B2B #42992B #2B7999
split-complementary
#822B99 #79992B #2B994B
monochromatic
#311039 #591E69 #822B99 #AA3AC8 #BE69D5
Accessibility & contrast
On white
7.62
#822B99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.75
#822B99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #822B99
7.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##822B99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##822B99 | 1.00 | 7.62 | 2.75 | 7.62 |
| #FFFFFF | 7.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004E9C
Deuteranopia (green-blind)
#315696
Tritanopia (blue-blind)
#82405F
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #822b99; /* rgb */ color: rgb(130, 43, 153); /* oklch */ color: oklch(46.8% 0.180 318.4);
Tailwind
colors: {
custom: {
50: '#aa6db8',
500: '#822b99',
950: '#000000',
},
}SCSS
$custom: #822b99; $custom-light: #aa6db8; $custom-dark: #000000;
JSON
{
"hex": "#822b99",
"rgb": {
"r": 130,
"g": 43,
"b": 153
},
"hsl": {
"h": 287.455,
"s": 56.122,
"l": 38.431
},
"oklch": {
"l": 0.46755,
"c": 0.18028,
"h": 318.4
},
"luminance": 0.08773
}Semantic roles & 50–950 ramp
primary
#822B99
secondary
#77BC64
accent
#DF4868
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80