#821790#821790

#821790 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.5% C 0.193 H 322.6°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#821790
RGBrgb(130, 23, 144)
HSLhsl(293, 72%, 33%)
HSVhsv(293, 84%, 56%)
CMYKcmyk(9.7%, 84%, 0%, 43.5%)
CIE-LABlab(32.64, 57.78, -41.84)
CIE-LCHlch(32.64, 71.34, 324.09°)
OKLaboklab(44.51% 0.1533 -0.1172)
OKLCHoklch(44.51% 0.193 322.6)
XYZxyz(14.5459, 7.3731, 27.0371)
Luminance0.0737 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#821790 #259017
analogous
#461790 #821790 #901761
triadic
#821790 #908217 #179082
tetradic
#821790 #904617 #259017 #176190
square
#821790 #904617 #259017 #176190
split-complementary
#821790 #619017 #179046
monochromatic
#230626 #520F5B #821790 #B21FC5 #CE41E1

Accessibility & contrast

On white

8.49
#821790 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#821790 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #821790
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##821790#FFFFFF#000000##FFFFFF
##8217901.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004593
Deuteranopia (green-blind)
#2D518D
Tritanopia (blue-blind)
#843255
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #821790;
/* rgb */ color: rgb(130, 23, 144);
/* oklch */ color: oklch(44.5% 0.193 322.6);
Tailwind
colors: {
  custom: {
    50: '#aa64b1',
    500: '#821790',
    950: '#000000',
  },
}
SCSS
$custom: #821790;
$custom-light: #aa64b1;
$custom-dark: #000000;
JSON
{
  "hex": "#821790",
  "rgb": {
    "r": 130,
    "g": 23,
    "b": 144
  },
  "hsl": {
    "h": 293.058,
    "s": 72.455,
    "l": 32.745
  },
  "oklch": {
    "l": 0.44506,
    "c": 0.19296,
    "h": 322.6
  },
  "luminance": 0.07372
}

Semantic roles & 50–950 ramp

primary
#821790
secondary
#50C142
accent
#EF394E
background
#FAF6FB
surface
#F5EBF6
border
#CFC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #821790

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

Preview Lab → · Contrast checker → · Palette generator →

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