#821BAA#821BAA

#821BAA is a mid, highly saturated purple. Relative luminance 0.084; OKLCH L 46.7% C 0.211 H 313.6°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#821BAA
RGBrgb(130, 27, 170)
HSLhsl(283, 73%, 39%)
HSVhsv(283, 84%, 67%)
CMYKcmyk(23.5%, 84.1%, 0%, 33.3%)
CIE-LABlab(34.87, 61.64, -54.04)
CIE-LCHlch(34.87, 81.97, 318.76°)
OKLaboklab(46.66% 0.1457 -0.153)
OKLCHoklch(46.66% 0.211 313.6)
XYZxyz(16.8523, 8.4325, 38.7623)
Luminance0.0843 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#821BAA #43AA1B
analogous
#3A1BAA #821BAA #AA1B8A
triadic
#821BAA #AA821B #1BAA82
tetradic
#821BAA #AA3A1B #43AA1B #1B8AAA
square
#821BAA #AA3A1B #43AA1B #1B8AAA
split-complementary
#821BAA #8AAA1B #1BAA3A
monochromatic
#310A40 #5A1375 #821BAA #A926DC #BE5BE5

Accessibility & contrast

On white

7.82
#821BAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#821BAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #821BAA
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##821BAA#FFFFFF#000000##FFFFFF
##821BAA1.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAE
Deuteranopia (green-blind)
#0054A7
Tritanopia (blue-blind)
#7E4065
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #821baa;
/* rgb */ color: rgb(130, 27, 170);
/* oklch */ color: oklch(46.7% 0.211 313.6);
Tailwind
colors: {
  custom: {
    50: '#ab67c4',
    500: '#821baa',
    950: '#000000',
  },
}
SCSS
$custom: #821baa;
$custom-light: #ab67c4;
$custom-dark: #000000;
JSON
{
  "hex": "#821baa",
  "rgb": {
    "r": 130,
    "g": 27,
    "b": 170
  },
  "hsl": {
    "h": 283.217,
    "s": 72.589,
    "l": 38.627
  },
  "oklch": {
    "l": 0.46655,
    "c": 0.21128,
    "h": 313.6
  },
  "luminance": 0.08432
}

Semantic roles & 50–950 ramp

primary
#821BAA
secondary
#78C958
accent
#EF396C
background
#FBF6FC
surface
#F6EBF8
border
#D0C6D1
text
#110713
muted
#807A82

Preview Lab

Preview with #821BAA

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

Preview Lab → · Contrast checker → · Palette generator →

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