#8A1380#8A1380

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

Color values

HEX#8A1380
RGBrgb(138, 19, 128)
HSLhsl(305, 76%, 31%)
HSVhsv(305, 86%, 54%)
CMYKcmyk(0%, 86.2%, 7.2%, 45.9%)
CIE-LABlab(32.76, 57.65, -31.63)
CIE-LCHlch(32.76, 65.76, 331.25°)
OKLaboklab(44.55% 0.1658 -0.0872)
OKLCHoklch(44.55% 0.187 332.3)
XYZxyz(14.6105, 7.4288, 21.0823)
Luminance0.0743 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1380 #138A1D
analogous
#58138A #8A1380 #8A1344
triadic
#8A1380 #808A13 #13808A
tetradic
#8A1380 #8A5813 #138A1D #13448A
square
#8A1380 #8A5813 #138A1D #13448A
split-complementary
#8A1380 #448A13 #138A58
monochromatic
#1E041C #540C4E #8A1380 #C01AB2 #E334D4

Accessibility & contrast

On white

8.45
#8A1380 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A1380
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1380#FFFFFF#000000##FFFFFF
##8A13801.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#044383
Deuteranopia (green-blind)
#3F537D
Tritanopia (blue-blind)
#90244B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8a1380;
/* rgb */ color: rgb(138, 19, 128);
/* oklch */ color: oklch(44.5% 0.187 332.3);
Tailwind
colors: {
  custom: {
    50: '#b064a5',
    500: '#8a1380',
    950: '#000000',
  },
}
SCSS
$custom: #8a1380;
$custom-light: #b064a5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1380",
  "rgb": {
    "r": 138,
    "g": 19,
    "b": 128
  },
  "hsl": {
    "h": 305.042,
    "s": 75.796,
    "l": 30.784
  },
  "oklch": {
    "l": 0.44545,
    "c": 0.18735,
    "h": 332.3
  },
  "luminance": 0.07428
}

Semantic roles & 50–950 ramp

primary
#8A1380
secondary
#3ABE45
accent
#F24535
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11060F
muted
#807A7F

Preview Lab

Preview with #8A1380

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

Preview Lab → · Contrast checker → · Palette generator →

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