#8A1F89#8A1F89

#8A1F89 is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.9% C 0.184 H 328.5°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#8A1F89
RGBrgb(138, 31, 137)
HSLhsl(301, 63%, 33%)
HSVhsv(301, 78%, 54%)
CMYKcmyk(0%, 77.5%, 0.7%, 45.9%)
CIE-LABlab(34.38, 55.95, -34.67)
CIE-LCHlch(34.38, 65.82, 328.22°)
OKLaboklab(45.86% 0.1567 -0.0961)
OKLCHoklch(45.86% 0.184 328.5)
XYZxyz(15.4864, 8.1906, 24.4273)
Luminance0.0819 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1F89 #1F8A20
analogous
#551F8A #8A1F89 #8A1F53
triadic
#8A1F89 #898A1F #1F898A
tetradic
#8A1F89 #8A551F #1F8A20 #1F538A
square
#8A1F89 #8A551F #1F8A20 #1F538A
split-complementary
#8A1F89 #538A1F #1F8A55
monochromatic
#260926 #581457 #8A1F89 #BC2ABB #D74CD6

Accessibility & contrast

On white

7.96
#8A1F89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#8A1F89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1F89
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1F89#FFFFFF#000000##FFFFFF
##8A1F891.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a1f89;
/* rgb */ color: rgb(138, 31, 137);
/* oklch */ color: oklch(45.9% 0.184 328.5);
Tailwind
colors: {
  custom: {
    50: '#b068ac',
    500: '#8a1f89',
    950: '#000000',
  },
}
SCSS
$custom: #8a1f89;
$custom-light: #b068ac;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1f89",
  "rgb": {
    "r": 138,
    "g": 31,
    "b": 137
  },
  "hsl": {
    "h": 300.561,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.45862,
    "c": 0.18376,
    "h": 328.5
  },
  "luminance": 0.08189
}

Semantic roles & 50–950 ramp

primary
#8A1F89
secondary
#4BBA4C
accent
#E64341
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8A1F89

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

Preview Lab → · Contrast checker → · Palette generator →

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