#8221B2#8221B2

#8221B2 is a mid, highly saturated purple. Relative luminance 0.090; OKLCH L 47.7% C 0.213 H 310.9°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#8221B2
RGBrgb(130, 33, 178)
HSLhsl(280, 69%, 41%)
HSVhsv(280, 81%, 70%)
CMYKcmyk(27%, 81.5%, 0%, 30.2%)
CIE-LABlab(36.08, 61.51, -56.86)
CIE-LCHlch(36.08, 83.76, 317.25°)
OKLaboklab(47.69% 0.1396 -0.1613)
OKLCHoklch(47.69% 0.213 310.9)
XYZxyz(17.7841, 9.0483, 42.9205)
Luminance0.0905 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8221B2 #51B221
analogous
#3A21B2 #8221B2 #B2219A
triadic
#8221B2 #B28221 #21B282
tetradic
#8221B2 #B23A21 #51B221 #219AB2
square
#8221B2 #B23A21 #51B221 #219AB2
split-complementary
#8221B2 #9AB221 #21B23A
monochromatic
#370E4B #5C177E #8221B2 #A436DA #BB6AE3

Accessibility & contrast

On white

7.47
#8221B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#8221B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8221B2
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8221B2#FFFFFF#000000##FFFFFF
##8221B21.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B6
Deuteranopia (green-blind)
#0056AF
Tritanopia (blue-blind)
#7B476B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8221b2;
/* rgb */ color: rgb(130, 33, 178);
/* oklch */ color: oklch(47.7% 0.213 310.9);
Tailwind
colors: {
  custom: {
    50: '#ab69ca',
    500: '#8221b2',
    950: '#000000',
  },
}
SCSS
$custom: #8221b2;
$custom-light: #ab69ca;
$custom-dark: #000000;
JSON
{
  "hex": "#8221b2",
  "rgb": {
    "r": 130,
    "g": 33,
    "b": 178
  },
  "hsl": {
    "h": 280.138,
    "s": 68.72,
    "l": 41.373
  },
  "oklch": {
    "l": 0.47691,
    "c": 0.21332,
    "h": 310.9
  },
  "luminance": 0.09048
}

Semantic roles & 50–950 ramp

primary
#8221B2
secondary
#87C966
accent
#EC3C76
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110713
muted
#807A82

Preview Lab

Preview with #8221B2

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

Preview Lab → · Contrast checker → · Palette generator →

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