#8A1E85#8A1E85

#8A1E85 is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.5% C 0.182 H 330.1°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#8A1E85
RGBrgb(138, 30, 133)
HSLhsl(303, 64%, 33%)
HSVhsv(303, 78%, 54%)
CMYKcmyk(0%, 78.3%, 3.6%, 45.9%)
CIE-LABlab(34.04, 55.59, -32.73)
CIE-LCHlch(34.04, 64.51, 329.51°)
OKLaboklab(45.55% 0.1576 -0.0904)
OKLCHoklch(45.55% 0.182 330.1)
XYZxyz(15.1791, 8.0265, 22.9356)
Luminance0.0803 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1E85 #1E8A23
analogous
#591E8A #8A1E85 #8A1E4F
triadic
#8A1E85 #858A1E #1E858A
tetradic
#8A1E85 #8A591E #1E8A23 #1E4F8A
square
#8A1E85 #8A591E #1E8A23 #1E4F8A
split-complementary
#8A1E85 #4F8A1E #1E8A59
monochromatic
#250824 #581355 #8A1E85 #BC29B5 #D84BD1

Accessibility & contrast

On white

8.06
#8A1E85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#8A1E85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1E85
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1E85#FFFFFF#000000##FFFFFF
##8A1E851.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E4788
Deuteranopia (green-blind)
#405582
Tritanopia (blue-blind)
#8F2D51
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8a1e85;
/* rgb */ color: rgb(138, 30, 133);
/* oklch */ color: oklch(45.5% 0.182 330.1);
Tailwind
colors: {
  custom: {
    50: '#b067a9',
    500: '#8a1e85',
    950: '#000000',
  },
}
SCSS
$custom: #8a1e85;
$custom-light: #b067a9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1e85",
  "rgb": {
    "r": 138,
    "g": 30,
    "b": 133
  },
  "hsl": {
    "h": 302.778,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.45546,
    "c": 0.18166,
    "h": 330.1
  },
  "luminance": 0.08025
}

Semantic roles & 50–950 ramp

primary
#8A1E85
secondary
#4ABA4F
accent
#E74841
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8A1E85

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

Preview Lab → · Contrast checker → · Palette generator →

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