#8A5CA0#8A5CA0

#8A5CA0 is a mid, moderate purple. Relative luminance 0.156; OKLCH L 55.1% C 0.114 H 314.2°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#8A5CA0
RGBrgb(138, 92, 160)
HSLhsl(281, 27%, 49%)
HSVhsv(281, 43%, 63%)
CMYKcmyk(13.8%, 42.5%, 0%, 37.3%)
CIE-LABlab(46.44, 31.46, -29.57)
CIE-LCHlch(46.44, 43.18, 316.77°)
OKLaboklab(55.11% 0.0794 -0.0818)
OKLCHoklch(55.11% 0.114 314.2)
XYZxyz(20.6525, 15.5961, 35.1733)
Luminance0.1560 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A5CA0 #72A05C
analogous
#685CA0 #8A5CA0 #A05C94
triadic
#8A5CA0 #A08A5C #5CA08A
tetradic
#8A5CA0 #A0685C #72A05C #5C94A0
square
#8A5CA0 #A0685C #72A05C #5C94A0
split-complementary
#8A5CA0 #94A05C #5CA068
monochromatic
#472F52 #684679 #8A5CA0 #A682B7 #C2A9CD

Accessibility & contrast

On white

5.10
#8A5CA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#8A5CA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A5CA0
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A5CA0#FFFFFF#000000##FFFFFF
##8A5CA01.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#506BA2
Deuteranopia (green-blind)
#5B6F9E
Tritanopia (blue-blind)
#886676
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8a5ca0;
/* rgb */ color: rgb(138, 92, 160);
/* oklch */ color: oklch(55.1% 0.114 314.2);
Tailwind
colors: {
  custom: {
    50: '#ad8bbc',
    500: '#8a5ca0',
    950: '#000000',
  },
}
SCSS
$custom: #8a5ca0;
$custom-light: #ad8bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#8a5ca0",
  "rgb": {
    "r": 138,
    "g": 92,
    "b": 160
  },
  "hsl": {
    "h": 280.588,
    "s": 26.984,
    "l": 49.412
  },
  "oklch": {
    "l": 0.55105,
    "c": 0.114,
    "h": 314.2
  },
  "luminance": 0.15596
}

Semantic roles & 50–950 ramp

primary
#8A5CA0
secondary
#A6BC9C
accent
#C36483
background
#FAF8FB
surface
#F4F0F6
border
#CECBD0
text
#100C12
muted
#7F7D81

Preview Lab

Preview with #8A5CA0

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

Preview Lab → · Contrast checker → · Palette generator →

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