#822386#822386

#822386 is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.8% C 0.173 H 326.2°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#822386
RGBrgb(130, 35, 134)
HSLhsl(298, 59%, 33%)
HSVhsv(298, 74%, 53%)
CMYKcmyk(3%, 73.9%, 0%, 47.5%)
CIE-LABlab(33.29, 52.31, -34.63)
CIE-LCHlch(33.29, 62.73, 326.49°)
OKLaboklab(44.76% 0.1439 -0.0962)
OKLCHoklch(44.76% 0.173 326.2)
XYZxyz(14.1098, 7.6701, 23.2869)
Luminance0.0767 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822386 #278623
analogous
#502386 #822386 #862358
triadic
#822386 #868223 #238682
tetradic
#822386 #865023 #278623 #235886
square
#822386 #865023 #278623 #235886
split-complementary
#822386 #588623 #238650
monochromatic
#240A25 #531655 #822386 #B130B7 #CD52D2

Accessibility & contrast

On white

8.29
#822386 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#822386 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822386
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822386#FFFFFF#000000##FFFFFF
##8223861.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#094789
Deuteranopia (green-blind)
#3A5284
Tritanopia (blue-blind)
#853352
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #822386;
/* rgb */ color: rgb(130, 35, 134);
/* oklch */ color: oklch(44.8% 0.173 326.2);
Tailwind
colors: {
  custom: {
    50: '#aa68aa',
    500: '#822386',
    950: '#000000',
  },
}
SCSS
$custom: #822386;
$custom-light: #aa68aa;
$custom-dark: #000000;
JSON
{
  "hex": "#822386",
  "rgb": {
    "r": 130,
    "g": 35,
    "b": 134
  },
  "hsl": {
    "h": 297.576,
    "s": 58.58,
    "l": 33.137
  },
  "oklch": {
    "l": 0.4476,
    "c": 0.1731,
    "h": 326.2
  },
  "luminance": 0.07669
}

Semantic roles & 50–950 ramp

primary
#822386
secondary
#53B54F
accent
#E2464C
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #822386

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

Preview Lab → · Contrast checker → · Palette generator →

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