#8A1A80#8A1A80

#8A1A80 is a dark, vivid purple. Relative luminance 0.077; OKLCH L 45.0% C 0.182 H 332.3°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#8A1A80
RGBrgb(138, 26, 128)
HSLhsl(305, 68%, 32%)
HSVhsv(305, 81%, 54%)
CMYKcmyk(0%, 81.2%, 7.2%, 45.9%)
CIE-LABlab(33.35, 55.94, -30.69)
CIE-LCHlch(33.35, 63.81, 331.25°)
OKLaboklab(44.97% 0.1608 -0.0845)
OKLCHoklch(44.97% 0.182 332.3)
XYZxyz(14.7470, 7.7018, 21.1278)
Luminance0.0770 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1A80 #1A8A24
analogous
#5C1A8A #8A1A80 #8A1A48
triadic
#8A1A80 #808A1A #1A808A
tetradic
#8A1A80 #8A5C1A #1A8A24 #1A488A
square
#8A1A80 #8A5C1A #1A8A24 #1A488A
split-complementary
#8A1A80 #488A1A #1A8A5C
monochromatic
#230720 #571050 #8A1A80 #BD24B0 #DC43CE

Accessibility & contrast

On white

8.27
#8A1A80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#8A1A80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1A80
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1A80#FFFFFF#000000##FFFFFF
##8A1A801.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#104483
Deuteranopia (green-blind)
#41547D
Tritanopia (blue-blind)
#90284D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8a1a80;
/* rgb */ color: rgb(138, 26, 128);
/* oklch */ color: oklch(45.0% 0.182 332.3);
Tailwind
colors: {
  custom: {
    50: '#b066a5',
    500: '#8a1a80',
    950: '#000000',
  },
}
SCSS
$custom: #8a1a80;
$custom-light: #b066a5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1a80",
  "rgb": {
    "r": 138,
    "g": 26,
    "b": 128
  },
  "hsl": {
    "h": 305.357,
    "s": 68.293,
    "l": 32.157
  },
  "oklch": {
    "l": 0.44966,
    "c": 0.18169,
    "h": 332.3
  },
  "luminance": 0.07701
}

Semantic roles & 50–950 ramp

primary
#8A1A80
secondary
#43BD4E
accent
#EB4C3D
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11060F
muted
#807A7F

Preview Lab

Preview with #8A1A80

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

Preview Lab → · Contrast checker → · Palette generator →

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