#8A219B#8A219B

#8A219B is a mid, vivid purple. Relative luminance 0.089; OKLCH L 47.2% C 0.196 H 321.6°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#8A219B
RGBrgb(138, 33, 155)
HSLhsl(292, 65%, 37%)
HSVhsv(292, 79%, 61%)
CMYKcmyk(11%, 78.7%, 0%, 39.2%)
CIE-LABlab(35.71, 58.50, -43.57)
CIE-LCHlch(35.71, 72.94, 323.32°)
OKLaboklab(47.17% 0.1538 -0.122)
OKLCHoklch(47.17% 0.196 321.6)
XYZxyz(16.9408, 8.8585, 31.8215)
Luminance0.0886 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A219B #329B21
analogous
#4D219B #8A219B #9B216F
triadic
#8A219B #9B8A21 #219B8A
tetradic
#8A219B #9B4D21 #329B21 #216F9B
square
#8A219B #9B4D21 #329B21 #216F9B
split-complementary
#8A219B #6F9B21 #219B4D
monochromatic
#300C36 #5D1669 #8A219B #B72CCD #CA5ADC

Accessibility & contrast

On white

7.58
#8A219B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#8A219B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A219B
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A219B#FFFFFF#000000##FFFFFF
##8A219B1.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9E
Deuteranopia (green-blind)
#325898
Tritanopia (blue-blind)
#8B3A5E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8a219b;
/* rgb */ color: rgb(138, 33, 155);
/* oklch */ color: oklch(47.2% 0.196 321.6);
Tailwind
colors: {
  custom: {
    50: '#b069b9',
    500: '#8a219b',
    950: '#000000',
  },
}
SCSS
$custom: #8a219b;
$custom-light: #b069b9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a219b",
  "rgb": {
    "r": 138,
    "g": 33,
    "b": 155
  },
  "hsl": {
    "h": 291.639,
    "s": 64.894,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47169,
    "c": 0.19633,
    "h": 321.6
  },
  "luminance": 0.08858
}

Semantic roles & 50–950 ramp

primary
#8A219B
secondary
#66C058
accent
#E84057
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8A219B

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

Preview Lab → · Contrast checker → · Palette generator →

#8A219B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva