#8218A1#8218A1

#8218A1 is a mid, highly saturated purple. Relative luminance 0.080; OKLCH L 45.8% C 0.206 H 316.6°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#8218A1
RGBrgb(130, 24, 161)
HSLhsl(286, 74%, 36%)
HSVhsv(286, 85%, 63%)
CMYKcmyk(19.3%, 85.1%, 0%, 36.9%)
CIE-LABlab(33.93, 60.67, -50.15)
CIE-LCHlch(33.93, 78.71, 320.42°)
OKLaboklab(45.79% 0.1497 -0.1415)
OKLCHoklch(45.79% 0.206 316.6)
XYZxyz(15.9646, 7.9730, 34.4093)
Luminance0.0797 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8218A1 #37A118
analogous
#3E18A1 #8218A1 #A1187C
triadic
#8218A1 #A18218 #18A182
tetradic
#8218A1 #A13E18 #37A118 #187CA1
square
#8218A1 #A13E18 #37A118 #187CA1
split-complementary
#8218A1 #7CA118 #18A13E
monochromatic
#2C0836 #57106C #8218A1 #AD20D6 #C34FE5

Accessibility & contrast

On white

8.09
#8218A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#8218A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8218A1
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8218A1#FFFFFF#000000##FFFFFF
##8218A11.008.092.598.09
#FFFFFF8.091.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA4
Deuteranopia (green-blind)
#17539E
Tritanopia (blue-blind)
#803B5F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8218a1;
/* rgb */ color: rgb(130, 24, 161);
/* oklch */ color: oklch(45.8% 0.206 316.6);
Tailwind
colors: {
  custom: {
    50: '#ab65be',
    500: '#8218a1',
    950: '#000000',
  },
}
SCSS
$custom: #8218a1;
$custom-light: #ab65be;
$custom-dark: #000000;
JSON
{
  "hex": "#8218a1",
  "rgb": {
    "r": 130,
    "g": 24,
    "b": 161
  },
  "hsl": {
    "h": 286.423,
    "s": 74.054,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45787,
    "c": 0.20601,
    "h": 316.6
  },
  "luminance": 0.07972
}

Semantic roles & 50–950 ramp

primary
#8218A1
secondary
#69C74E
accent
#F13761
background
#FBF6FB
surface
#F6EBF7
border
#D0C6D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8218A1

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

Preview Lab → · Contrast checker → · Palette generator →

#8218A1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva