#822E8E#822E8E

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

Color values

HEX#822E8E
RGBrgb(130, 46, 142)
HSLhsl(293, 51%, 37%)
HSVhsv(293, 68%, 56%)
CMYKcmyk(8.5%, 67.6%, 0%, 44.3%)
CIE-LABlab(35.31, 49.43, -36.35)
CIE-LCHlch(35.31, 61.36, 323.67°)
OKLaboklab(46.37% 0.1318 -0.1013)
OKLCHoklch(46.37% 0.166 322.5)
XYZxyz(15.0649, 8.6536, 26.4627)
Luminance0.0865 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822E8E #3A8E2E
analogous
#522E8E #822E8E #8E2E6A
triadic
#822E8E #8E822E #2E8E82
tetradic
#822E8E #8E522E #3A8E2E #2E6A8E
square
#822E8E #8E522E #3A8E2E #2E6A8E
split-complementary
#822E8E #6A8E2E #2E8E52
monochromatic
#2D1032 #581F60 #822E8E #AC3DBC #C168CE

Accessibility & contrast

On white

7.69
#822E8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#822E8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822E8E
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822E8E#FFFFFF#000000##FFFFFF
##822E8E1.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154D91
Deuteranopia (green-blind)
#3B568C
Tritanopia (blue-blind)
#843E5A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #822e8e;
/* rgb */ color: rgb(130, 46, 142);
/* oklch */ color: oklch(46.4% 0.166 322.5);
Tailwind
colors: {
  custom: {
    50: '#a96eaf',
    500: '#822e8e',
    950: '#000000',
  },
}
SCSS
$custom: #822e8e;
$custom-light: #a96eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#822e8e",
  "rgb": {
    "r": 130,
    "g": 46,
    "b": 142
  },
  "hsl": {
    "h": 292.5,
    "s": 51.064,
    "l": 36.863
  },
  "oklch": {
    "l": 0.46366,
    "c": 0.16624,
    "h": 322.5
  },
  "luminance": 0.08653
}

Semantic roles & 50–950 ramp

primary
#822E8E
secondary
#6DB563
accent
#DB4D5F
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #822E8E

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

Preview Lab → · Contrast checker → · Palette generator →

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