#8A1E88#8A1E88

#8A1E88 is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.7% C 0.184 H 328.9°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#8A1E88
RGBrgb(138, 30, 136)
HSLhsl(301, 64%, 33%)
HSVhsv(301, 78%, 54%)
CMYKcmyk(0%, 78.3%, 1.4%, 45.9%)
CIE-LABlab(34.21, 56.09, -34.31)
CIE-LCHlch(34.21, 65.75, 328.54°)
OKLaboklab(45.73% 0.1575 -0.095)
OKLCHoklch(45.73% 0.184 328.9)
XYZxyz(15.3893, 8.1106, 24.0427)
Luminance0.0811 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1E88 #1E8A20
analogous
#561E8A #8A1E88 #8A1E52
triadic
#8A1E88 #888A1E #1E888A
tetradic
#8A1E88 #8A561E #1E8A20 #1E528A
square
#8A1E88 #8A561E #1E8A20 #1E528A
split-complementary
#8A1E88 #528A1E #1E8A56
monochromatic
#250825 #581356 #8A1E88 #BC29BA #D84BD5

Accessibility & contrast

On white

8.01
#8A1E88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#8A1E88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1E88
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1E88#FFFFFF#000000##FFFFFF
##8A1E881.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06478B
Deuteranopia (green-blind)
#3E5585
Tritanopia (blue-blind)
#8F2F52
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8a1e88;
/* rgb */ color: rgb(138, 30, 136);
/* oklch */ color: oklch(45.7% 0.184 328.9);
Tailwind
colors: {
  custom: {
    50: '#b067ab',
    500: '#8a1e88',
    950: '#000000',
  },
}
SCSS
$custom: #8a1e88;
$custom-light: #b067ab;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1e88",
  "rgb": {
    "r": 138,
    "g": 30,
    "b": 136
  },
  "hsl": {
    "h": 301.111,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.45726,
    "c": 0.18396,
    "h": 328.9
  },
  "luminance": 0.08109
}

Semantic roles & 50–950 ramp

primary
#8A1E88
secondary
#4ABA4C
accent
#E74441
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8A1E88

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

Preview Lab → · Contrast checker → · Palette generator →

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