#822E87#822E87

#822E87 is a mid, vivid purple. Relative luminance 0.084; OKLCH L 45.9% C 0.160 H 325.5°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#822E87
RGBrgb(130, 46, 135)
HSLhsl(297, 49%, 35%)
HSVhsv(297, 66%, 53%)
CMYKcmyk(3.7%, 65.9%, 0%, 47.1%)
CIE-LABlab(34.90, 48.10, -32.68)
CIE-LCHlch(34.90, 58.15, 325.81°)
OKLaboklab(45.94% 0.1317 -0.0906)
OKLCHoklch(45.94% 0.16 325.5)
XYZxyz(14.5558, 8.4500, 23.7813)
Luminance0.0845 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822E87 #33872E
analogous
#552E87 #822E87 #872E5F
triadic
#822E87 #87822E #2E8782
tetradic
#822E87 #87552E #33872E #2E5F87
square
#822E87 #87552E #33872E #2E5F87
split-complementary
#822E87 #5F872E #2E8755
monochromatic
#2A0F2C #561E59 #822E87 #AE3EB5 #C565CA

Accessibility & contrast

On white

7.81
#822E87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #822E87
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822E87#FFFFFF#000000##FFFFFF
##822E871.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4B8A
Deuteranopia (green-blind)
#3F5685
Tritanopia (blue-blind)
#853B56
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #822e87;
/* rgb */ color: rgb(130, 46, 135);
/* oklch */ color: oklch(45.9% 0.160 325.5);
Tailwind
colors: {
  custom: {
    50: '#a96daa',
    500: '#822e87',
    950: '#000000',
  },
}
SCSS
$custom: #822e87;
$custom-light: #a96daa;
$custom-dark: #000000;
JSON
{
  "hex": "#822e87",
  "rgb": {
    "r": 130,
    "g": 46,
    "b": 135
  },
  "hsl": {
    "h": 296.629,
    "s": 49.171,
    "l": 35.49
  },
  "oklch": {
    "l": 0.45942,
    "c": 0.15984,
    "h": 325.5
  },
  "luminance": 0.08449
}

Semantic roles & 50–950 ramp

primary
#822E87
secondary
#64B160
accent
#D94F57
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #822E87

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

Preview Lab → · Contrast checker → · Palette generator →

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