#822496#822496

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

Color values

HEX#822496
RGBrgb(130, 36, 150)
HSLhsl(289, 61%, 36%)
HSVhsv(289, 76%, 59%)
CMYKcmyk(13.3%, 76%, 0%, 41.2%)
CIE-LABlab(34.42, 54.92, -42.67)
CIE-LCHlch(34.42, 69.55, 322.15°)
OKLaboklab(45.89% 0.142 -0.1197)
OKLCHoklch(45.89% 0.186 319.9)
XYZxyz(15.3411, 8.2104, 29.6249)
Luminance0.0821 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822496 #389624
analogous
#492496 #822496 #962471
triadic
#822496 #968224 #249682
tetradic
#822496 #964924 #389624 #247196
square
#822496 #964924 #389624 #247196
split-complementary
#822496 #719624 #249649
monochromatic
#2C0C33 #571865 #822496 #AD30C7 #C25CD8

Accessibility & contrast

On white

7.95
#822496 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#822496 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822496
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822496#FFFFFF#000000##FFFFFF
##8224961.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #822496;
/* rgb */ color: rgb(130, 36, 150);
/* oklch */ color: oklch(45.9% 0.186 319.9);
Tailwind
colors: {
  custom: {
    50: '#aa69b5',
    500: '#822496',
    950: '#000000',
  },
}
SCSS
$custom: #822496;
$custom-light: #aa69b5;
$custom-dark: #000000;
JSON
{
  "hex": "#822496",
  "rgb": {
    "r": 130,
    "g": 36,
    "b": 150
  },
  "hsl": {
    "h": 289.474,
    "s": 61.29,
    "l": 36.471
  },
  "oklch": {
    "l": 0.45889,
    "c": 0.1857,
    "h": 319.9
  },
  "luminance": 0.0821
}

Semantic roles & 50–950 ramp

primary
#822496
secondary
#6BBD59
accent
#E44360
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #822496

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

Preview Lab → · Contrast checker → · Palette generator →

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