#8221B4#8221B4

#8221B4 is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 47.8% C 0.215 H 310.3°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#8221B4
RGBrgb(130, 33, 180)
HSLhsl(280, 69%, 42%)
HSVhsv(280, 82%, 71%)
CMYKcmyk(27.8%, 81.7%, 0%, 29.4%)
CIE-LABlab(36.23, 61.92, -57.79)
CIE-LCHlch(36.23, 84.70, 316.98°)
OKLaboklab(47.85% 0.1391 -0.1641)
OKLCHoklch(47.85% 0.215 310.3)
XYZxyz(17.9864, 9.1292, 43.9858)
Luminance0.0913 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8221B4 #53B421
analogous
#3921B4 #8221B4 #B4219D
triadic
#8221B4 #B48221 #21B482
tetradic
#8221B4 #B43921 #53B421 #219DB4
square
#8221B4 #B43921 #53B421 #219DB4
split-complementary
#8221B4 #9DB421 #21B439
monochromatic
#370E4D #5D1880 #8221B4 #A338DA #BB6BE4

Accessibility & contrast

On white

7.43
#8221B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#8221B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8221B4
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8221B4#FFFFFF#000000##FFFFFF
##8221B41.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B8
Deuteranopia (green-blind)
#0057B1
Tritanopia (blue-blind)
#7B486C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8221b4;
/* rgb */ color: rgb(130, 33, 180);
/* oklch */ color: oklch(47.8% 0.215 310.3);
Tailwind
colors: {
  custom: {
    50: '#ac6acb',
    500: '#8221b4',
    950: '#000000',
  },
}
SCSS
$custom: #8221b4;
$custom-light: #ac6acb;
$custom-dark: #000000;
JSON
{
  "hex": "#8221b4",
  "rgb": {
    "r": 130,
    "g": 33,
    "b": 180
  },
  "hsl": {
    "h": 279.592,
    "s": 69.014,
    "l": 41.765
  },
  "oklch": {
    "l": 0.47847,
    "c": 0.2151,
    "h": 310.3
  },
  "luminance": 0.09129
}

Semantic roles & 50–950 ramp

primary
#8221B4
secondary
#89CA67
accent
#EC3C78
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#110713
muted
#807A82

Preview Lab

Preview with #8221B4

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

Preview Lab → · Contrast checker → · Palette generator →

#8221B4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva