#8A15A1#8A15A1

#8A15A1 is a mid, highly saturated purple. Relative luminance 0.085; OKLCH L 46.8% C 0.211 H 319.9°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#8A15A1
RGBrgb(138, 21, 161)
HSLhsl(290, 77%, 36%)
HSVhsv(290, 87%, 63%)
CMYKcmyk(14.3%, 87%, 0%, 36.9%)
CIE-LABlab(35.03, 62.75, -48.30)
CIE-LCHlch(35.03, 79.19, 322.42°)
OKLaboklab(46.82% 0.1613 -0.1358)
OKLCHoklch(46.82% 0.211 319.9)
XYZxyz(17.1816, 8.5137, 34.4496)
Luminance0.0851 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A15A1 #2CA115
analogous
#4415A1 #8A15A1 #A11572
triadic
#8A15A1 #A18A15 #15A18A
tetradic
#8A15A1 #A14415 #2CA115 #1572A1
square
#8A15A1 #A14415 #2CA115 #1572A1
split-complementary
#8A15A1 #72A115 #15A144
monochromatic
#2D0735 #5C0E6B #8A15A1 #B81CD7 #CD49E7

Accessibility & contrast

On white

7.77
#8A15A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#8A15A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A15A1
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A15A1#FFFFFF#000000##FFFFFF
##8A15A11.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA4
Deuteranopia (green-blind)
#25569E
Tritanopia (blue-blind)
#8A385F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8a15a1;
/* rgb */ color: rgb(138, 21, 161);
/* oklch */ color: oklch(46.8% 0.211 319.9);
Tailwind
colors: {
  custom: {
    50: '#b166be',
    500: '#8a15a1',
    950: '#000000',
  },
}
SCSS
$custom: #8a15a1;
$custom-light: #b166be;
$custom-dark: #000000;
JSON
{
  "hex": "#8a15a1",
  "rgb": {
    "r": 138,
    "g": 21,
    "b": 161
  },
  "hsl": {
    "h": 290.143,
    "s": 76.923,
    "l": 35.686
  },
  "oklch": {
    "l": 0.4682,
    "c": 0.21088,
    "h": 319.9
  },
  "luminance": 0.08513
}

Semantic roles & 50–950 ramp

primary
#8A15A1
secondary
#5EC849
accent
#F33454
background
#FBF6FB
surface
#F6EBF7
border
#D0C6D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8A15A1

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

Preview Lab → · Contrast checker → · Palette generator →

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