#821773#821773

#821773 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.7% C 0.171 H 334.8°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#821773
RGBrgb(130, 23, 115)
HSLhsl(308, 70%, 30%)
HSVhsv(308, 82%, 51%)
CMYKcmyk(0%, 82.3%, 11.5%, 49%)
CIE-LABlab(30.87, 52.96, -26.51)
CIE-LCHlch(30.87, 59.22, 333.41°)
OKLaboklab(42.68% 0.1546 -0.0726)
OKLCHoklch(42.68% 0.171 334.8)
XYZxyz(12.6070, 6.5976, 16.8258)
Luminance0.0660 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#821773 #178226
analogous
#5B1782 #821773 #82173E
triadic
#821773 #738217 #177382
tetradic
#821773 #825B17 #178226 #173E82
square
#821773 #825B17 #178226 #173E82
split-complementary
#821773 #3E8217 #17825B
monochromatic
#1A0517 #4E0E45 #821773 #B620A1 #DC38C5

Accessibility & contrast

On white

9.05
#821773 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#821773 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #821773
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##821773#FFFFFF#000000##FFFFFF
##8217731.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#163F75
Deuteranopia (green-blind)
#3F4E71
Tritanopia (blue-blind)
#892245
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #821773;
/* rgb */ color: rgb(130, 23, 115);
/* oklch */ color: oklch(42.7% 0.171 334.8);
Tailwind
colors: {
  custom: {
    50: '#aa639b',
    500: '#821773',
    950: '#000000',
  },
}
SCSS
$custom: #821773;
$custom-light: #aa639b;
$custom-dark: #000000;
JSON
{
  "hex": "#821773",
  "rgb": {
    "r": 130,
    "g": 23,
    "b": 115
  },
  "hsl": {
    "h": 308.411,
    "s": 69.935,
    "l": 30
  },
  "oklch": {
    "l": 0.42682,
    "c": 0.17077,
    "h": 334.8
  },
  "luminance": 0.06596
}

Semantic roles & 50–950 ramp

primary
#821773
secondary
#3EB64F
accent
#ED543B
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #821773

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

Preview Lab → · Contrast checker → · Palette generator →

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