#822F8A#822F8A

#822F8A is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.2% C 0.161 H 324.1°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#822F8A
RGBrgb(130, 47, 138)
HSLhsl(295, 49%, 36%)
HSVhsv(295, 66%, 54%)
CMYKcmyk(5.8%, 65.9%, 0%, 45.9%)
CIE-LABlab(35.23, 48.23, -34.01)
CIE-LCHlch(35.23, 59.01, 324.81°)
OKLaboklab(46.24% 0.1306 -0.0945)
OKLCHoklch(46.24% 0.161 324.1)
XYZxyz(14.8095, 8.6147, 24.9226)
Luminance0.0861 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822F8A #378A2F
analogous
#552F8A #822F8A #8A2F65
triadic
#822F8A #8A822F #2F8A82
tetradic
#822F8A #8A552F #378A2F #2F658A
square
#822F8A #8A552F #378A2F #2F658A
split-complementary
#822F8A #658A2F #2F8A55
monochromatic
#2C102F #571F5C #822F8A #AD3FB8 #C368CC

Accessibility & contrast

On white

7.71
#822F8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#822F8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822F8A
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822F8A#FFFFFF#000000##FFFFFF
##822F8A1.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4C8D
Deuteranopia (green-blind)
#3E5688
Tritanopia (blue-blind)
#853D58
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #822f8a;
/* rgb */ color: rgb(130, 47, 138);
/* oklch */ color: oklch(46.2% 0.161 324.1);
Tailwind
colors: {
  custom: {
    50: '#a96eac',
    500: '#822f8a',
    950: '#000000',
  },
}
SCSS
$custom: #822f8a;
$custom-light: #a96eac;
$custom-dark: #000000;
JSON
{
  "hex": "#822f8a",
  "rgb": {
    "r": 130,
    "g": 47,
    "b": 138
  },
  "hsl": {
    "h": 294.725,
    "s": 49.189,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46235,
    "c": 0.16117,
    "h": 324.1
  },
  "luminance": 0.08614
}

Semantic roles & 50–950 ramp

primary
#822F8A
secondary
#69B362
accent
#D94F5B
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#100810
muted
#7F7B7F

Preview Lab

Preview with #822F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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