#8A1E9E#8A1E9E

#8A1E9E is a mid, highly saturated purple. Relative luminance 0.088; OKLCH L 47.2% C 0.202 H 320.6°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#8A1E9E
RGBrgb(138, 30, 158)
HSLhsl(291, 68%, 37%)
HSVhsv(291, 81%, 62%)
CMYKcmyk(12.7%, 81%, 0%, 38%)
CIE-LABlab(35.60, 59.94, -45.57)
CIE-LCHlch(35.60, 75.30, 322.76°)
OKLaboklab(47.15% 0.1558 -0.1279)
OKLCHoklch(47.15% 0.202 320.6)
XYZxyz(17.1163, 8.8014, 33.1384)
Luminance0.0880 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1E9E #329E1E
analogous
#4A1E9E #8A1E9E #9E1E72
triadic
#8A1E9E #9E8A1E #1E9E8A
tetradic
#8A1E9E #9E4A1E #329E1E #1E729E
square
#8A1E9E #9E4A1E #329E1E #1E729E
split-complementary
#8A1E9E #729E1E #1E9E4A
monochromatic
#300A37 #5D146B #8A1E9E #B728D1 #CA57DF

Accessibility & contrast

On white

7.61
#8A1E9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#8A1E9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1E9E
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1E9E#FFFFFF#000000##FFFFFF
##8A1E9E1.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA1
Deuteranopia (green-blind)
#2D579B
Tritanopia (blue-blind)
#8B3A5F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8a1e9e;
/* rgb */ color: rgb(138, 30, 158);
/* oklch */ color: oklch(47.2% 0.202 320.6);
Tailwind
colors: {
  custom: {
    50: '#b068bb',
    500: '#8a1e9e',
    950: '#000000',
  },
}
SCSS
$custom: #8a1e9e;
$custom-light: #b068bb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1e9e",
  "rgb": {
    "r": 138,
    "g": 30,
    "b": 158
  },
  "hsl": {
    "h": 290.625,
    "s": 68.085,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47153,
    "c": 0.20157,
    "h": 320.6
  },
  "luminance": 0.088
}

Semantic roles & 50–950 ramp

primary
#8A1E9E
secondary
#66C355
accent
#EB3D58
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8A1E9E

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

Preview Lab → · Contrast checker → · Palette generator →

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