#821E75#821E75

#821E75 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.3% C 0.165 H 334.0°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#821E75
RGBrgb(130, 30, 117)
HSLhsl(308, 63%, 31%)
HSVhsv(308, 77%, 51%)
CMYKcmyk(0%, 76.9%, 10%, 49%)
CIE-LABlab(31.72, 51.16, -26.45)
CIE-LCHlch(31.72, 57.59, 332.66°)
OKLaboklab(43.32% 0.1485 -0.0725)
OKLCHoklch(43.32% 0.165 334)
XYZxyz(12.8812, 6.9598, 17.4911)
Luminance0.0696 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#821E75 #1E822B
analogous
#5D1E82 #821E75 #821E43
triadic
#821E75 #75821E #1E7582
tetradic
#821E75 #825D1E #1E822B #1E4382
square
#821E75 #825D1E #1E822B #1E4382
split-complementary
#821E75 #43821E #1E825D
monochromatic
#1F071B #501348 #821E75 #B429A2 #D446C2

Accessibility & contrast

On white

8.78
#821E75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#821E75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #821E75
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##821E75#FFFFFF#000000##FFFFFF
##821E751.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4177
Deuteranopia (green-blind)
#415073
Tritanopia (blue-blind)
#882848
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #821e75;
/* rgb */ color: rgb(130, 30, 117);
/* oklch */ color: oklch(43.3% 0.165 334.0);
Tailwind
colors: {
  custom: {
    50: '#aa659d',
    500: '#821e75',
    950: '#000000',
  },
}
SCSS
$custom: #821e75;
$custom-light: #aa659d;
$custom-dark: #000000;
JSON
{
  "hex": "#821e75",
  "rgb": {
    "r": 130,
    "g": 30,
    "b": 117
  },
  "hsl": {
    "h": 307.8,
    "s": 62.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.43322,
    "c": 0.16521,
    "h": 334
  },
  "luminance": 0.06959
}

Semantic roles & 50–950 ramp

primary
#821E75
secondary
#47B555
accent
#E65742
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #821E75

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

Preview Lab → · Contrast checker → · Palette generator →

#821E75 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva