#821877#821877

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

Color values

HEX#821877
RGBrgb(130, 24, 119)
HSLhsl(306, 69%, 30%)
HSVhsv(306, 82%, 51%)
CMYKcmyk(0%, 81.5%, 8.5%, 49%)
CIE-LABlab(31.19, 53.30, -28.55)
CIE-LCHlch(31.19, 60.47, 331.83°)
OKLaboklab(42.98% 0.1539 -0.0785)
OKLCHoklch(42.98% 0.173 333)
XYZxyz(12.8624, 6.7321, 18.0712)
Luminance0.0673 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#821877 #188223
analogous
#581882 #821877 #821842
triadic
#821877 #778218 #187782
tetradic
#821877 #825818 #188223 #184282
square
#821877 #825818 #188223 #184282
split-complementary
#821877 #428218 #188258
monochromatic
#1B0518 #4E0E48 #821877 #B622A6 #DB3ACA

Accessibility & contrast

On white

8.95
#821877 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #821877
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##821877#FFFFFF#000000##FFFFFF
##8218771.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#114079
Deuteranopia (green-blind)
#3E4F75
Tritanopia (blue-blind)
#882547
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #821877;
/* rgb */ color: rgb(130, 24, 119);
/* oklch */ color: oklch(43.0% 0.173 333.0);
Tailwind
colors: {
  custom: {
    50: '#aa639e',
    500: '#821877',
    950: '#000000',
  },
}
SCSS
$custom: #821877;
$custom-light: #aa639e;
$custom-dark: #000000;
JSON
{
  "hex": "#821877",
  "rgb": {
    "r": 130,
    "g": 24,
    "b": 119
  },
  "hsl": {
    "h": 306.226,
    "s": 68.831,
    "l": 30.196
  },
  "oklch": {
    "l": 0.4298,
    "c": 0.17277,
    "h": 333
  },
  "luminance": 0.06731
}

Semantic roles & 50–950 ramp

primary
#821877
secondary
#40B64C
accent
#EC4E3C
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #821877

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

Preview Lab → · Contrast checker → · Palette generator →

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