#8A147A#8A147A

#8A147A is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.3% C 0.182 H 334.9°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#8A147A
RGBrgb(138, 20, 122)
HSLhsl(308, 75%, 31%)
HSVhsv(308, 86%, 54%)
CMYKcmyk(0%, 85.5%, 11.6%, 45.9%)
CIE-LABlab(32.50, 56.52, -28.27)
CIE-LCHlch(32.50, 63.20, 333.43°)
OKLaboklab(44.25% 0.1651 -0.0775)
OKLCHoklch(44.25% 0.182 334.9)
XYZxyz(14.2444, 7.3101, 19.0694)
Luminance0.0731 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A147A #148A24
analogous
#5F148A #8A147A #8A143F
triadic
#8A147A #7A8A14 #147A8A
tetradic
#8A147A #8A5F14 #148A24 #143F8A
square
#8A147A #8A5F14 #148A24 #143F8A
split-complementary
#8A147A #3F8A14 #148A5F
monochromatic
#1F051B #550C4B #8A147A #BF1CA9 #E236CB

Accessibility & contrast

On white

8.53
#8A147A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#8A147A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A147A
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A147A#FFFFFF#000000##FFFFFF
##8A147A1.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12427D
Deuteranopia (green-blind)
#425277
Tritanopia (blue-blind)
#912148
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8a147a;
/* rgb */ color: rgb(138, 20, 122);
/* oklch */ color: oklch(44.3% 0.182 334.9);
Tailwind
colors: {
  custom: {
    50: '#b064a1',
    500: '#8a147a',
    950: '#000000',
  },
}
SCSS
$custom: #8a147a;
$custom-light: #b064a1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a147a",
  "rgb": {
    "r": 138,
    "g": 20,
    "b": 122
  },
  "hsl": {
    "h": 308.136,
    "s": 74.684,
    "l": 30.98
  },
  "oklch": {
    "l": 0.4425,
    "c": 0.18238,
    "h": 334.9
  },
  "luminance": 0.07309
}

Semantic roles & 50–950 ramp

primary
#8A147A
secondary
#3CBE4D
accent
#F15036
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060F
muted
#807A7E

Preview Lab

Preview with #8A147A

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

Preview Lab → · Contrast checker → · Palette generator →

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