#821996#821996

#821996 is a mid, vivid purple. Relative luminance 0.076; OKLCH L 45.1% C 0.196 H 320.3°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#821996
RGBrgb(130, 25, 150)
HSLhsl(290, 71%, 34%)
HSVhsv(290, 83%, 59%)
CMYKcmyk(13.3%, 83.3%, 0%, 41.2%)
CIE-LABlab(33.23, 58.35, -44.58)
CIE-LCHlch(33.23, 73.43, 322.62°)
OKLaboklab(45.05% 0.1511 -0.1252)
OKLCHoklch(45.05% 0.196 320.3)
XYZxyz(15.0579, 7.6439, 29.5305)
Luminance0.0764 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#821996 #2D9619
analogous
#441996 #821996 #96196C
triadic
#821996 #968219 #199682
tetradic
#821996 #964419 #2D9619 #196C96
square
#821996 #964419 #2D9619 #196C96
split-complementary
#821996 #6C9619 #199644
monochromatic
#27082D #551062 #821996 #AF22CA #C849E1

Accessibility & contrast

On white

8.30
#821996 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #821996
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##821996#FFFFFF#000000##FFFFFF
##8219961.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004799
Deuteranopia (green-blind)
#285293
Tritanopia (blue-blind)
#823659
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #821996;
/* rgb */ color: rgb(130, 25, 150);
/* oklch */ color: oklch(45.1% 0.196 320.3);
Tailwind
colors: {
  custom: {
    50: '#aa65b5',
    500: '#821996',
    950: '#000000',
  },
}
SCSS
$custom: #821996;
$custom-light: #aa65b5;
$custom-dark: #000000;
JSON
{
  "hex": "#821996",
  "rgb": {
    "r": 130,
    "g": 25,
    "b": 150
  },
  "hsl": {
    "h": 290.4,
    "s": 71.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.4505,
    "c": 0.1962,
    "h": 320.3
  },
  "luminance": 0.07643
}

Semantic roles & 50–950 ramp

primary
#821996
secondary
#5CC249
accent
#EE3A57
background
#FAF6FB
surface
#F5EBF6
border
#CFC6D0
text
#110611
muted
#807A80

Preview Lab

Preview with #821996

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

Preview Lab → · Contrast checker → · Palette generator →

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