#8021BD#8021BD

#8021BD is a mid, highly saturated violet. Relative luminance 0.094; OKLCH L 48.3% C 0.223 H 307.0°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#8021BD
RGBrgb(128, 33, 189)
HSLhsl(277, 70%, 44%)
HSVhsv(277, 83%, 74%)
CMYKcmyk(32.3%, 82.5%, 0%, 25.9%)
CIE-LABlab(36.65, 63.49, -62.44)
CIE-LCHlch(36.65, 89.05, 315.48°)
OKLaboklab(48.3% 0.134 -0.1778)
OKLCHoklch(48.3% 0.223 307)
XYZxyz(18.6293, 9.3513, 48.9578)
Luminance0.0935 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8021BD #5EBD21
analogous
#3221BD #8021BD #BD21AC
triadic
#8021BD #BD8021 #21BD80
tetradic
#8021BD #BD3221 #5EBD21 #21ACBD
square
#8021BD #BD3221 #5EBD21 #21ACBD
split-complementary
#8021BD #ACBD21 #21BD32
monochromatic
#390F55 #5D1889 #8021BD #9F3EDD #B972E6

Accessibility & contrast

On white

7.32
#8021BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#8021BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8021BD
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8021BD#FFFFFF#000000##FFFFFF
##8021BD1.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C1
Deuteranopia (green-blind)
#0057BA
Tritanopia (blue-blind)
#754C71
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8021bd;
/* rgb */ color: rgb(128, 33, 189);
/* oklch */ color: oklch(48.3% 0.223 307.0);
Tailwind
colors: {
  custom: {
    50: '#ab6ad2',
    500: '#8021bd',
    950: '#000000',
  },
}
SCSS
$custom: #8021bd;
$custom-light: #ab6ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#8021bd",
  "rgb": {
    "r": 128,
    "g": 33,
    "b": 189
  },
  "hsl": {
    "h": 276.538,
    "s": 70.27,
    "l": 43.529
  },
  "oklch": {
    "l": 0.48301,
    "c": 0.22262,
    "h": 307
  },
  "luminance": 0.09351
}

Semantic roles & 50–950 ramp

primary
#8021BD
secondary
#92CD6D
accent
#ED3B80
background
#FBF6FD
surface
#F6ECFA
border
#D0C7D3
text
#110714
muted
#807A83

Preview Lab

Preview with #8021BD

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

Preview Lab → · Contrast checker → · Palette generator →

#8021BD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva