#821988#821988

#821988 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 44.1% C 0.185 H 325.7°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#821988
RGBrgb(130, 25, 136)
HSLhsl(297, 69%, 32%)
HSVhsv(297, 82%, 53%)
CMYKcmyk(4.4%, 81.6%, 0%, 46.7%)
CIE-LABlab(32.30, 55.84, -37.44)
CIE-LCHlch(32.30, 67.23, 326.16°)
OKLaboklab(44.1% 0.1527 -0.1043)
OKLCHoklch(44.1% 0.185 325.7)
XYZxyz(13.9972, 7.2196, 23.9441)
Luminance0.0722 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#821988 #1F8819
analogous
#4B1988 #821988 #881957
triadic
#821988 #888219 #198882
tetradic
#821988 #884B19 #1F8819 #195788
square
#821988 #884B19 #1F8819 #195788
split-complementary
#821988 #578819 #19884B
monochromatic
#1F0621 #510F54 #821988 #B323BC #D340DC

Accessibility & contrast

On white

8.59
#821988 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#821988 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #821988
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##821988#FFFFFF#000000##FFFFFF
##8219881.008.592.448.59
#FFFFFF8.591.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448B
Deuteranopia (green-blind)
#345085
Tritanopia (blue-blind)
#852F51
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #821988;
/* rgb */ color: rgb(130, 25, 136);
/* oklch */ color: oklch(44.1% 0.185 325.7);
Tailwind
colors: {
  custom: {
    50: '#aa64ab',
    500: '#821988',
    950: '#000000',
  },
}
SCSS
$custom: #821988;
$custom-light: #aa64ab;
$custom-dark: #000000;
JSON
{
  "hex": "#821988",
  "rgb": {
    "r": 130,
    "g": 25,
    "b": 136
  },
  "hsl": {
    "h": 296.757,
    "s": 68.944,
    "l": 31.569
  },
  "oklch": {
    "l": 0.44099,
    "c": 0.18492,
    "h": 325.7
  },
  "luminance": 0.07219
}

Semantic roles & 50–950 ramp

primary
#821988
secondary
#48BB41
accent
#EC3C46
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #821988

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

Preview Lab → · Contrast checker → · Palette generator →

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