#8A1880#8A1880

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

Color values

HEX#8A1880
RGBrgb(138, 24, 128)
HSLhsl(305, 70%, 32%)
HSVhsv(305, 83%, 54%)
CMYKcmyk(0%, 82.6%, 7.2%, 45.9%)
CIE-LABlab(33.17, 56.47, -30.98)
CIE-LCHlch(33.17, 64.41, 331.25°)
OKLaboklab(44.84% 0.1624 -0.0853)
OKLCHoklch(44.84% 0.183 332.3)
XYZxyz(14.7042, 7.6163, 21.1136)
Luminance0.0761 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1880 #188A22
analogous
#5B188A #8A1880 #8A1847
triadic
#8A1880 #808A18 #18808A
tetradic
#8A1880 #8A5B18 #188A22 #18478A
square
#8A1880 #8A5B18 #188A22 #18478A
split-complementary
#8A1880 #478A18 #188A5B
monochromatic
#22061F #560F50 #8A1880 #BE21B0 #DE3FD0

Accessibility & contrast

On white

8.32
#8A1880 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#8A1880 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1880
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1880#FFFFFF#000000##FFFFFF
##8A18801.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a1880;
/* rgb */ color: rgb(138, 24, 128);
/* oklch */ color: oklch(44.8% 0.183 332.3);
Tailwind
colors: {
  custom: {
    50: '#b065a5',
    500: '#8a1880',
    950: '#000000',
  },
}
SCSS
$custom: #8a1880;
$custom-light: #b065a5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1880",
  "rgb": {
    "r": 138,
    "g": 24,
    "b": 128
  },
  "hsl": {
    "h": 305.263,
    "s": 70.37,
    "l": 31.765
  },
  "oklch": {
    "l": 0.44835,
    "c": 0.18344,
    "h": 332.3
  },
  "luminance": 0.07615
}

Semantic roles & 50–950 ramp

primary
#8A1880
secondary
#40BD4B
accent
#ED4A3B
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11060F
muted
#807A7F

Preview Lab

Preview with #8A1880

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

Preview Lab → · Contrast checker → · Palette generator →

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