#822D87#822D87

#822D87 is a mid, vivid purple. Relative luminance 0.084; OKLCH L 45.8% C 0.161 H 325.5°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#822D87
RGBrgb(130, 45, 135)
HSLhsl(297, 50%, 35%)
HSVhsv(297, 67%, 53%)
CMYKcmyk(3.7%, 66.7%, 0%, 47.1%)
CIE-LABlab(34.75, 48.53, -32.93)
CIE-LCHlch(34.75, 58.65, 325.84°)
OKLaboklab(45.83% 0.1329 -0.0913)
OKLCHoklch(45.83% 0.161 325.5)
XYZxyz(14.5172, 8.3728, 23.7684)
Luminance0.0837 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822D87 #32872D
analogous
#552D87 #822D87 #872D5F
triadic
#822D87 #87822D #2D8782
tetradic
#822D87 #87552D #32872D #2D5F87
square
#822D87 #87552D #32872D #2D5F87
split-complementary
#822D87 #5F872D #2D8755
monochromatic
#2A0E2B #561E59 #822D87 #AE3CB5 #C563CB

Accessibility & contrast

On white

7.85
#822D87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#822D87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822D87
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822D87#FFFFFF#000000##FFFFFF
##822D871.007.852.677.85
#FFFFFF7.851.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4B8A
Deuteranopia (green-blind)
#3F5585
Tritanopia (blue-blind)
#853A56
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #822d87;
/* rgb */ color: rgb(130, 45, 135);
/* oklch */ color: oklch(45.8% 0.161 325.5);
Tailwind
colors: {
  custom: {
    50: '#a96daa',
    500: '#822d87',
    950: '#000000',
  },
}
SCSS
$custom: #822d87;
$custom-light: #a96daa;
$custom-dark: #000000;
JSON
{
  "hex": "#822d87",
  "rgb": {
    "r": 130,
    "g": 45,
    "b": 135
  },
  "hsl": {
    "h": 296.667,
    "s": 50,
    "l": 35.294
  },
  "oklch": {
    "l": 0.4583,
    "c": 0.16124,
    "h": 325.5
  },
  "luminance": 0.08372
}

Semantic roles & 50–950 ramp

primary
#822D87
secondary
#63B25E
accent
#DA4E56
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #822D87

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

Preview Lab → · Contrast checker → · Palette generator →

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