#821DB3#821DB3

#821DB3 is a mid, highly saturated purple. Relative luminance 0.089; OKLCH L 47.5% C 0.217 H 310.8°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#821DB3
RGBrgb(130, 29, 179)
HSLhsl(280, 72%, 41%)
HSVhsv(280, 84%, 70%)
CMYKcmyk(27.4%, 83.8%, 0%, 29.8%)
CIE-LABlab(35.75, 62.89, -57.98)
CIE-LCHlch(35.75, 85.54, 317.33°)
OKLaboklab(47.49% 0.1421 -0.1646)
OKLCHoklch(47.49% 0.217 310.8)
XYZxyz(17.7804, 8.8797, 43.4164)
Luminance0.0888 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#821DB3 #4EB31D
analogous
#371DB3 #821DB3 #B31D99
triadic
#821DB3 #B3821D #1DB382
tetradic
#821DB3 #B3371D #4EB31D #1D99B3
square
#821DB3 #B3371D #4EB31D #1D99B3
split-complementary
#821DB3 #99B31D #1DB337
monochromatic
#350C4A #5C147E #821DB3 #A530DD #BC64E6

Accessibility & contrast

On white

7.57
#821DB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#821DB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #821DB3
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##821DB3#FFFFFF#000000##FFFFFF
##821DB31.007.572.787.57
#FFFFFF7.571.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #821db3;
/* rgb */ color: rgb(130, 29, 179);
/* oklch */ color: oklch(47.5% 0.217 310.8);
Tailwind
colors: {
  custom: {
    50: '#ac68cb',
    500: '#821db3',
    950: '#000000',
  },
}
SCSS
$custom: #821db3;
$custom-light: #ac68cb;
$custom-dark: #000000;
JSON
{
  "hex": "#821db3",
  "rgb": {
    "r": 130,
    "g": 29,
    "b": 179
  },
  "hsl": {
    "h": 280.4,
    "s": 72.115,
    "l": 40.784
  },
  "oklch": {
    "l": 0.47488,
    "c": 0.21746,
    "h": 310.8
  },
  "luminance": 0.08879
}

Semantic roles & 50–950 ramp

primary
#821DB3
secondary
#84CB61
accent
#EF3974
background
#FBF6FC
surface
#F6EBF9
border
#D0C6D2
text
#110713
muted
#807A82

Preview Lab

Preview with #821DB3

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

Preview Lab → · Contrast checker → · Palette generator →

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