#822A95#822A95

#822A95 is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.4% C 0.178 H 319.9°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#822A95
RGBrgb(130, 42, 149)
HSLhsl(289, 56%, 37%)
HSVhsv(289, 72%, 58%)
CMYKcmyk(12.8%, 71.8%, 0%, 41.6%)
CIE-LABlab(35.15, 52.46, -40.89)
CIE-LCHlch(35.15, 66.51, 322.07°)
OKLaboklab(46.39% 0.1361 -0.1145)
OKLCHoklch(46.39% 0.178 319.9)
XYZxyz(15.4580, 8.5724, 29.2684)
Luminance0.0857 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822A95 #3D952A
analogous
#4D2A95 #822A95 #952A72
triadic
#822A95 #95822A #2A9582
tetradic
#822A95 #954D2A #3D952A #2A7295
square
#822A95 #954D2A #3D952A #2A7295
split-complementary
#822A95 #72952A #2A954D
monochromatic
#2F0F36 #581D65 #822A95 #AC37C5 #C066D4

Accessibility & contrast

On white

7.74
#822A95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#822A95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822A95
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822A95#FFFFFF#000000##FFFFFF
##822A951.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D98
Deuteranopia (green-blind)
#335692
Tritanopia (blue-blind)
#823E5D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #822a95;
/* rgb */ color: rgb(130, 42, 149);
/* oklch */ color: oklch(46.4% 0.178 319.9);
Tailwind
colors: {
  custom: {
    50: '#aa6cb5',
    500: '#822a95',
    950: '#000000',
  },
}
SCSS
$custom: #822a95;
$custom-light: #aa6cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#822a95",
  "rgb": {
    "r": 130,
    "g": 42,
    "b": 149
  },
  "hsl": {
    "h": 289.346,
    "s": 56.021,
    "l": 37.451
  },
  "oklch": {
    "l": 0.46389,
    "c": 0.17784,
    "h": 319.9
  },
  "luminance": 0.08572
}

Semantic roles & 50–950 ramp

primary
#822A95
secondary
#71BA61
accent
#DF4863
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #822A95

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

Preview Lab → · Contrast checker → · Palette generator →

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