#822FAF#822FAF
#822FAF is a mid, vivid violet. Relative luminance 0.099; OKLCH L 48.7% C 0.196 H 310.7°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).
Color values
| HEX | #822FAF |
|---|---|
| RGB | rgb(130, 47, 175) |
| HSL | hsl(279, 58%, 44%) |
| HSV | hsv(279, 73%, 69%) |
| CMYK | cmyk(25.7%, 73.1%, 0%, 31.4%) |
| CIE-LAB | lab(37.62, 55.81, -52.58) |
| CIE-LCH | lch(37.62, 76.67, 316.71°) |
| OKLab | oklab(48.7% 0.1281 -0.1488) |
| OKLCH | oklch(48.7% 0.196 310.7) |
| XYZ | xyz(17.9588, 9.8744, 41.5090) |
| Luminance | 0.0987 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 4.09
Darkviolet
#9400D3
ΔE00 5.61
Rebeccapurple
#663399
ΔE00 5.62
Darkorchid
#9932CC
ΔE00 5.70
Purply
#983FB2
ΔE00 5.87
Blueviolet
#8A2BE2
ΔE00 7.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#822FAF #5CAF2F
analogous
#422FAF #822FAF #AF2F9C
triadic
#822FAF #AF822F #2FAF82
tetradic
#822FAF #AF422F #5CAF2F #2F9CAF
square
#822FAF #AF422F #5CAF2F #2F9CAF
split-complementary
#822FAF #9CAF2F #2FAF42
monochromatic
#3A154F #5E227F #822FAF #A14CCF #BA7CDC
Accessibility & contrast
On white
7.06
#822FAF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.97
#822FAF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #822FAF
7.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##822FAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##822FAF | 1.00 | 7.06 | 2.97 | 7.06 |
| #FFFFFF | 7.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055B3
Deuteranopia (green-blind)
#175AAC
Tritanopia (blue-blind)
#7C4C6C
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #822faf; /* rgb */ color: rgb(130, 47, 175); /* oklch */ color: oklch(48.7% 0.196 310.7);
Tailwind
colors: {
custom: {
50: '#ab6fc8',
500: '#822faf',
950: '#000000',
},
}SCSS
$custom: #822faf; $custom-light: #ab6fc8; $custom-dark: #000000;
JSON
{
"hex": "#822faf",
"rgb": {
"r": 130,
"g": 47,
"b": 175
},
"hsl": {
"h": 278.906,
"s": 57.658,
"l": 43.529
},
"oklch": {
"l": 0.48704,
"c": 0.19637,
"h": 310.7
},
"luminance": 0.09874
}Semantic roles & 50–950 ramp
primary
#822FAF
secondary
#91C475
accent
#E1477D
background
#FAF7FC
surface
#F5EDF8
border
#CFC8D1
text
#110813
muted
#807B82