#822D91#822D91

#822D91 is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.4% C 0.170 H 321.3°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#822D91
RGBrgb(130, 45, 145)
HSLhsl(291, 53%, 37%)
HSVhsv(291, 69%, 57%)
CMYKcmyk(10.3%, 69%, 0%, 43.1%)
CIE-LABlab(35.34, 50.44, -38.14)
CIE-LCHlch(35.34, 63.24, 322.91°)
OKLaboklab(46.44% 0.1329 -0.1065)
OKLCHoklch(46.44% 0.17 321.3)
XYZxyz(15.2546, 8.6677, 27.6521)
Luminance0.0867 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822D91 #3C912D
analogous
#502D91 #822D91 #912D6E
triadic
#822D91 #91822D #2D9182
tetradic
#822D91 #91502D #3C912D #2D6E91
square
#822D91 #91502D #3C912D #2D6E91
split-complementary
#822D91 #6E912D #2D9150
monochromatic
#2E1034 #581F62 #822D91 #AC3BC0 #C168D0

Accessibility & contrast

On white

7.68
#822D91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#822D91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822D91
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822D91#FFFFFF#000000##FFFFFF
##822D911.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C4D94
Deuteranopia (green-blind)
#38568F
Tritanopia (blue-blind)
#833E5B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #822d91;
/* rgb */ color: rgb(130, 45, 145);
/* oklch */ color: oklch(46.4% 0.170 321.3);
Tailwind
colors: {
  custom: {
    50: '#a96db2',
    500: '#822d91',
    950: '#000000',
  },
}
SCSS
$custom: #822d91;
$custom-light: #a96db2;
$custom-dark: #000000;
JSON
{
  "hex": "#822d91",
  "rgb": {
    "r": 130,
    "g": 45,
    "b": 145
  },
  "hsl": {
    "h": 291,
    "s": 52.632,
    "l": 37.255
  },
  "oklch": {
    "l": 0.46444,
    "c": 0.17035,
    "h": 321.3
  },
  "luminance": 0.08667
}

Semantic roles & 50–950 ramp

primary
#822D91
secondary
#6FB763
accent
#DC4C61
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #822D91

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

Preview Lab → · Contrast checker → · Palette generator →

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