#822E8F#822E8F

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

Color values

HEX#822E8F
RGBrgb(130, 46, 143)
HSLhsl(292, 51%, 37%)
HSVhsv(292, 68%, 56%)
CMYKcmyk(9.1%, 67.8%, 0%, 43.9%)
CIE-LABlab(35.37, 49.63, -36.87)
CIE-LCHlch(35.37, 61.82, 323.39°)
OKLaboklab(46.43% 0.1318 -0.1028)
OKLCHoklch(46.43% 0.167 322.1)
XYZxyz(15.1403, 8.6838, 26.8599)
Luminance0.0868 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822E8F #3B8F2E
analogous
#522E8F #822E8F #8F2E6C
triadic
#822E8F #8F822E #2E8F82
tetradic
#822E8F #8F522E #3B8F2E #2E6C8F
square
#822E8F #8F522E #3B8F2E #2E6C8F
split-complementary
#822E8F #6C8F2E #2E8F52
monochromatic
#2E1032 #581F61 #822E8F #AC3DBD #C169CF

Accessibility & contrast

On white

7.67
#822E8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #822E8F
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822E8F#FFFFFF#000000##FFFFFF
##822E8F1.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134D92
Deuteranopia (green-blind)
#3A568D
Tritanopia (blue-blind)
#843E5A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #822e8f;
/* rgb */ color: rgb(130, 46, 143);
/* oklch */ color: oklch(46.4% 0.167 322.1);
Tailwind
colors: {
  custom: {
    50: '#a96eb0',
    500: '#822e8f',
    950: '#000000',
  },
}
SCSS
$custom: #822e8f;
$custom-light: #a96eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#822e8f",
  "rgb": {
    "r": 130,
    "g": 46,
    "b": 143
  },
  "hsl": {
    "h": 291.959,
    "s": 51.323,
    "l": 37.059
  },
  "oklch": {
    "l": 0.46428,
    "c": 0.16716,
    "h": 322.1
  },
  "luminance": 0.08683
}

Semantic roles & 50–950 ramp

primary
#822E8F
secondary
#6EB663
accent
#DB4D60
background
#FAF6FA
surface
#F4ECF5
border
#CEC7CF
text
#100810
muted
#7F7B7F

Preview Lab

Preview with #822E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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