#8A1E80#8A1E80

#8A1E80 is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.3% C 0.178 H 332.3°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#8A1E80
RGBrgb(138, 30, 128)
HSLhsl(306, 64%, 33%)
HSVhsv(306, 78%, 54%)
CMYKcmyk(0%, 78.3%, 7.2%, 45.9%)
CIE-LABlab(33.76, 54.78, -30.06)
CIE-LCHlch(33.76, 62.49, 331.25°)
OKLaboklab(45.25% 0.1575 -0.0827)
OKLCHoklch(45.25% 0.178 332.3)
XYZxyz(14.8418, 7.8916, 21.1594)
Luminance0.0789 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1E80 #1E8A28
analogous
#5E1E8A #8A1E80 #8A1E4A
triadic
#8A1E80 #808A1E #1E808A
tetradic
#8A1E80 #8A5E1E #1E8A28 #1E4A8A
square
#8A1E80 #8A5E1E #1E8A28 #1E4A8A
split-complementary
#8A1E80 #4A8A1E #1E8A5E
monochromatic
#250823 #581351 #8A1E80 #BC29AF #D84BCB

Accessibility & contrast

On white

8.15
#8A1E80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#8A1E80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1E80
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1E80#FFFFFF#000000##FFFFFF
##8A1E801.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164683
Deuteranopia (green-blind)
#43557D
Tritanopia (blue-blind)
#902B4E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8a1e80;
/* rgb */ color: rgb(138, 30, 128);
/* oklch */ color: oklch(45.3% 0.178 332.3);
Tailwind
colors: {
  custom: {
    50: '#b067a5',
    500: '#8a1e80',
    950: '#000000',
  },
}
SCSS
$custom: #8a1e80;
$custom-light: #b067a5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1e80",
  "rgb": {
    "r": 138,
    "g": 30,
    "b": 128
  },
  "hsl": {
    "h": 305.556,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.45253,
    "c": 0.17786,
    "h": 332.3
  },
  "luminance": 0.0789
}

Semantic roles & 50–950 ramp

primary
#8A1E80
secondary
#4ABA54
accent
#E75041
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8A1E80

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

Preview Lab → · Contrast checker → · Palette generator →

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