#8A5E8E#8A5E8E

#8A5E8E is a mid, moderate purple. Relative luminance 0.154; OKLCH L 54.6% C 0.089 H 323.8°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#8A5E8E
RGBrgb(138, 94, 142)
HSLhsl(295, 20%, 46%)
HSVhsv(295, 34%, 56%)
CMYKcmyk(2.8%, 33.8%, 0%, 44.3%)
CIE-LABlab(46.13, 26.43, -19.35)
CIE-LCHlch(46.13, 32.76, 323.79°)
OKLaboklab(54.61% 0.072 -0.0527)
OKLCHoklch(54.61% 0.089 323.8)
XYZxyz(19.3659, 15.3623, 27.5310)
Luminance0.1536 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A5E8E #628E5E
analogous
#725E8E #8A5E8E #8E5E7A
triadic
#8A5E8E #8E8A5E #5E8E8A
tetradic
#8A5E8E #8E725E #628E5E #5E7A8E
square
#8A5E8E #8E725E #628E5E #5E7A8E
split-complementary
#8A5E8E #7A8E5E #5E8E72
monochromatic
#422D44 #664669 #8A5E8E #A77FAA #C0A4C3

Accessibility & contrast

On white

5.16
#8A5E8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#8A5E8E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A5E8E
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A5E8E#FFFFFF#000000##FFFFFF
##8A5E8E1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A6A90
Deuteranopia (green-blind)
#646F8C
Tritanopia (blue-blind)
#8C6370
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8a5e8e;
/* rgb */ color: rgb(138, 94, 142);
/* oklch */ color: oklch(54.6% 0.089 323.8);
Tailwind
colors: {
  custom: {
    50: '#ad8caf',
    500: '#8a5e8e',
    950: '#000000',
  },
}
SCSS
$custom: #8a5e8e;
$custom-light: #ad8caf;
$custom-dark: #000000;
JSON
{
  "hex": "#8a5e8e",
  "rgb": {
    "r": 138,
    "g": 94,
    "b": 142
  },
  "hsl": {
    "h": 295,
    "s": 20.339,
    "l": 46.275
  },
  "oklch": {
    "l": 0.5461,
    "c": 0.08921,
    "h": 323.8
  },
  "luminance": 0.15362
}

Semantic roles & 50–950 ramp

primary
#8A5E8E
secondary
#99B197
accent
#BD6B72
background
#FAF8FA
surface
#F4F0F4
border
#CECBCE
text
#100C10
muted
#7F7D7F

Preview Lab

Preview with #8A5E8E

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

Preview Lab → · Contrast checker → · Palette generator →

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