#822B8F#822B8F

#822B8F is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.1% C 0.171 H 322.2°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#822B8F
RGBrgb(130, 43, 143)
HSLhsl(292, 54%, 36%)
HSVhsv(292, 70%, 56%)
CMYKcmyk(9.1%, 69.9%, 0%, 43.9%)
CIE-LABlab(34.92, 50.89, -37.58)
CIE-LCHlch(34.92, 63.26, 323.55°)
OKLaboklab(46.11% 0.1352 -0.1049)
OKLCHoklch(46.11% 0.171 322.2)
XYZxyz(15.0272, 8.4576, 26.8222)
Luminance0.0846 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822B8F #388F2B
analogous
#502B8F #822B8F #8F2B6A
triadic
#822B8F #8F822B #2B8F82
tetradic
#822B8F #8F502B #388F2B #2B6A8F
square
#822B8F #8F502B #388F2B #2B6A8F
split-complementary
#822B8F #6A8F2B #2B8F50
monochromatic
#2C0F31 #571D60 #822B8F #AD39BE #C264D0

Accessibility & contrast

On white

7.80
#822B8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #822B8F
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822B8F#FFFFFF#000000##FFFFFF
##822B8F1.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A4C92
Deuteranopia (green-blind)
#38558D
Tritanopia (blue-blind)
#843C5A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #822b8f;
/* rgb */ color: rgb(130, 43, 143);
/* oklch */ color: oklch(46.1% 0.171 322.2);
Tailwind
colors: {
  custom: {
    50: '#a96cb0',
    500: '#822b8f',
    950: '#000000',
  },
}
SCSS
$custom: #822b8f;
$custom-light: #a96cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#822b8f",
  "rgb": {
    "r": 130,
    "g": 43,
    "b": 143
  },
  "hsl": {
    "h": 292.2,
    "s": 53.763,
    "l": 36.471
  },
  "oklch": {
    "l": 0.46105,
    "c": 0.17113,
    "h": 322.2
  },
  "luminance": 0.08457
}

Semantic roles & 50–950 ramp

primary
#822B8F
secondary
#6BB75F
accent
#DD4B5E
background
#FAF6FA
surface
#F4ECF5
border
#CEC7CF
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #822B8F

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

Preview Lab → · Contrast checker → · Palette generator →

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