#822D95#822D95

#822D95 is a mid, vivid purple. Relative luminance 0.088; OKLCH L 46.7% C 0.174 H 319.7°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#822D95
RGBrgb(130, 45, 149)
HSLhsl(289, 54%, 38%)
HSVhsv(289, 70%, 58%)
CMYKcmyk(12.8%, 69.8%, 0%, 41.6%)
CIE-LABlab(35.58, 51.23, -40.19)
CIE-LCHlch(35.58, 65.12, 321.88°)
OKLaboklab(46.7% 0.1328 -0.1125)
OKLCHoklch(46.7% 0.174 319.7)
XYZxyz(15.5684, 8.7933, 29.3052)
Luminance0.0879 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822D95 #40952D
analogous
#4E2D95 #822D95 #952D74
triadic
#822D95 #95822D #2D9582
tetradic
#822D95 #954E2D #40952D #2D7495
square
#822D95 #954E2D #40952D #2D7495
split-complementary
#822D95 #74952D #2D954E
monochromatic
#301137 #591F66 #822D95 #AB3BC4 #BF6AD2

Accessibility & contrast

On white

7.61
#822D95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#822D95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822D95
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822D95#FFFFFF#000000##FFFFFF
##822D951.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E98
Deuteranopia (green-blind)
#355793
Tritanopia (blue-blind)
#82405D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #822d95;
/* rgb */ color: rgb(130, 45, 149);
/* oklch */ color: oklch(46.7% 0.174 319.7);
Tailwind
colors: {
  custom: {
    50: '#aa6db5',
    500: '#822d95',
    950: '#000000',
  },
}
SCSS
$custom: #822d95;
$custom-light: #aa6db5;
$custom-dark: #000000;
JSON
{
  "hex": "#822d95",
  "rgb": {
    "r": 130,
    "g": 45,
    "b": 149
  },
  "hsl": {
    "h": 289.038,
    "s": 53.608,
    "l": 38.039
  },
  "oklch": {
    "l": 0.467,
    "c": 0.17405,
    "h": 319.7
  },
  "luminance": 0.08793
}

Semantic roles & 50–950 ramp

primary
#822D95
secondary
#74B965
accent
#DD4B66
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #822D95

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

Preview Lab → · Contrast checker → · Palette generator →

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