#8A1E82#8A1E82

#8A1E82 is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.4% C 0.179 H 331.4°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#8A1E82
RGBrgb(138, 30, 130)
HSLhsl(304, 64%, 33%)
HSVhsv(304, 78%, 54%)
CMYKcmyk(0%, 78.3%, 5.8%, 45.9%)
CIE-LABlab(33.87, 55.10, -31.13)
CIE-LCHlch(33.87, 63.29, 330.54°)
OKLaboklab(45.37% 0.1575 -0.0858)
OKLCHoklch(45.37% 0.179 331.4)
XYZxyz(14.9748, 7.9448, 21.8596)
Luminance0.0794 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1E82 #1E8A26
analogous
#5C1E8A #8A1E82 #8A1E4C
triadic
#8A1E82 #828A1E #1E828A
tetradic
#8A1E82 #8A5C1E #1E8A26 #1E4C8A
square
#8A1E82 #8A5C1E #1E8A26 #1E4C8A
split-complementary
#8A1E82 #4C8A1E #1E8A5C
monochromatic
#250823 #581353 #8A1E82 #BC29B1 #D84BCD

Accessibility & contrast

On white

8.11
#8A1E82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#8A1E82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1E82
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1E82#FFFFFF#000000##FFFFFF
##8A1E821.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134685
Deuteranopia (green-blind)
#41557F
Tritanopia (blue-blind)
#902C4F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8a1e82;
/* rgb */ color: rgb(138, 30, 130);
/* oklch */ color: oklch(45.4% 0.179 331.4);
Tailwind
colors: {
  custom: {
    50: '#b067a7',
    500: '#8a1e82',
    950: '#000000',
  },
}
SCSS
$custom: #8a1e82;
$custom-light: #b067a7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1e82",
  "rgb": {
    "r": 138,
    "g": 30,
    "b": 130
  },
  "hsl": {
    "h": 304.444,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.45369,
    "c": 0.17937,
    "h": 331.4
  },
  "luminance": 0.07944
}

Semantic roles & 50–950 ramp

primary
#8A1E82
secondary
#4ABA52
accent
#E74D41
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8A1E82

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

Preview Lab → · Contrast checker → · Palette generator →

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