#821774#821774

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

Color values

HEX#821774
RGBrgb(130, 23, 116)
HSLhsl(308, 70%, 30%)
HSVhsv(308, 82%, 51%)
CMYKcmyk(0%, 82.3%, 10.8%, 49%)
CIE-LABlab(30.93, 53.11, -27.06)
CIE-LCHlch(30.93, 59.61, 333.00°)
OKLaboklab(42.74% 0.1546 -0.0742)
OKLCHoklch(42.74% 0.171 334.4)
XYZxyz(12.6648, 6.6207, 17.1305)
Luminance0.0662 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#821774 #178225
analogous
#5A1782 #821774 #82173F
triadic
#821774 #748217 #177482
tetradic
#821774 #825A17 #178225 #173F82
square
#821774 #825A17 #178225 #173F82
split-complementary
#821774 #3F8217 #17825A
monochromatic
#1A0517 #4E0E46 #821774 #B620A2 #DC38C6

Accessibility & contrast

On white

9.04
#821774 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #821774
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##821774#FFFFFF#000000##FFFFFF
##8217741.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#143F76
Deuteranopia (green-blind)
#3F4E72
Tritanopia (blue-blind)
#892245
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #821774;
/* rgb */ color: rgb(130, 23, 116);
/* oklch */ color: oklch(42.7% 0.171 334.4);
Tailwind
colors: {
  custom: {
    50: '#aa639c',
    500: '#821774',
    950: '#000000',
  },
}
SCSS
$custom: #821774;
$custom-light: #aa639c;
$custom-dark: #000000;
JSON
{
  "hex": "#821774",
  "rgb": {
    "r": 130,
    "g": 23,
    "b": 116
  },
  "hsl": {
    "h": 307.85,
    "s": 69.935,
    "l": 30
  },
  "oklch": {
    "l": 0.42739,
    "c": 0.17149,
    "h": 334.4
  },
  "luminance": 0.0662
}

Semantic roles & 50–950 ramp

primary
#821774
secondary
#3EB64E
accent
#ED523B
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #821774

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

Preview Lab → · Contrast checker → · Palette generator →

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