#8A1378#8A1378

#8A1378 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 44.1% C 0.182 H 335.7°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#8A1378
RGBrgb(138, 19, 120)
HSLhsl(309, 76%, 31%)
HSVhsv(309, 86%, 54%)
CMYKcmyk(0%, 86.2%, 13%, 45.9%)
CIE-LABlab(32.32, 56.45, -27.30)
CIE-LCHlch(32.32, 62.71, 334.19°)
OKLaboklab(44.08% 0.1657 -0.0747)
OKLCHoklch(44.08% 0.182 335.7)
XYZxyz(14.1045, 7.2264, 18.4177)
Luminance0.0722 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1378 #138A25
analogous
#60138A #8A1378 #8A133C
triadic
#8A1378 #788A13 #13788A
tetradic
#8A1378 #8A6013 #138A25 #133C8A
square
#8A1378 #8A6013 #138A25 #133C8A
split-complementary
#8A1378 #3C8A13 #138A60
monochromatic
#1E041A #540C49 #8A1378 #C01AA7 #E334C9

Accessibility & contrast

On white

8.59
#8A1378 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#8A1378 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1378
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1378#FFFFFF#000000##FFFFFF
##8A13781.008.592.448.59
#FFFFFF8.591.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14417A
Deuteranopia (green-blind)
#435275
Tritanopia (blue-blind)
#911F47
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8a1378;
/* rgb */ color: rgb(138, 19, 120);
/* oklch */ color: oklch(44.1% 0.182 335.7);
Tailwind
colors: {
  custom: {
    50: '#b0639f',
    500: '#8a1378',
    950: '#000000',
  },
}
SCSS
$custom: #8a1378;
$custom-light: #b0639f;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1378",
  "rgb": {
    "r": 138,
    "g": 19,
    "b": 120
  },
  "hsl": {
    "h": 309.076,
    "s": 75.796,
    "l": 30.784
  },
  "oklch": {
    "l": 0.44083,
    "c": 0.18174,
    "h": 335.7
  },
  "luminance": 0.07225
}

Semantic roles & 50–950 ramp

primary
#8A1378
secondary
#3ABE4E
accent
#F25235
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #8A1378

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

Preview Lab → · Contrast checker → · Palette generator →

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