#822291#822291

#822291 is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.4% C 0.184 H 321.8°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#822291
RGBrgb(130, 34, 145)
HSLhsl(292, 62%, 35%)
HSVhsv(292, 77%, 57%)
CMYKcmyk(10.3%, 76.6%, 0%, 43.1%)
CIE-LABlab(33.85, 54.67, -40.52)
CIE-LCHlch(33.85, 68.05, 323.45°)
OKLaboklab(45.38% 0.1443 -0.1134)
OKLCHoklch(45.38% 0.184 321.8)
XYZxyz(14.8882, 7.9351, 27.5300)
Luminance0.0793 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822291 #319122
analogous
#4B2291 #822291 #912268
triadic
#822291 #918222 #229182
tetradic
#822291 #914B22 #319122 #226891
square
#822291 #914B22 #319122 #226891
split-complementary
#822291 #689122 #22914B
monochromatic
#290B2E #56165F #822291 #AE2EC3 #C656D7

Accessibility & contrast

On white

8.12
#822291 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#822291 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822291
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822291#FFFFFF#000000##FFFFFF
##8222911.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004994
Deuteranopia (green-blind)
#31538E
Tritanopia (blue-blind)
#833858
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #822291;
/* rgb */ color: rgb(130, 34, 145);
/* oklch */ color: oklch(45.4% 0.184 321.8);
Tailwind
colors: {
  custom: {
    50: '#aa68b2',
    500: '#822291',
    950: '#000000',
  },
}
SCSS
$custom: #822291;
$custom-light: #aa68b2;
$custom-dark: #000000;
JSON
{
  "hex": "#822291",
  "rgb": {
    "r": 130,
    "g": 34,
    "b": 145
  },
  "hsl": {
    "h": 291.892,
    "s": 62.011,
    "l": 35.098
  },
  "oklch": {
    "l": 0.4538,
    "c": 0.18353,
    "h": 321.8
  },
  "luminance": 0.07934
}

Semantic roles & 50–950 ramp

primary
#822291
secondary
#62BB53
accent
#E54359
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #822291

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

Preview Lab → · Contrast checker → · Palette generator →

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