#821DBB#821DBB

#821DBB is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 48.1% C 0.224 H 308.6°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#821DBB
RGBrgb(130, 29, 187)
HSLhsl(278, 73%, 42%)
HSVhsv(278, 84%, 73%)
CMYKcmyk(30.5%, 84.5%, 0%, 26.7%)
CIE-LABlab(36.39, 64.53, -61.68)
CIE-LCHlch(36.39, 89.27, 316.30°)
OKLaboklab(48.13% 0.1399 -0.1754)
OKLCHoklch(48.13% 0.224 308.6)
XYZxyz(18.6131, 9.2127, 47.8018)
Luminance0.0921 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#821DBB #56BB1D
analogous
#331DBB #821DBB #BB1DA5
triadic
#821DBB #BB821D #1DBB82
tetradic
#821DBB #BB331D #56BB1D #1DA5BB
square
#821DBB #BB331D #56BB1D #1DA5BB
split-complementary
#821DBB #A5BB1D #1DBB33
monochromatic
#380D51 #5D1586 #821DBB #A235E0 #BB6AE8

Accessibility & contrast

On white

7.39
#821DBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#821DBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #821DBB
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##821DBB#FFFFFF#000000##FFFFFF
##821DBB1.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #821dbb;
/* rgb */ color: rgb(130, 29, 187);
/* oklch */ color: oklch(48.1% 0.224 308.6);
Tailwind
colors: {
  custom: {
    50: '#ac69d0',
    500: '#821dbb',
    950: '#000000',
  },
}
SCSS
$custom: #821dbb;
$custom-light: #ac69d0;
$custom-dark: #000000;
JSON
{
  "hex": "#821dbb",
  "rgb": {
    "r": 130,
    "g": 29,
    "b": 187
  },
  "hsl": {
    "h": 278.354,
    "s": 73.148,
    "l": 42.353
  },
  "oklch": {
    "l": 0.4813,
    "c": 0.2244,
    "h": 308.6
  },
  "luminance": 0.09212
}

Semantic roles & 50–950 ramp

primary
#821DBB
secondary
#8BCE66
accent
#F0387A
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#110714
muted
#807A82

Preview Lab

Preview with #821DBB

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

Preview Lab → · Contrast checker → · Palette generator →

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