#8A19A1#8A19A1

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

Color values

HEX#8A19A1
RGBrgb(138, 25, 161)
HSLhsl(290, 73%, 36%)
HSVhsv(290, 84%, 63%)
CMYKcmyk(14.3%, 84.5%, 0%, 36.9%)
CIE-LABlab(35.35, 61.83, -47.79)
CIE-LCHlch(35.35, 78.14, 322.30°)
OKLaboklab(47.04% 0.1589 -0.1344)
OKLCHoklch(47.04% 0.208 319.8)
XYZxyz(17.2611, 8.6727, 34.4761)
Luminance0.0867 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A19A1 #30A119
analogous
#4619A1 #8A19A1 #A11974
triadic
#8A19A1 #A18A19 #19A18A
tetradic
#8A19A1 #A14619 #30A119 #1974A1
square
#8A19A1 #A14619 #30A119 #1974A1
split-complementary
#8A19A1 #74A119 #19A146
monochromatic
#2F0937 #5D116C #8A19A1 #B721D6 #CB50E4

Accessibility & contrast

On white

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

On black

2.73
#8A19A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8A19A1#FFFFFF#000000##FFFFFF
##8A19A11.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a19a1;
/* rgb */ color: rgb(138, 25, 161);
/* oklch */ color: oklch(47.0% 0.208 319.8);
Tailwind
colors: {
  custom: {
    50: '#b067bd',
    500: '#8a19a1',
    950: '#000000',
  },
}
SCSS
$custom: #8a19a1;
$custom-light: #b067bd;
$custom-dark: #000000;
JSON
{
  "hex": "#8a19a1",
  "rgb": {
    "r": 138,
    "g": 25,
    "b": 161
  },
  "hsl": {
    "h": 289.853,
    "s": 73.118,
    "l": 36.471
  },
  "oklch": {
    "l": 0.47041,
    "c": 0.20808,
    "h": 319.8
  },
  "luminance": 0.08672
}

Semantic roles & 50–950 ramp

primary
#8A19A1
secondary
#64C64F
accent
#F03857
background
#FBF6FB
surface
#F6EBF7
border
#D0C6D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8A19A1

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

Preview Lab → · Contrast checker → · Palette generator →

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