#8A1E81#8A1E81

#8A1E81 is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.3% C 0.179 H 331.9°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#8A1E81
RGBrgb(138, 30, 129)
HSLhsl(305, 64%, 33%)
HSVhsv(305, 78%, 54%)
CMYKcmyk(0%, 78.3%, 6.5%, 45.9%)
CIE-LABlab(33.81, 54.94, -30.60)
CIE-LCHlch(33.81, 62.89, 330.89°)
OKLaboklab(45.31% 0.1575 -0.0842)
OKLCHoklch(45.31% 0.179 331.9)
XYZxyz(14.9080, 7.9180, 21.5078)
Luminance0.0792 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1E81 #1E8A27
analogous
#5D1E8A #8A1E81 #8A1E4B
triadic
#8A1E81 #818A1E #1E818A
tetradic
#8A1E81 #8A5D1E #1E8A27 #1E4B8A
square
#8A1E81 #8A5D1E #1E8A27 #1E4B8A
split-complementary
#8A1E81 #4B8A1E #1E8A5D
monochromatic
#250823 #581352 #8A1E81 #BC29B0 #D84BCC

Accessibility & contrast

On white

8.13
#8A1E81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#8A1E81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1E81
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1E81#FFFFFF#000000##FFFFFF
##8A1E811.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154684
Deuteranopia (green-blind)
#42557E
Tritanopia (blue-blind)
#902B4E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8a1e81;
/* rgb */ color: rgb(138, 30, 129);
/* oklch */ color: oklch(45.3% 0.179 331.9);
Tailwind
colors: {
  custom: {
    50: '#b067a6',
    500: '#8a1e81',
    950: '#000000',
  },
}
SCSS
$custom: #8a1e81;
$custom-light: #b067a6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1e81",
  "rgb": {
    "r": 138,
    "g": 30,
    "b": 129
  },
  "hsl": {
    "h": 305,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.45311,
    "c": 0.17861,
    "h": 331.9
  },
  "luminance": 0.07917
}

Semantic roles & 50–950 ramp

primary
#8A1E81
secondary
#4ABA53
accent
#E74E41
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8A1E81

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

Preview Lab → · Contrast checker → · Palette generator →

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