#821EBB#821EBB

#821EBB is a mid, highly saturated violet. Relative luminance 0.093; OKLCH L 48.2% C 0.224 H 308.5°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#821EBB
RGBrgb(130, 30, 187)
HSLhsl(278, 72%, 43%)
HSVhsv(278, 84%, 73%)
CMYKcmyk(30.5%, 84%, 0%, 26.7%)
CIE-LABlab(36.49, 64.26, -61.52)
CIE-LCHlch(36.49, 88.96, 316.25°)
OKLaboklab(48.2% 0.1393 -0.175)
OKLCHoklch(48.2% 0.224 308.5)
XYZxyz(18.6380, 9.2626, 47.8101)
Luminance0.0926 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#821EBB #57BB1E
analogous
#341EBB #821EBB #BB1EA5
triadic
#821EBB #BB821E #1EBB82
tetradic
#821EBB #BB341E #57BB1E #1EA5BB
square
#821EBB #BB341E #57BB1E #1EA5BB
split-complementary
#821EBB #A5BB1E #1EBB34
monochromatic
#390D52 #5D1686 #821EBB #A237DF #BB6CE7

Accessibility & contrast

On white

7.36
#821EBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#821EBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #821EBB
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##821EBB#FFFFFF#000000##FFFFFF
##821EBB1.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BF
Deuteranopia (green-blind)
#0057B8
Tritanopia (blue-blind)
#794A70
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #821ebb;
/* rgb */ color: rgb(130, 30, 187);
/* oklch */ color: oklch(48.2% 0.224 308.5);
Tailwind
colors: {
  custom: {
    50: '#ac69d0',
    500: '#821ebb',
    950: '#000000',
  },
}
SCSS
$custom: #821ebb;
$custom-light: #ac69d0;
$custom-dark: #000000;
JSON
{
  "hex": "#821ebb",
  "rgb": {
    "r": 130,
    "g": 30,
    "b": 187
  },
  "hsl": {
    "h": 278.217,
    "s": 72.35,
    "l": 42.549
  },
  "oklch": {
    "l": 0.48196,
    "c": 0.22366,
    "h": 308.5
  },
  "luminance": 0.09262
}

Semantic roles & 50–950 ramp

primary
#821EBB
secondary
#8CCD67
accent
#EF397B
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#110714
muted
#807A82

Preview Lab

Preview with #821EBB

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

Preview Lab → · Contrast checker → · Palette generator →

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