#822CAB#822CAB

#822CAB is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.1% C 0.196 H 312.2°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#822CAB
RGBrgb(130, 44, 171)
HSLhsl(281, 59%, 42%)
HSVhsv(281, 74%, 67%)
CMYKcmyk(24%, 74.3%, 0%, 32.9%)
CIE-LABlab(36.91, 56.16, -51.34)
CIE-LCHlch(36.91, 76.09, 317.57°)
OKLaboklab(48.11% 0.1316 -0.1452)
OKLCHoklch(48.11% 0.196 312.2)
XYZxyz(17.4559, 9.4880, 39.4320)
Luminance0.0949 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822CAB #55AB2C
analogous
#432CAB #822CAB #AB2C95
triadic
#822CAB #AB822C #2CAB82
tetradic
#822CAB #AB432C #55AB2C #2C95AB
square
#822CAB #AB432C #55AB2C #2C95AB
split-complementary
#822CAB #95AB2C #2CAB43
monochromatic
#38134A #5D1F7A #822CAB #A345CF #BB76DC

Accessibility & contrast

On white

7.25
#822CAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#822CAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822CAB
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822CAB#FFFFFF#000000##FFFFFF
##822CAB1.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AF
Deuteranopia (green-blind)
#1B59A8
Tritanopia (blue-blind)
#7D4969
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #822cab;
/* rgb */ color: rgb(130, 44, 171);
/* oklch */ color: oklch(48.1% 0.196 312.2);
Tailwind
colors: {
  custom: {
    50: '#ab6ec5',
    500: '#822cab',
    950: '#000000',
  },
}
SCSS
$custom: #822cab;
$custom-light: #ab6ec5;
$custom-dark: #000000;
JSON
{
  "hex": "#822cab",
  "rgb": {
    "r": 130,
    "g": 44,
    "b": 171
  },
  "hsl": {
    "h": 280.63,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.48112,
    "c": 0.19597,
    "h": 312.2
  },
  "luminance": 0.09487
}

Semantic roles & 50–950 ramp

primary
#822CAB
secondary
#8BC36F
accent
#E24678
background
#FAF6FC
surface
#F5ECF8
border
#CFC7D1
text
#110813
muted
#807B82

Preview Lab

Preview with #822CAB

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

Preview Lab → · Contrast checker → · Palette generator →

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