#822B85#822B85

#822B85 is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.5% C 0.162 H 326.5°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#822B85
RGBrgb(130, 43, 133)
HSLhsl(298, 51%, 35%)
HSVhsv(298, 68%, 52%)
CMYKcmyk(2.3%, 67.7%, 0%, 47.8%)
CIE-LABlab(34.33, 49.01, -32.35)
CIE-LCHlch(34.33, 58.72, 326.57°)
OKLaboklab(45.49% 0.1352 -0.0896)
OKLCHoklch(45.49% 0.162 326.5)
XYZxyz(14.3032, 8.1680, 23.0090)
Luminance0.0817 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822B85 #2E852B
analogous
#552B85 #822B85 #852B5B
triadic
#822B85 #85822B #2B8582
tetradic
#822B85 #85552B #2E852B #2B5B85
square
#822B85 #85552B #2E852B #2B5B85
split-complementary
#822B85 #5B852B #2B8555
monochromatic
#280D29 #551C57 #822B85 #AF3AB3 #C85FCB

Accessibility & contrast

On white

7.97
#822B85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#822B85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822B85
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822B85#FFFFFF#000000##FFFFFF
##822B851.007.972.637.97
#FFFFFF7.971.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4A88
Deuteranopia (green-blind)
#3F5583
Tritanopia (blue-blind)
#863854
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #822b85;
/* rgb */ color: rgb(130, 43, 133);
/* oklch */ color: oklch(45.5% 0.162 326.5);
Tailwind
colors: {
  custom: {
    50: '#a96ca9',
    500: '#822b85',
    950: '#000000',
  },
}
SCSS
$custom: #822b85;
$custom-light: #a96ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#822b85",
  "rgb": {
    "r": 130,
    "g": 43,
    "b": 133
  },
  "hsl": {
    "h": 298,
    "s": 51.136,
    "l": 34.51
  },
  "oklch": {
    "l": 0.45492,
    "c": 0.1622,
    "h": 326.5
  },
  "luminance": 0.08167
}

Semantic roles & 50–950 ramp

primary
#822B85
secondary
#5DB15B
accent
#DB4D52
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #822B85

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

Preview Lab → · Contrast checker → · Palette generator →

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