#8218A0#8218A0

#8218A0 is a mid, highly saturated purple. Relative luminance 0.079; OKLCH L 45.7% C 0.205 H 316.9°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#8218A0
RGBrgb(130, 24, 160)
HSLhsl(287, 74%, 36%)
HSVhsv(287, 85%, 63%)
CMYKcmyk(18.8%, 85%, 0%, 37.3%)
CIE-LABlab(33.85, 60.48, -49.66)
CIE-LCHlch(33.85, 78.26, 320.61°)
OKLaboklab(45.71% 0.1499 -0.1401)
OKLCHoklch(45.71% 0.205 316.9)
XYZxyz(15.8768, 7.9379, 33.9467)
Luminance0.0794 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8218A0 #36A018
analogous
#3E18A0 #8218A0 #A0187A
triadic
#8218A0 #A08218 #18A082
tetradic
#8218A0 #A03E18 #36A018 #187AA0
square
#8218A0 #A03E18 #36A018 #187AA0
split-complementary
#8218A0 #7AA018 #18A03E
monochromatic
#2C0836 #57106B #8218A0 #AD20D5 #C34EE4

Accessibility & contrast

On white

8.12
#8218A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8218A0
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8218A0#FFFFFF#000000##FFFFFF
##8218A01.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA3
Deuteranopia (green-blind)
#19529D
Tritanopia (blue-blind)
#803A5F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8218a0;
/* rgb */ color: rgb(130, 24, 160);
/* oklch */ color: oklch(45.7% 0.205 316.9);
Tailwind
colors: {
  custom: {
    50: '#ab65bd',
    500: '#8218a0',
    950: '#000000',
  },
}
SCSS
$custom: #8218a0;
$custom-light: #ab65bd;
$custom-dark: #000000;
JSON
{
  "hex": "#8218a0",
  "rgb": {
    "r": 130,
    "g": 24,
    "b": 160
  },
  "hsl": {
    "h": 286.765,
    "s": 73.913,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45712,
    "c": 0.20519,
    "h": 316.9
  },
  "luminance": 0.07937
}

Semantic roles & 50–950 ramp

primary
#8218A0
secondary
#68C64D
accent
#F13760
background
#FBF6FB
surface
#F6EBF7
border
#D0C6D0
text
#110612
muted
#807A81

Preview Lab

Preview with #8218A0

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

Preview Lab → · Contrast checker → · Palette generator →

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