#822396#822396

#822396 is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.8% C 0.187 H 319.9°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#822396
RGBrgb(130, 35, 150)
HSLhsl(290, 62%, 36%)
HSVhsv(290, 77%, 59%)
CMYKcmyk(13.3%, 76.7%, 0%, 41.2%)
CIE-LABlab(34.29, 55.27, -42.87)
CIE-LCHlch(34.29, 69.95, 322.20°)
OKLaboklab(45.8% 0.1429 -0.1202)
OKLCHoklch(45.8% 0.187 319.9)
XYZxyz(15.3113, 8.1507, 29.6150)
Luminance0.0815 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822396 #379623
analogous
#492396 #822396 #962371
triadic
#822396 #968223 #239682
tetradic
#822396 #964923 #379623 #237196
square
#822396 #964923 #379623 #237196
split-complementary
#822396 #719623 #239649
monochromatic
#2C0C33 #571764 #822396 #AD2FC8 #C35BD9

Accessibility & contrast

On white

7.98
#822396 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#822396 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822396
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822396#FFFFFF#000000##FFFFFF
##8223961.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A99
Deuteranopia (green-blind)
#2E5493
Tritanopia (blue-blind)
#823B5B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #822396;
/* rgb */ color: rgb(130, 35, 150);
/* oklch */ color: oklch(45.8% 0.187 319.9);
Tailwind
colors: {
  custom: {
    50: '#aa69b5',
    500: '#822396',
    950: '#000000',
  },
}
SCSS
$custom: #822396;
$custom-light: #aa69b5;
$custom-dark: #000000;
JSON
{
  "hex": "#822396",
  "rgb": {
    "r": 130,
    "g": 35,
    "b": 150
  },
  "hsl": {
    "h": 289.565,
    "s": 62.162,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45802,
    "c": 0.18677,
    "h": 319.9
  },
  "luminance": 0.0815
}

Semantic roles & 50–950 ramp

primary
#822396
secondary
#69BD58
accent
#E5435F
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #822396

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

Preview Lab → · Contrast checker → · Palette generator →

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