#8A1EA0#8A1EA0

#8A1EA0 is a mid, highly saturated purple. Relative luminance 0.089; OKLCH L 47.3% C 0.203 H 319.9°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#8A1EA0
RGBrgb(138, 30, 160)
HSLhsl(290, 68%, 37%)
HSVhsv(290, 81%, 63%)
CMYKcmyk(13.8%, 81.3%, 0%, 37.3%)
CIE-LABlab(35.73, 60.31, -46.56)
CIE-LCHlch(35.73, 76.19, 322.33°)
OKLaboklab(47.29% 0.1555 -0.1308)
OKLCHoklch(47.29% 0.203 319.9)
XYZxyz(17.2899, 8.8708, 34.0524)
Luminance0.0887 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1EA0 #34A01E
analogous
#491EA0 #8A1EA0 #A01E75
triadic
#8A1EA0 #A08A1E #1EA08A
tetradic
#8A1EA0 #A0491E #34A01E #1E75A0
square
#8A1EA0 #A0491E #34A01E #1E75A0
split-complementary
#8A1EA0 #75A01E #1EA049
monochromatic
#310B39 #5E146C #8A1EA0 #B628D4 #C959E0

Accessibility & contrast

On white

7.57
#8A1EA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#8A1EA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1EA0
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1EA0#FFFFFF#000000##FFFFFF
##8A1EA01.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA3
Deuteranopia (green-blind)
#2B589D
Tritanopia (blue-blind)
#8A3B60
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8a1ea0;
/* rgb */ color: rgb(138, 30, 160);
/* oklch */ color: oklch(47.3% 0.203 319.9);
Tailwind
colors: {
  custom: {
    50: '#b069bd',
    500: '#8a1ea0',
    950: '#000000',
  },
}
SCSS
$custom: #8a1ea0;
$custom-light: #b069bd;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1ea0",
  "rgb": {
    "r": 138,
    "g": 30,
    "b": 160
  },
  "hsl": {
    "h": 289.846,
    "s": 68.421,
    "l": 37.255
  },
  "oklch": {
    "l": 0.47292,
    "c": 0.20321,
    "h": 319.9
  },
  "luminance": 0.0887
}

Semantic roles & 50–950 ramp

primary
#8A1EA0
secondary
#69C456
accent
#EB3D5A
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8A1EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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