#8A1E89#8A1E89

#8A1E89 is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.8% C 0.185 H 328.5°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#8A1E89
RGBrgb(138, 30, 137)
HSLhsl(301, 64%, 33%)
HSVhsv(301, 78%, 54%)
CMYKcmyk(0%, 78.3%, 0.7%, 45.9%)
CIE-LABlab(34.27, 56.25, -34.84)
CIE-LCHlch(34.27, 66.17, 328.23°)
OKLaboklab(45.79% 0.1575 -0.0965)
OKLCHoklch(45.79% 0.185 328.5)
XYZxyz(15.4607, 8.1391, 24.4188)
Luminance0.0814 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1E89 #1E8A1F
analogous
#551E8A #8A1E89 #8A1E53
triadic
#8A1E89 #898A1E #1E898A
tetradic
#8A1E89 #8A551E #1E8A1F #1E538A
square
#8A1E89 #8A551E #1E8A1F #1E538A
split-complementary
#8A1E89 #538A1E #1E8A55
monochromatic
#250825 #581357 #8A1E89 #BC29BB #D84BD6

Accessibility & contrast

On white

7.99
#8A1E89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#8A1E89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1E89
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1E89#FFFFFF#000000##FFFFFF
##8A1E891.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04488C
Deuteranopia (green-blind)
#3E5586
Tritanopia (blue-blind)
#8F3053
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8a1e89;
/* rgb */ color: rgb(138, 30, 137);
/* oklch */ color: oklch(45.8% 0.185 328.5);
Tailwind
colors: {
  custom: {
    50: '#b067ac',
    500: '#8a1e89',
    950: '#000000',
  },
}
SCSS
$custom: #8a1e89;
$custom-light: #b067ac;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1e89",
  "rgb": {
    "r": 138,
    "g": 30,
    "b": 137
  },
  "hsl": {
    "h": 300.556,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.45787,
    "c": 0.18474,
    "h": 328.5
  },
  "luminance": 0.08138
}

Semantic roles & 50–950 ramp

primary
#8A1E89
secondary
#4ABA4B
accent
#E74241
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8A1E89

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

Preview Lab → · Contrast checker → · Palette generator →

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