#8A1AA1#8A1AA1

#8A1AA1 is a mid, highly saturated purple. Relative luminance 0.087; OKLCH L 47.1% C 0.207 H 319.7°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#8A1AA1
RGBrgb(138, 26, 161)
HSLhsl(290, 72%, 37%)
HSVhsv(290, 84%, 63%)
CMYKcmyk(14.3%, 83.9%, 0%, 36.9%)
CIE-LABlab(35.43, 61.58, -47.65)
CIE-LCHlch(35.43, 77.86, 322.27°)
OKLaboklab(47.1% 0.1582 -0.134)
OKLCHoklch(47.1% 0.207 319.7)
XYZxyz(17.2828, 8.7162, 34.4834)
Luminance0.0872 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1AA1 #31A11A
analogous
#471AA1 #8A1AA1 #A11A75
triadic
#8A1AA1 #A18A1A #1AA18A
tetradic
#8A1AA1 #A1471A #31A11A #1A75A1
square
#8A1AA1 #A1471A #31A11A #1A75A1
split-complementary
#8A1AA1 #75A11A #1AA147
monochromatic
#300938 #5D116C #8A1AA1 #B723D6 #CA52E3

Accessibility & contrast

On white

7.66
#8A1AA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#8A1AA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1AA1
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1AA1#FFFFFF#000000##FFFFFF
##8A1AA11.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA4
Deuteranopia (green-blind)
#28579E
Tritanopia (blue-blind)
#8A3A60
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8a1aa1;
/* rgb */ color: rgb(138, 26, 161);
/* oklch */ color: oklch(47.1% 0.207 319.7);
Tailwind
colors: {
  custom: {
    50: '#b067bd',
    500: '#8a1aa1',
    950: '#000000',
  },
}
SCSS
$custom: #8a1aa1;
$custom-light: #b067bd;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1aa1",
  "rgb": {
    "r": 138,
    "g": 26,
    "b": 161
  },
  "hsl": {
    "h": 289.778,
    "s": 72.193,
    "l": 36.667
  },
  "oklch": {
    "l": 0.47101,
    "c": 0.20731,
    "h": 319.7
  },
  "luminance": 0.08715
}

Semantic roles & 50–950 ramp

primary
#8A1AA1
secondary
#65C651
accent
#EF3958
background
#FBF6FB
surface
#F6EBF7
border
#D0C6D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8A1AA1

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

Preview Lab → · Contrast checker → · Palette generator →

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