#822CAC#822CAC
#822CAC is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.2% C 0.197 H 311.9°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).
Color values
| HEX | #822CAC |
|---|---|
| RGB | rgb(130, 44, 172) |
| HSL | hsl(280, 59%, 42%) |
| HSV | hsv(280, 74%, 67%) |
| CMYK | cmyk(24.4%, 74.4%, 0%, 32.5%) |
| CIE-LAB | lab(36.98, 56.37, -51.82) |
| CIE-LCH | lch(36.98, 76.57, 317.41°) |
| OKLab | oklab(48.18% 0.1315 -0.1466) |
| OKLCH | oklch(48.18% 0.197 311.9) |
| XYZ | xyz(17.5516, 9.5262, 39.9359) |
| Luminance | 0.0953 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.39
Rebeccapurple
#663399
ΔE00 5.48
Darkviolet
#9400D3
ΔE00 5.83
Purply
#983FB2
ΔE00 6.18
Darkorchid
#9932CC
ΔE00 6.20
Darkmagenta
#8B008B
ΔE00 7.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#822CAC #56AC2C
analogous
#422CAC #822CAC #AC2C96
triadic
#822CAC #AC822C #2CAC82
tetradic
#822CAC #AC422C #56AC2C #2C96AC
square
#822CAC #AC422C #56AC2C #2C96AC
split-complementary
#822CAC #96AC2C #2CAC42
monochromatic
#38134B #5D207B #822CAC #A246D0 #BB76DC
Accessibility & contrast
On white
7.23
#822CAC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.91
#822CAC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #822CAC
7.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##822CAC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##822CAC | 1.00 | 7.23 | 2.91 | 7.23 |
| #FFFFFF | 7.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053B0
Deuteranopia (green-blind)
#1959A9
Tritanopia (blue-blind)
#7D496A
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #822cac; /* rgb */ color: rgb(130, 44, 172); /* oklch */ color: oklch(48.2% 0.197 311.9);
Tailwind
colors: {
custom: {
50: '#ab6ec5',
500: '#822cac',
950: '#000000',
},
}SCSS
$custom: #822cac; $custom-light: #ab6ec5; $custom-dark: #000000;
JSON
{
"hex": "#822cac",
"rgb": {
"r": 130,
"g": 44,
"b": 172
},
"hsl": {
"h": 280.313,
"s": 59.259,
"l": 42.353
},
"oklch": {
"l": 0.48184,
"c": 0.19691,
"h": 311.9
},
"luminance": 0.09526
}Semantic roles & 50–950 ramp
primary
#822CAC
secondary
#8BC470
accent
#E24579
background
#FAF6FC
surface
#F5ECF8
border
#CFC7D1
text
#110813
muted
#807B82