#821977#821977

#821977 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.0% C 0.172 H 333.0°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#821977
RGBrgb(130, 25, 119)
HSLhsl(306, 68%, 30%)
HSVhsv(306, 81%, 51%)
CMYKcmyk(0%, 80.8%, 8.5%, 49%)
CIE-LABlab(31.29, 53.02, -28.40)
CIE-LCHlch(31.29, 60.14, 331.83°)
OKLaboklab(43.05% 0.1531 -0.078)
OKLCHoklch(43.05% 0.172 333)
XYZxyz(12.8834, 6.7741, 18.0782)
Luminance0.0677 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#821977 #198224
analogous
#591982 #821977 #821942
triadic
#821977 #778219 #197782
tetradic
#821977 #825919 #198224 #194282
square
#821977 #825919 #198224 #194282
split-complementary
#821977 #428219 #198259
monochromatic
#1B0519 #4F0F48 #821977 #B523A6 #D93CC9

Accessibility & contrast

On white

8.92
#821977 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#821977 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #821977
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##821977#FFFFFF#000000##FFFFFF
##8219771.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134079
Deuteranopia (green-blind)
#3E4F75
Tritanopia (blue-blind)
#882547
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #821977;
/* rgb */ color: rgb(130, 25, 119);
/* oklch */ color: oklch(43.0% 0.172 333.0);
Tailwind
colors: {
  custom: {
    50: '#aa649e',
    500: '#821977',
    950: '#000000',
  },
}
SCSS
$custom: #821977;
$custom-light: #aa649e;
$custom-dark: #000000;
JSON
{
  "hex": "#821977",
  "rgb": {
    "r": 130,
    "g": 25,
    "b": 119
  },
  "hsl": {
    "h": 306.286,
    "s": 67.742,
    "l": 30.392
  },
  "oklch": {
    "l": 0.4305,
    "c": 0.17183,
    "h": 333
  },
  "luminance": 0.06773
}

Semantic roles & 50–950 ramp

primary
#821977
secondary
#41B64D
accent
#EB4F3D
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #821977

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

Preview Lab → · Contrast checker → · Palette generator →

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