#8A1D80#8A1D80

#8A1D80 is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.2% C 0.179 H 332.3°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#8A1D80
RGBrgb(138, 29, 128)
HSLhsl(306, 65%, 33%)
HSVhsv(306, 79%, 54%)
CMYKcmyk(0%, 79%, 7.2%, 45.9%)
CIE-LABlab(33.65, 55.08, -30.22)
CIE-LCHlch(33.65, 62.83, 331.25°)
OKLaboklab(45.18% 0.1584 -0.0832)
OKLCHoklch(45.18% 0.179 332.3)
XYZxyz(14.8169, 7.8418, 21.1511)
Luminance0.0784 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1D80 #1D8A27
analogous
#5E1D8A #8A1D80 #8A1D49
triadic
#8A1D80 #808A1D #1D808A
tetradic
#8A1D80 #8A5E1D #1D8A27 #1D498A
square
#8A1D80 #8A5E1D #1D8A27 #1D498A
split-complementary
#8A1D80 #498A1D #1D8A5E
monochromatic
#250822 #571251 #8A1D80 #BD28AF #D949CB

Accessibility & contrast

On white

8.18
#8A1D80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#8A1D80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1D80
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1D80#FFFFFF#000000##FFFFFF
##8A1D801.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154583
Deuteranopia (green-blind)
#42547D
Tritanopia (blue-blind)
#902A4E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8a1d80;
/* rgb */ color: rgb(138, 29, 128);
/* oklch */ color: oklch(45.2% 0.179 332.3);
Tailwind
colors: {
  custom: {
    50: '#b067a5',
    500: '#8a1d80',
    950: '#000000',
  },
}
SCSS
$custom: #8a1d80;
$custom-light: #b067a5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1d80",
  "rgb": {
    "r": 138,
    "g": 29,
    "b": 128
  },
  "hsl": {
    "h": 305.505,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.45178,
    "c": 0.17886,
    "h": 332.3
  },
  "luminance": 0.07841
}

Semantic roles & 50–950 ramp

primary
#8A1D80
secondary
#48BB53
accent
#E84F40
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8A1D80

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

Preview Lab → · Contrast checker → · Palette generator →

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