#8A147F#8A147F

#8A147F is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.5% C 0.186 H 332.7°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#8A147F
RGBrgb(138, 20, 127)
HSLhsl(306, 75%, 31%)
HSVhsv(306, 86%, 54%)
CMYKcmyk(0%, 85.5%, 8%, 45.9%)
CIE-LABlab(32.78, 57.28, -30.97)
CIE-LCHlch(32.78, 65.12, 331.60°)
OKLaboklab(44.54% 0.1652 -0.0853)
OKLCHoklch(44.54% 0.186 332.7)
XYZxyz(14.5622, 7.4372, 20.7431)
Luminance0.0744 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A147F #148A1F
analogous
#5A148A #8A147F #8A1444
triadic
#8A147F #7F8A14 #147F8A
tetradic
#8A147F #8A5A14 #148A1F #14448A
square
#8A147F #8A5A14 #148A1F #14448A
split-complementary
#8A147F #448A14 #148A5A
monochromatic
#1F051D #550C4E #8A147F #BF1CB0 #E236D2

Accessibility & contrast

On white

8.44
#8A147F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#8A147F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A147F
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A147F#FFFFFF#000000##FFFFFF
##8A147F1.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#094382
Deuteranopia (green-blind)
#40537C
Tritanopia (blue-blind)
#90244B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8a147f;
/* rgb */ color: rgb(138, 20, 127);
/* oklch */ color: oklch(44.5% 0.186 332.7);
Tailwind
colors: {
  custom: {
    50: '#b064a4',
    500: '#8a147f',
    950: '#000000',
  },
}
SCSS
$custom: #8a147f;
$custom-light: #b064a4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a147f",
  "rgb": {
    "r": 138,
    "g": 20,
    "b": 127
  },
  "hsl": {
    "h": 305.593,
    "s": 74.684,
    "l": 30.98
  },
  "oklch": {
    "l": 0.4454,
    "c": 0.18591,
    "h": 332.7
  },
  "luminance": 0.07436
}

Semantic roles & 50–950 ramp

primary
#8A147F
secondary
#3CBE48
accent
#F14836
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11060F
muted
#807A7F

Preview Lab

Preview with #8A147F

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

Preview Lab → · Contrast checker → · Palette generator →

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