#821BAE#821BAE

#821BAE is a mid, highly saturated purple. Relative luminance 0.086; OKLCH L 47.0% C 0.215 H 312.4°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#821BAE
RGBrgb(130, 27, 174)
HSLhsl(282, 73%, 39%)
HSVhsv(282, 84%, 68%)
CMYKcmyk(25.3%, 84.5%, 0%, 31.8%)
CIE-LABlab(35.18, 62.43, -55.94)
CIE-LCHlch(35.18, 83.83, 318.14°)
OKLaboklab(46.97% 0.1447 -0.1586)
OKLCHoklch(46.97% 0.215 312.4)
XYZxyz(17.2364, 8.5862, 40.7855)
Luminance0.0859 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#821BAE #47AE1B
analogous
#391BAE #821BAE #AE1B91
triadic
#821BAE #AE821B #1BAE82
tetradic
#821BAE #AE391B #47AE1B #1B91AE
square
#821BAE #AE391B #47AE1B #1B91AE
split-complementary
#821BAE #91AE1B #1BAE39
monochromatic
#330B44 #5A1379 #821BAE #A728DE #BD5DE6

Accessibility & contrast

On white

7.73
#821BAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#821BAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #821BAE
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##821BAE#FFFFFF#000000##FFFFFF
##821BAE1.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB2
Deuteranopia (green-blind)
#0055AB
Tritanopia (blue-blind)
#7D4268
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #821bae;
/* rgb */ color: rgb(130, 27, 174);
/* oklch */ color: oklch(47.0% 0.215 312.4);
Tailwind
colors: {
  custom: {
    50: '#ab67c7',
    500: '#821bae',
    950: '#000000',
  },
}
SCSS
$custom: #821bae;
$custom-light: #ab67c7;
$custom-dark: #000000;
JSON
{
  "hex": "#821bae",
  "rgb": {
    "r": 130,
    "g": 27,
    "b": 174
  },
  "hsl": {
    "h": 282.041,
    "s": 73.134,
    "l": 39.412
  },
  "oklch": {
    "l": 0.46965,
    "c": 0.21469,
    "h": 312.4
  },
  "luminance": 0.08586
}

Semantic roles & 50–950 ramp

primary
#821BAE
secondary
#7CCA5B
accent
#F0386F
background
#FBF6FC
surface
#F6EBF8
border
#D0C6D1
text
#110713
muted
#807A82

Preview Lab

Preview with #821BAE

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

Preview Lab → · Contrast checker → · Palette generator →

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