#822F85#822F85

#822F85 is a mid, vivid purple. Relative luminance 0.085; OKLCH L 45.9% C 0.157 H 326.3°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#822F85
RGBrgb(130, 47, 133)
HSLhsl(298, 48%, 35%)
HSVhsv(298, 65%, 52%)
CMYKcmyk(2.3%, 64.7%, 0%, 47.8%)
CIE-LABlab(34.95, 47.28, -31.37)
CIE-LCHlch(34.95, 56.74, 326.44°)
OKLaboklab(45.94% 0.1304 -0.0868)
OKLCHoklch(45.94% 0.157 326.3)
XYZxyz(14.4558, 8.4732, 23.0598)
Luminance0.0847 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822F85 #32852F
analogous
#572F85 #822F85 #852F5D
triadic
#822F85 #85822F #2F8582
tetradic
#822F85 #85572F #32852F #2F5D85
square
#822F85 #85572F #32852F #2F5D85
split-complementary
#822F85 #5D852F #2F8557
monochromatic
#2A0F2B #561F58 #822F85 #AE3FB2 #C566C9

Accessibility & contrast

On white

7.79
#822F85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#822F85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822F85
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822F85#FFFFFF#000000##FFFFFF
##822F851.007.792.697.79
#FFFFFF7.791.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224B88
Deuteranopia (green-blind)
#415683
Tritanopia (blue-blind)
#853B56
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #822f85;
/* rgb */ color: rgb(130, 47, 133);
/* oklch */ color: oklch(45.9% 0.157 326.3);
Tailwind
colors: {
  custom: {
    50: '#a96ea9',
    500: '#822f85',
    950: '#000000',
  },
}
SCSS
$custom: #822f85;
$custom-light: #a96ea9;
$custom-dark: #000000;
JSON
{
  "hex": "#822f85",
  "rgb": {
    "r": 130,
    "g": 47,
    "b": 133
  },
  "hsl": {
    "h": 297.907,
    "s": 47.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45939,
    "c": 0.15663,
    "h": 326.3
  },
  "luminance": 0.08472
}

Semantic roles & 50–950 ramp

primary
#822F85
secondary
#63B060
accent
#D75055
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #822F85

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

Preview Lab → · Contrast checker → · Palette generator →

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