#822186#822186

#822186 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.6% C 0.175 H 326.3°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#822186
RGBrgb(130, 33, 134)
HSLhsl(298, 60%, 33%)
HSVhsv(298, 75%, 53%)
CMYKcmyk(3%, 75.4%, 0%, 47.5%)
CIE-LABlab(33.04, 53.01, -35.02)
CIE-LCHlch(33.04, 63.53, 326.55°)
OKLaboklab(44.58% 0.1459 -0.0973)
OKLCHoklch(44.58% 0.175 326.3)
XYZxyz(14.0526, 7.5557, 23.2679)
Luminance0.0756 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822186 #258621
analogous
#502186 #822186 #862157
triadic
#822186 #868221 #218682
tetradic
#822186 #865021 #258621 #215786
square
#822186 #865021 #258621 #215786
split-complementary
#822186 #578621 #218650
monochromatic
#230924 #521555 #822186 #B22DB7 #CE4ED3

Accessibility & contrast

On white

8.36
#822186 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#822186 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822186
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822186#FFFFFF#000000##FFFFFF
##8221861.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#044689
Deuteranopia (green-blind)
#395284
Tritanopia (blue-blind)
#863252
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #822186;
/* rgb */ color: rgb(130, 33, 134);
/* oklch */ color: oklch(44.6% 0.175 326.3);
Tailwind
colors: {
  custom: {
    50: '#aa67aa',
    500: '#822186',
    950: '#000000',
  },
}
SCSS
$custom: #822186;
$custom-light: #aa67aa;
$custom-dark: #000000;
JSON
{
  "hex": "#822186",
  "rgb": {
    "r": 130,
    "g": 33,
    "b": 134
  },
  "hsl": {
    "h": 297.624,
    "s": 60.479,
    "l": 32.745
  },
  "oklch": {
    "l": 0.44584,
    "c": 0.17536,
    "h": 326.3
  },
  "luminance": 0.07555
}

Semantic roles & 50–950 ramp

primary
#822186
secondary
#50B74C
accent
#E4444A
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #822186

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

Preview Lab → · Contrast checker → · Palette generator →

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