#822B95#822B95

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

Color values

HEX#822B95
RGBrgb(130, 43, 149)
HSLhsl(289, 55%, 38%)
HSVhsv(289, 71%, 58%)
CMYKcmyk(12.8%, 71.1%, 0%, 41.6%)
CIE-LABlab(35.29, 52.06, -40.66)
CIE-LCHlch(35.29, 66.05, 322.01°)
OKLaboklab(46.49% 0.135 -0.1138)
OKLCHoklch(46.49% 0.177 319.9)
XYZxyz(15.4939, 8.6443, 29.2803)
Luminance0.0864 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822B95 #3E952B
analogous
#4D2B95 #822B95 #952B73
triadic
#822B95 #95822B #2B9582
tetradic
#822B95 #954D2B #3E952B #2B7395
square
#822B95 #954D2B #3E952B #2B7395
split-complementary
#822B95 #73952B #2B954D
monochromatic
#2F1036 #591D66 #822B95 #AB39C4 #C067D3

Accessibility & contrast

On white

7.70
#822B95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #822B95
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822B95#FFFFFF#000000##FFFFFF
##822B951.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #822b95;
/* rgb */ color: rgb(130, 43, 149);
/* oklch */ color: oklch(46.5% 0.177 319.9);
Tailwind
colors: {
  custom: {
    50: '#aa6cb5',
    500: '#822b95',
    950: '#000000',
  },
}
SCSS
$custom: #822b95;
$custom-light: #aa6cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#822b95",
  "rgb": {
    "r": 130,
    "g": 43,
    "b": 149
  },
  "hsl": {
    "h": 289.245,
    "s": 55.208,
    "l": 37.647
  },
  "oklch": {
    "l": 0.46491,
    "c": 0.1766,
    "h": 319.9
  },
  "luminance": 0.08644
}

Semantic roles & 50–950 ramp

primary
#822B95
secondary
#72BA62
accent
#DF4964
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #822B95

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

Preview Lab → · Contrast checker → · Palette generator →

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