#8A1E96#8A1E96

#8A1E96 is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.6% C 0.195 H 323.5°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#8A1E96
RGBrgb(138, 30, 150)
HSLhsl(294, 67%, 35%)
HSVhsv(294, 80%, 59%)
CMYKcmyk(8%, 80%, 0%, 41.2%)
CIE-LABlab(35.07, 58.50, -41.55)
CIE-LCHlch(35.07, 71.75, 324.62°)
OKLaboklab(46.61% 0.1568 -0.1161)
OKLCHoklch(46.61% 0.195 323.5)
XYZxyz(16.4500, 8.5349, 29.6292)
Luminance0.0853 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1E96 #2A961E
analogous
#4E1E96 #8A1E96 #961E66
triadic
#8A1E96 #968A1E #1E968A
tetradic
#8A1E96 #964E1E #2A961E #1E6696
square
#8A1E96 #964E1E #2A961E #1E6696
split-complementary
#8A1E96 #66961E #1E964E
monochromatic
#2C0A30 #5B1463 #8A1E96 #B928C9 #CF52DC

Accessibility & contrast

On white

7.76
#8A1E96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#8A1E96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1E96
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1E96#FFFFFF#000000##FFFFFF
##8A1E961.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B99
Deuteranopia (green-blind)
#355793
Tritanopia (blue-blind)
#8C365A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8a1e96;
/* rgb */ color: rgb(138, 30, 150);
/* oklch */ color: oklch(46.6% 0.195 323.5);
Tailwind
colors: {
  custom: {
    50: '#b068b5',
    500: '#8a1e96',
    950: '#000000',
  },
}
SCSS
$custom: #8a1e96;
$custom-light: #b068b5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1e96",
  "rgb": {
    "r": 138,
    "g": 30,
    "b": 150
  },
  "hsl": {
    "h": 294,
    "s": 66.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.46614,
    "c": 0.19507,
    "h": 323.5
  },
  "luminance": 0.08534
}

Semantic roles & 50–950 ramp

primary
#8A1E96
secondary
#5BBF50
accent
#EA3E4F
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8A1E96

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

Preview Lab → · Contrast checker → · Palette generator →

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