#821CB3#821CB3

#821CB3 is a mid, highly saturated purple. Relative luminance 0.088; OKLCH L 47.4% C 0.218 H 310.9°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#821CB3
RGBrgb(130, 28, 179)
HSLhsl(281, 73%, 41%)
HSVhsv(281, 84%, 70%)
CMYKcmyk(27.4%, 84.4%, 0%, 29.8%)
CIE-LABlab(35.66, 63.17, -58.13)
CIE-LCHlch(35.66, 85.85, 317.38°)
OKLaboklab(47.42% 0.1428 -0.165)
OKLCHoklch(47.42% 0.218 310.9)
XYZxyz(17.7563, 8.8315, 43.4084)
Luminance0.0883 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#821CB3 #4DB31C
analogous
#371CB3 #821CB3 #B31C98
triadic
#821CB3 #B3821C #1CB382
tetradic
#821CB3 #B3371C #4DB31C #1C98B3
square
#821CB3 #B3371C #4DB31C #1C98B3
split-complementary
#821CB3 #98B31C #1CB337
monochromatic
#350B49 #5C147E #821CB3 #A52EDE #BC63E7

Accessibility & contrast

On white

7.59
#821CB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#821CB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #821CB3
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##821CB3#FFFFFF#000000##FFFFFF
##821CB31.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B7
Deuteranopia (green-blind)
#0055B0
Tritanopia (blue-blind)
#7B456B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #821cb3;
/* rgb */ color: rgb(130, 28, 179);
/* oklch */ color: oklch(47.4% 0.218 310.9);
Tailwind
colors: {
  custom: {
    50: '#ac68cb',
    500: '#821cb3',
    950: '#000000',
  },
}
SCSS
$custom: #821cb3;
$custom-light: #ac68cb;
$custom-dark: #000000;
JSON
{
  "hex": "#821cb3",
  "rgb": {
    "r": 130,
    "g": 28,
    "b": 179
  },
  "hsl": {
    "h": 280.53,
    "s": 72.947,
    "l": 40.588
  },
  "oklch": {
    "l": 0.47423,
    "c": 0.21821,
    "h": 310.9
  },
  "luminance": 0.08831
}

Semantic roles & 50–950 ramp

primary
#821CB3
secondary
#82CB5F
accent
#F03874
background
#FBF6FC
surface
#F6EBF9
border
#D0C6D2
text
#110713
muted
#807A82

Preview Lab

Preview with #821CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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