#8A1AA0#8A1AA0

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

Color values

HEX#8A1AA0
RGBrgb(138, 26, 160)
HSLhsl(290, 72%, 36%)
HSVhsv(290, 84%, 63%)
CMYKcmyk(13.8%, 83.8%, 0%, 37.3%)
CIE-LABlab(35.36, 61.39, -47.16)
CIE-LCHlch(35.36, 77.41, 322.47°)
OKLaboklab(47.03% 0.1584 -0.1325)
OKLCHoklch(47.03% 0.207 320.1)
XYZxyz(17.1950, 8.6811, 34.0208)
Luminance0.0868 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1AA0 #30A01A
analogous
#471AA0 #8A1AA0 #A01A73
triadic
#8A1AA0 #A08A1A #1AA08A
tetradic
#8A1AA0 #A0471A #30A01A #1A73A0
square
#8A1AA0 #A0471A #30A01A #1A73A0
split-complementary
#8A1AA0 #73A01A #1AA047
monochromatic
#2F0937 #5D116B #8A1AA0 #B723D5 #CB52E3

Accessibility & contrast

On white

7.68
#8A1AA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A1AA0
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1AA0#FFFFFF#000000##FFFFFF
##8A1AA01.007.682.747.68
#FFFFFF7.681.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA3
Deuteranopia (green-blind)
#29579D
Tritanopia (blue-blind)
#8A395F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8a1aa0;
/* rgb */ color: rgb(138, 26, 160);
/* oklch */ color: oklch(47.0% 0.207 320.1);
Tailwind
colors: {
  custom: {
    50: '#b067bd',
    500: '#8a1aa0',
    950: '#000000',
  },
}
SCSS
$custom: #8a1aa0;
$custom-light: #b067bd;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1aa0",
  "rgb": {
    "r": 138,
    "g": 26,
    "b": 160
  },
  "hsl": {
    "h": 290.149,
    "s": 72.043,
    "l": 36.471
  },
  "oklch": {
    "l": 0.4703,
    "c": 0.20651,
    "h": 320.1
  },
  "luminance": 0.0868
}

Semantic roles & 50–950 ramp

primary
#8A1AA0
secondary
#64C550
accent
#EF3957
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8A1AA0

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

Preview Lab → · Contrast checker → · Palette generator →

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