#822CAF#822CAF

#822CAF is a mid, vivid violet. Relative luminance 0.096; OKLCH L 48.4% C 0.200 H 311.0°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#822CAF
RGBrgb(130, 44, 175)
HSLhsl(279, 60%, 43%)
HSVhsv(279, 75%, 69%)
CMYKcmyk(25.7%, 74.9%, 0%, 31.4%)
CIE-LABlab(37.19, 57.01, -53.26)
CIE-LCHlch(37.19, 78.02, 316.95°)
OKLaboklab(48.41% 0.131 -0.1508)
OKLCHoklch(48.41% 0.2 311)
XYZxyz(17.8430, 9.6428, 41.4704)
Luminance0.0964 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822CAF #59AF2C
analogous
#402CAF #822CAF #AF2C9A
triadic
#822CAF #AF822C #2CAF82
tetradic
#822CAF #AF402C #59AF2C #2C9AAF
square
#822CAF #AF402C #59AF2C #2C9AAF
split-complementary
#822CAF #9AAF2C #2CAF40
monochromatic
#39134D #5E207E #822CAF #A247D1 #BA78DD

Accessibility & contrast

On white

7.17
#822CAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#822CAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822CAF
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822CAF#FFFFFF#000000##FFFFFF
##822CAF1.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B3
Deuteranopia (green-blind)
#1259AC
Tritanopia (blue-blind)
#7C4A6C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #822caf;
/* rgb */ color: rgb(130, 44, 175);
/* oklch */ color: oklch(48.4% 0.200 311.0);
Tailwind
colors: {
  custom: {
    50: '#ab6ec8',
    500: '#822caf',
    950: '#000000',
  },
}
SCSS
$custom: #822caf;
$custom-light: #ab6ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#822caf",
  "rgb": {
    "r": 130,
    "g": 44,
    "b": 175
  },
  "hsl": {
    "h": 279.389,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.48405,
    "c": 0.19976,
    "h": 311
  },
  "luminance": 0.09642
}

Semantic roles & 50–950 ramp

primary
#822CAF
secondary
#8EC572
accent
#E3457B
background
#FAF6FC
surface
#F5ECF8
border
#CFC7D1
text
#110813
muted
#807B82

Preview Lab

Preview with #822CAF

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#822CAF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva