#8A1DA1#8A1DA1

#8A1DA1 is a mid, highly saturated purple. Relative luminance 0.089; OKLCH L 47.3% C 0.205 H 319.6°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#8A1DA1
RGBrgb(138, 29, 161)
HSLhsl(290, 69%, 37%)
HSVhsv(290, 82%, 63%)
CMYKcmyk(14.3%, 82%, 0%, 36.9%)
CIE-LABlab(35.71, 60.78, -47.21)
CIE-LCHlch(35.71, 76.96, 322.16°)
OKLaboklab(47.29% 0.1561 -0.1327)
OKLCHoklch(47.29% 0.205 319.6)
XYZxyz(17.3528, 8.8561, 34.5067)
Luminance0.0886 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1DA1 #34A11D
analogous
#481DA1 #8A1DA1 #A11D76
triadic
#8A1DA1 #A18A1D #1DA18A
tetradic
#8A1DA1 #A1481D #34A11D #1D76A1
square
#8A1DA1 #A1481D #34A11D #1D76A1
split-complementary
#8A1DA1 #76A11D #1DA148
monochromatic
#310A39 #5E146D #8A1DA1 #B626D5 #C958E1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A1DA1#FFFFFF#000000##FFFFFF
##8A1DA11.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)
#004DA4
Deuteranopia (green-blind)
#2A579E
Tritanopia (blue-blind)
#8A3B60
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8a1da1;
/* rgb */ color: rgb(138, 29, 161);
/* oklch */ color: oklch(47.3% 0.205 319.6);
Tailwind
colors: {
  custom: {
    50: '#b068bd',
    500: '#8a1da1',
    950: '#000000',
  },
}
SCSS
$custom: #8a1da1;
$custom-light: #b068bd;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1da1",
  "rgb": {
    "r": 138,
    "g": 29,
    "b": 161
  },
  "hsl": {
    "h": 289.545,
    "s": 69.474,
    "l": 37.255
  },
  "oklch": {
    "l": 0.47293,
    "c": 0.20489,
    "h": 319.6
  },
  "luminance": 0.08855
}

Semantic roles & 50–950 ramp

primary
#8A1DA1
secondary
#69C455
accent
#EC3C5A
background
#FBF6FB
surface
#F6EBF7
border
#D0C6D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8A1DA1

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

Preview Lab → · Contrast checker → · Palette generator →

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