#822388#822388

#822388 is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.9% C 0.175 H 325.4°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#822388
RGBrgb(130, 35, 136)
HSLhsl(296, 59%, 34%)
HSVhsv(296, 74%, 53%)
CMYKcmyk(4.4%, 74.3%, 0%, 46.7%)
CIE-LABlab(33.41, 52.67, -35.68)
CIE-LCHlch(33.41, 63.61, 325.89°)
OKLaboklab(44.89% 0.1439 -0.0992)
OKLCHoklch(44.89% 0.175 325.4)
XYZxyz(14.2506, 7.7264, 24.0285)
Luminance0.0772 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822388 #298823
analogous
#4F2388 #822388 #88235B
triadic
#822388 #888223 #238882
tetradic
#822388 #884F23 #298823 #235B88
square
#822388 #884F23 #298823 #235B88
split-complementary
#822388 #5B8823 #23884F
monochromatic
#250A27 #531657 #822388 #B130B9 #CB53D3

Accessibility & contrast

On white

8.25
#822388 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#822388 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822388
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822388#FFFFFF#000000##FFFFFF
##8223881.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04478B
Deuteranopia (green-blind)
#395386
Tritanopia (blue-blind)
#853453
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #822388;
/* rgb */ color: rgb(130, 35, 136);
/* oklch */ color: oklch(44.9% 0.175 325.4);
Tailwind
colors: {
  custom: {
    50: '#aa68ab',
    500: '#822388',
    950: '#000000',
  },
}
SCSS
$custom: #822388;
$custom-light: #aa68ab;
$custom-dark: #000000;
JSON
{
  "hex": "#822388",
  "rgb": {
    "r": 130,
    "g": 35,
    "b": 136
  },
  "hsl": {
    "h": 296.436,
    "s": 59.064,
    "l": 33.529
  },
  "oklch": {
    "l": 0.44885,
    "c": 0.17478,
    "h": 325.4
  },
  "luminance": 0.07725
}

Semantic roles & 50–950 ramp

primary
#822388
secondary
#56B750
accent
#E2464F
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #822388

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

Preview Lab → · Contrast checker → · Palette generator →

#822388 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva