#821BC9#821BC9

#821BC9 is a mid, highly saturated violet. Relative luminance 0.097; OKLCH L 49.2% C 0.238 H 305.1°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#821BC9
RGBrgb(130, 27, 201)
HSLhsl(276, 76%, 45%)
HSVhsv(276, 87%, 79%)
CMYKcmyk(35.3%, 86.6%, 0%, 21.2%)
CIE-LABlab(37.38, 67.97, -68.26)
CIE-LCHlch(37.38, 96.33, 314.88°)
OKLaboklab(49.18% 0.1367 -0.1948)
OKLCHoklch(49.18% 0.238 305.1)
XYZxyz(20.1381, 9.7469, 56.0674)
Luminance0.0975 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#821BC9 #62C91B
analogous
#2B1BC9 #821BC9 #C91BB9
triadic
#821BC9 #C9821B #1BC982
tetradic
#821BC9 #C92B1B #62C91B #1BB9C9
square
#821BC9 #C92B1B #62C91B #1BB9C9
split-complementary
#821BC9 #B9C91B #1BC92B
monochromatic
#3C0D5D #5F1493 #821BC9 #A03CE5 #BA72EC

Accessibility & contrast

On white

7.12
#821BC9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#821BC9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #821BC9
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##821BC9#FFFFFF#000000##FFFFFF
##821BC91.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056CD
Deuteranopia (green-blind)
#0058C6
Tritanopia (blue-blind)
#744F77
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #821bc9;
/* rgb */ color: rgb(130, 27, 201);
/* oklch */ color: oklch(49.2% 0.238 305.1);
Tailwind
colors: {
  custom: {
    50: '#ad69db',
    500: '#821bc9',
    950: '#000000',
  },
}
SCSS
$custom: #821bc9;
$custom-light: #ad69db;
$custom-dark: #000000;
JSON
{
  "hex": "#821bc9",
  "rgb": {
    "r": 130,
    "g": 27,
    "b": 201
  },
  "hsl": {
    "h": 275.517,
    "s": 76.316,
    "l": 44.706
  },
  "oklch": {
    "l": 0.49177,
    "c": 0.23793,
    "h": 305.1
  },
  "luminance": 0.09747
}

Semantic roles & 50–950 ramp

primary
#821BC9
secondary
#97D36D
accent
#F33582
background
#FBF6FD
surface
#F6ECFB
border
#D0C7D4
text
#110715
muted
#807A83

Preview Lab

Preview with #821BC9

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

Preview Lab → · Contrast checker → · Palette generator →

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