#8220AB#8220AB

#8220AB is a mid, highly saturated purple. Relative luminance 0.087; OKLCH L 47.1% C 0.208 H 313.0°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#8220AB
RGBrgb(130, 32, 171)
HSLhsl(282, 68%, 40%)
HSVhsv(282, 81%, 67%)
CMYKcmyk(24%, 81.3%, 0%, 32.9%)
CIE-LABlab(35.44, 60.39, -53.72)
CIE-LCHlch(35.44, 80.82, 318.35°)
OKLaboklab(47.08% 0.142 -0.1521)
OKLCHoklch(47.08% 0.208 313)
XYZxyz(17.0718, 8.7197, 39.3040)
Luminance0.0872 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8220AB #49AB20
analogous
#3C20AB #8220AB #AB208F
triadic
#8220AB #AB8220 #20AB82
tetradic
#8220AB #AB3C20 #49AB20 #208FAB
square
#8220AB #AB3C20 #49AB20 #208FAB
split-complementary
#8220AB #8FAB20 #20AB3C
monochromatic
#340D44 #5B1677 #8220AB #A730D8 #BD63E2

Accessibility & contrast

On white

7.65
#8220AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#8220AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8220AB
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8220AB#FFFFFF#000000##FFFFFF
##8220AB1.007.652.747.65
#FFFFFF7.651.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAF
Deuteranopia (green-blind)
#0555A8
Tritanopia (blue-blind)
#7D4367
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8220ab;
/* rgb */ color: rgb(130, 32, 171);
/* oklch */ color: oklch(47.1% 0.208 313.0);
Tailwind
colors: {
  custom: {
    50: '#ab69c5',
    500: '#8220ab',
    950: '#000000',
  },
}
SCSS
$custom: #8220ab;
$custom-light: #ab69c5;
$custom-dark: #000000;
JSON
{
  "hex": "#8220ab",
  "rgb": {
    "r": 130,
    "g": 32,
    "b": 171
  },
  "hsl": {
    "h": 282.302,
    "s": 68.473,
    "l": 39.804
  },
  "oklch": {
    "l": 0.47078,
    "c": 0.20803,
    "h": 313
  },
  "luminance": 0.08719
}

Semantic roles & 50–950 ramp

primary
#8220AB
secondary
#7EC760
accent
#EB3C70
background
#FBF6FC
surface
#F6EBF8
border
#D0C6D1
text
#110713
muted
#807A82

Preview Lab

Preview with #8220AB

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

Preview Lab → · Contrast checker → · Palette generator →

#8220AB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva