#8A1780#8A1780

#8A1780 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.8% C 0.184 H 332.3°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#8A1780
RGBrgb(138, 23, 128)
HSLhsl(305, 71%, 32%)
HSVhsv(305, 83%, 54%)
CMYKcmyk(0%, 83.3%, 7.2%, 45.9%)
CIE-LABlab(33.08, 56.72, -31.12)
CIE-LCHlch(33.08, 64.70, 331.25°)
OKLaboklab(44.77% 0.1631 -0.0857)
OKLCHoklch(44.77% 0.184 332.3)
XYZxyz(14.6840, 7.5759, 21.1068)
Luminance0.0757 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1780 #178A21
analogous
#5B178A #8A1780 #8A1747
triadic
#8A1780 #808A17 #17808A
tetradic
#8A1780 #8A5B17 #178A21 #17478A
square
#8A1780 #8A5B17 #178A21 #17478A
split-complementary
#8A1780 #478A17 #178A5B
monochromatic
#21061F #560E4F #8A1780 #BE20B1 #DF3DD1

Accessibility & contrast

On white

8.35
#8A1780 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#8A1780 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1780
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1780#FFFFFF#000000##FFFFFF
##8A17801.008.352.518.35
#FFFFFF8.351.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B4483
Deuteranopia (green-blind)
#40537D
Tritanopia (blue-blind)
#90274C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8a1780;
/* rgb */ color: rgb(138, 23, 128);
/* oklch */ color: oklch(44.8% 0.184 332.3);
Tailwind
colors: {
  custom: {
    50: '#b065a5',
    500: '#8a1780',
    950: '#000000',
  },
}
SCSS
$custom: #8a1780;
$custom-light: #b065a5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1780",
  "rgb": {
    "r": 138,
    "g": 23,
    "b": 128
  },
  "hsl": {
    "h": 305.217,
    "s": 71.429,
    "l": 31.569
  },
  "oklch": {
    "l": 0.44773,
    "c": 0.18428,
    "h": 332.3
  },
  "luminance": 0.07575
}

Semantic roles & 50–950 ramp

primary
#8A1780
secondary
#3FBE4A
accent
#EE493A
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11060F
muted
#807A7F

Preview Lab

Preview with #8A1780

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

Preview Lab → · Contrast checker → · Palette generator →

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