#8213BB#8213BB

#8213BB is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 47.6% C 0.231 H 309.0°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#8213BB
RGBrgb(130, 19, 187)
HSLhsl(280, 82%, 40%)
HSVhsv(280, 90%, 73%)
CMYKcmyk(30.5%, 89.8%, 0%, 26.7%)
CIE-LABlab(35.60, 66.88, -62.97)
CIE-LCHlch(35.60, 91.86, 316.72°)
OKLaboklab(47.58% 0.1453 -0.1792)
OKLCHoklch(47.58% 0.231 309)
XYZxyz(18.4066, 8.7998, 47.7330)
Luminance0.0880 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8213BB #4CBB13
analogous
#2E13BB #8213BB #BB13A0
triadic
#8213BB #BB8213 #13BB82
tetradic
#8213BB #BB2E13 #4CBB13 #13A0BB
square
#8213BB #BB2E13 #4CBB13 #13A0BB
split-complementary
#8213BB #A0BB13 #13BB2E
monochromatic
#35084C #5B0D83 #8213BB #A523E9 #BC5AEE

Accessibility & contrast

On white

7.61
#8213BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#8213BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8213BB
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8213BB#FFFFFF#000000##FFFFFF
##8213BB1.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050BF
Deuteranopia (green-blind)
#0055B8
Tritanopia (blue-blind)
#79466E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8213bb;
/* rgb */ color: rgb(130, 19, 187);
/* oklch */ color: oklch(47.6% 0.231 309.0);
Tailwind
colors: {
  custom: {
    50: '#ad66d1',
    500: '#8213bb',
    950: '#000000',
  },
}
SCSS
$custom: #8213bb;
$custom-light: #ad66d1;
$custom-dark: #000000;
JSON
{
  "hex": "#8213bb",
  "rgb": {
    "r": 130,
    "g": 19,
    "b": 187
  },
  "hsl": {
    "h": 279.643,
    "s": 81.553,
    "l": 40.392
  },
  "oklch": {
    "l": 0.47582,
    "c": 0.23067,
    "h": 309
  },
  "luminance": 0.08799
}

Semantic roles & 50–950 ramp

primary
#8213BB
secondary
#81D158
accent
#F83074
background
#FBF6FC
surface
#F6EBF9
border
#D0C6D2
text
#110714
muted
#807A82

Preview Lab

Preview with #8213BB

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

Preview Lab → · Contrast checker → · Palette generator →

#8213BB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva