#8A147C#8A147C

#8A147C is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.4% C 0.184 H 334.0°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#8A147C
RGBrgb(138, 20, 124)
HSLhsl(307, 75%, 31%)
HSVhsv(307, 86%, 54%)
CMYKcmyk(0%, 85.5%, 10.1%, 45.9%)
CIE-LABlab(32.61, 56.82, -29.36)
CIE-LCHlch(32.61, 63.96, 332.68°)
OKLaboklab(44.37% 0.1652 -0.0806)
OKLCHoklch(44.37% 0.184 334)
XYZxyz(14.3696, 7.3601, 19.7287)
Luminance0.0736 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A147C #148A22
analogous
#5D148A #8A147C #8A1441
triadic
#8A147C #7C8A14 #147C8A
tetradic
#8A147C #8A5D14 #148A22 #14418A
square
#8A147C #8A5D14 #148A22 #14418A
split-complementary
#8A147C #418A14 #148A5D
monochromatic
#1F051C #550C4C #8A147C #BF1CAC #E236CE

Accessibility & contrast

On white

8.50
#8A147C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#8A147C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A147C
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A147C#FFFFFF#000000##FFFFFF
##8A147C1.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F427F
Deuteranopia (green-blind)
#415379
Tritanopia (blue-blind)
#912249
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8a147c;
/* rgb */ color: rgb(138, 20, 124);
/* oklch */ color: oklch(44.4% 0.184 334.0);
Tailwind
colors: {
  custom: {
    50: '#b064a2',
    500: '#8a147c',
    950: '#000000',
  },
}
SCSS
$custom: #8a147c;
$custom-light: #b064a2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a147c",
  "rgb": {
    "r": 138,
    "g": 20,
    "b": 124
  },
  "hsl": {
    "h": 307.119,
    "s": 74.684,
    "l": 30.98
  },
  "oklch": {
    "l": 0.44365,
    "c": 0.18378,
    "h": 334
  },
  "luminance": 0.07359
}

Semantic roles & 50–950 ramp

primary
#8A147C
secondary
#3CBE4B
accent
#F14D36
background
#FBF6FA
surface
#F6EBF3
border
#D0C6CD
text
#11060F
muted
#807A7F

Preview Lab

Preview with #8A147C

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

Preview Lab → · Contrast checker → · Palette generator →

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