#821B94#821B94

#821B94 is a mid, vivid purple. Relative luminance 0.077; OKLCH L 45.0% C 0.193 H 321.0°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#821B94
RGBrgb(130, 27, 148)
HSLhsl(291, 69%, 34%)
HSVhsv(291, 82%, 58%)
CMYKcmyk(12.2%, 81.8%, 0%, 42%)
CIE-LABlab(33.28, 57.43, -43.27)
CIE-LCHlch(33.28, 71.91, 323.00°)
OKLaboklab(45.04% 0.1499 -0.1214)
OKLCHoklch(45.04% 0.193 321)
XYZxyz(14.9425, 7.6686, 28.7044)
Luminance0.0767 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#821B94 #2D941B
analogous
#451B94 #821B94 #941B6A
triadic
#821B94 #94821B #1B9482
tetradic
#821B94 #94451B #2D941B #1B6A94
square
#821B94 #94451B #2D941B #1B6A94
split-complementary
#821B94 #6A941B #1B9445
monochromatic
#27082C #551260 #821B94 #AF24C8 #C84BDE

Accessibility & contrast

On white

8.29
#821B94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#821B94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #821B94
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##821B94#FFFFFF#000000##FFFFFF
##821B941.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004797
Deuteranopia (green-blind)
#2B5291
Tritanopia (blue-blind)
#833658
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #821b94;
/* rgb */ color: rgb(130, 27, 148);
/* oklch */ color: oklch(45.0% 0.193 321.0);
Tailwind
colors: {
  custom: {
    50: '#aa66b4',
    500: '#821b94',
    950: '#000000',
  },
}
SCSS
$custom: #821b94;
$custom-light: #aa66b4;
$custom-dark: #000000;
JSON
{
  "hex": "#821b94",
  "rgb": {
    "r": 130,
    "g": 27,
    "b": 148
  },
  "hsl": {
    "h": 291.074,
    "s": 69.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.45044,
    "c": 0.19287,
    "h": 321
  },
  "luminance": 0.07668
}

Semantic roles & 50–950 ramp

primary
#821B94
secondary
#5CC04B
accent
#EC3C56
background
#FAF6FB
surface
#F5EBF6
border
#CFC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #821B94

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

Preview Lab → · Contrast checker → · Palette generator →

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