#8A1E83#8A1E83

#8A1E83 is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.4% C 0.180 H 331.0°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#8A1E83
RGBrgb(138, 30, 131)
HSLhsl(304, 64%, 33%)
HSVhsv(304, 78%, 54%)
CMYKcmyk(0%, 78.3%, 5.1%, 45.9%)
CIE-LABlab(33.92, 55.27, -31.66)
CIE-LCHlch(33.92, 63.69, 330.19°)
OKLaboklab(45.43% 0.1575 -0.0873)
OKLCHoklch(45.43% 0.18 331)
XYZxyz(15.0422, 7.9717, 22.2148)
Luminance0.0797 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1E83 #1E8A25
analogous
#5B1E8A #8A1E83 #8A1E4D
triadic
#8A1E83 #838A1E #1E838A
tetradic
#8A1E83 #8A5B1E #1E8A25 #1E4D8A
square
#8A1E83 #8A5B1E #1E8A25 #1E4D8A
split-complementary
#8A1E83 #4D8A1E #1E8A5B
monochromatic
#250824 #581353 #8A1E83 #BC29B3 #D84BCF

Accessibility & contrast

On white

8.09
#8A1E83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A1E83
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1E83#FFFFFF#000000##FFFFFF
##8A1E831.008.092.598.09
#FFFFFF8.091.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124686
Deuteranopia (green-blind)
#415580
Tritanopia (blue-blind)
#902C4F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8a1e83;
/* rgb */ color: rgb(138, 30, 131);
/* oklch */ color: oklch(45.4% 0.180 331.0);
Tailwind
colors: {
  custom: {
    50: '#b067a7',
    500: '#8a1e83',
    950: '#000000',
  },
}
SCSS
$custom: #8a1e83;
$custom-light: #b067a7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1e83",
  "rgb": {
    "r": 138,
    "g": 30,
    "b": 131
  },
  "hsl": {
    "h": 303.889,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.45427,
    "c": 0.18013,
    "h": 331
  },
  "luminance": 0.07971
}

Semantic roles & 50–950 ramp

primary
#8A1E83
secondary
#4ABA51
accent
#E74B41
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8A1E83

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

Preview Lab → · Contrast checker → · Palette generator →

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