#821CA6#821CA6

#821CA6 is a mid, highly saturated purple. Relative luminance 0.083; OKLCH L 46.4% C 0.207 H 314.8°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#821CA6
RGBrgb(130, 28, 166)
HSLhsl(284, 71%, 38%)
HSVhsv(284, 83%, 65%)
CMYKcmyk(21.7%, 83.1%, 0%, 34.9%)
CIE-LABlab(34.66, 60.57, -51.98)
CIE-LCHlch(34.66, 79.82, 319.37°)
OKLaboklab(46.42% 0.146 -0.1469)
OKLCHoklch(46.42% 0.207 314.8)
XYZxyz(16.5030, 8.3301, 36.8076)
Luminance0.0833 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#821CA6 #40A61C
analogous
#3D1CA6 #821CA6 #A61C85
triadic
#821CA6 #A6821C #1CA682
tetradic
#821CA6 #A63D1C #40A61C #1C85A6
square
#821CA6 #A63D1C #40A61C #1C85A6
split-complementary
#821CA6 #85A61C #1CA63D
monochromatic
#300A3D #591372 #821CA6 #AB25DA #BF59E3

Accessibility & contrast

On white

7.88
#821CA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#821CA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #821CA6
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##821CA6#FFFFFF#000000##FFFFFF
##821CA61.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAA
Deuteranopia (green-blind)
#1054A3
Tritanopia (blue-blind)
#7F3F63
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #821ca6;
/* rgb */ color: rgb(130, 28, 166);
/* oklch */ color: oklch(46.4% 0.207 314.8);
Tailwind
colors: {
  custom: {
    50: '#ab67c1',
    500: '#821ca6',
    950: '#000000',
  },
}
SCSS
$custom: #821ca6;
$custom-light: #ab67c1;
$custom-dark: #000000;
JSON
{
  "hex": "#821ca6",
  "rgb": {
    "r": 130,
    "g": 28,
    "b": 166
  },
  "hsl": {
    "h": 284.348,
    "s": 71.134,
    "l": 38.039
  },
  "oklch": {
    "l": 0.46416,
    "c": 0.2071,
    "h": 314.8
  },
  "luminance": 0.0833
}

Semantic roles & 50–950 ramp

primary
#821CA6
secondary
#74C757
accent
#EE3A69
background
#FBF6FC
surface
#F6EBF8
border
#D0C6D1
text
#110712
muted
#807A81

Preview Lab

Preview with #821CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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