#8A5EA0#8A5EA0

#8A5EA0 is a mid, moderate purple. Relative luminance 0.159; OKLCH L 55.5% C 0.110 H 313.8°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#8A5EA0
RGBrgb(138, 94, 160)
HSLhsl(280, 26%, 50%)
HSVhsv(280, 41%, 63%)
CMYKcmyk(13.8%, 41.3%, 0%, 37.3%)
CIE-LABlab(46.91, 30.30, -28.85)
CIE-LCHlch(46.91, 41.84, 316.41°)
OKLaboklab(55.45% 0.0764 -0.0797)
OKLCHoklch(55.45% 0.11 313.8)
XYZxyz(20.8281, 15.9472, 35.2318)
Luminance0.1595 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A5EA0 #74A05E
analogous
#695EA0 #8A5EA0 #A05E95
triadic
#8A5EA0 #A08A5E #5EA08A
tetradic
#8A5EA0 #A0695E #74A05E #5E95A0
square
#8A5EA0 #A0695E #74A05E #5E95A0
split-complementary
#8A5EA0 #95A05E #5EA069
monochromatic
#473153 #694779 #8A5EA0 #A684B7 #C2ABCE

Accessibility & contrast

On white

5.01
#8A5EA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#8A5EA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A5EA0
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A5EA0#FFFFFF#000000##FFFFFF
##8A5EA01.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#526DA2
Deuteranopia (green-blind)
#5D709E
Tritanopia (blue-blind)
#886777
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8a5ea0;
/* rgb */ color: rgb(138, 94, 160);
/* oklch */ color: oklch(55.5% 0.110 313.8);
Tailwind
colors: {
  custom: {
    50: '#ad8cbc',
    500: '#8a5ea0',
    950: '#000000',
  },
}
SCSS
$custom: #8a5ea0;
$custom-light: #ad8cbc;
$custom-dark: #000000;
JSON
{
  "hex": "#8a5ea0",
  "rgb": {
    "r": 138,
    "g": 94,
    "b": 160
  },
  "hsl": {
    "h": 280,
    "s": 25.984,
    "l": 49.804
  },
  "oklch": {
    "l": 0.55454,
    "c": 0.1104,
    "h": 313.8
  },
  "luminance": 0.15947
}

Semantic roles & 50–950 ramp

primary
#8A5EA0
secondary
#A8BC9E
accent
#C26584
background
#FAF8FB
surface
#F4F0F6
border
#CECBD0
text
#100C12
muted
#7F7D81

Preview Lab

Preview with #8A5EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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