#822F8D#822F8D

#822F8D is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.4% C 0.164 H 322.8°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#822F8D
RGBrgb(130, 47, 141)
HSLhsl(293, 50%, 37%)
HSVhsv(293, 67%, 55%)
CMYKcmyk(7.8%, 66.7%, 0%, 44.7%)
CIE-LABlab(35.41, 48.80, -35.58)
CIE-LCHlch(35.41, 60.40, 323.91°)
OKLaboklab(46.42% 0.1306 -0.099)
OKLCHoklch(46.42% 0.164 322.8)
XYZxyz(15.0297, 8.7028, 26.0823)
Luminance0.0870 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822F8D #3A8D2F
analogous
#532F8D #822F8D #8D2F69
triadic
#822F8D #8D822F #2F8D82
tetradic
#822F8D #8D532F #3A8D2F #2F698D
square
#822F8D #8D532F #3A8D2F #2F698D
split-complementary
#822F8D #698D2F #2F8D53
monochromatic
#2D1031 #58205F #822F8D #AC3EBB #C169CD

Accessibility & contrast

On white

7.66
#822F8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#822F8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822F8D
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822F8D#FFFFFF#000000##FFFFFF
##822F8D1.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184D90
Deuteranopia (green-blind)
#3C578B
Tritanopia (blue-blind)
#843E5A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #822f8d;
/* rgb */ color: rgb(130, 47, 141);
/* oklch */ color: oklch(46.4% 0.164 322.8);
Tailwind
colors: {
  custom: {
    50: '#a96eaf',
    500: '#822f8d',
    950: '#000000',
  },
}
SCSS
$custom: #822f8d;
$custom-light: #a96eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#822f8d",
  "rgb": {
    "r": 130,
    "g": 47,
    "b": 141
  },
  "hsl": {
    "h": 292.979,
    "s": 50,
    "l": 36.863
  },
  "oklch": {
    "l": 0.46417,
    "c": 0.16394,
    "h": 322.8
  },
  "luminance": 0.08702
}

Semantic roles & 50–950 ramp

primary
#822F8D
secondary
#6DB464
accent
#DA4E5F
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#100810
muted
#7F7B7F

Preview Lab

Preview with #822F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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