#8A588C#8A588C

#8A588C is a mid, moderate purple. Relative luminance 0.143; OKLCH L 53.4% C 0.098 H 325.5°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#8A588C
RGBrgb(138, 88, 140)
HSLhsl(298, 23%, 45%)
HSVhsv(298, 37%, 55%)
CMYKcmyk(1.4%, 37.1%, 0%, 45.1%)
CIE-LABlab(44.63, 29.50, -20.46)
CIE-LCHlch(44.63, 35.90, 325.26°)
OKLaboklab(53.45% 0.0811 -0.0557)
OKLCHoklch(53.45% 0.098 325.5)
XYZxyz(18.7041, 14.2769, 26.5763)
Luminance0.1428 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A588C #5A8C58
analogous
#70588C #8A588C #8C5874
triadic
#8A588C #8C8A58 #588C8A
tetradic
#8A588C #8C7058 #5A8C58 #58748C
square
#8A588C #8C7058 #5A8C58 #58748C
split-complementary
#8A588C #748C58 #588C70
monochromatic
#402941 #654066 #8A588C #A877AA #C09DC1

Accessibility & contrast

On white

5.45
#8A588C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#8A588C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A588C
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A588C#FFFFFF#000000##FFFFFF
##8A588C1.005.453.865.45
#FFFFFF5.451.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#54668E
Deuteranopia (green-blind)
#606C8A
Tritanopia (blue-blind)
#8D5D6B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8a588c;
/* rgb */ color: rgb(138, 88, 140);
/* oklch */ color: oklch(53.4% 0.098 325.5);
Tailwind
colors: {
  custom: {
    50: '#ad88ad',
    500: '#8a588c',
    950: '#000000',
  },
}
SCSS
$custom: #8a588c;
$custom-light: #ad88ad;
$custom-dark: #000000;
JSON
{
  "hex": "#8a588c",
  "rgb": {
    "r": 138,
    "g": 88,
    "b": 140
  },
  "hsl": {
    "h": 297.692,
    "s": 22.807,
    "l": 44.706
  },
  "oklch": {
    "l": 0.53449,
    "c": 0.09841,
    "h": 325.5
  },
  "luminance": 0.14276
}

Semantic roles & 50–950 ramp

primary
#8A588C
secondary
#92AF91
accent
#BF686C
background
#FAF8FA
surface
#F4F0F4
border
#CECBCE
text
#100B10
muted
#7F7C7F

Preview Lab

Preview with #8A588C

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

Preview Lab → · Contrast checker → · Palette generator →

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