#8A568B#8A568B

#8A568B is a mid, moderate purple. Relative luminance 0.139; OKLCH L 53.1% C 0.101 H 326.2°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#8A568B
RGBrgb(138, 86, 139)
HSLhsl(299, 24%, 44%)
HSVhsv(299, 38%, 55%)
CMYKcmyk(0.7%, 38.1%, 0%, 45.5%)
CIE-LABlab(44.12, 30.45, -20.63)
CIE-LCHlch(44.12, 36.78, 325.88°)
OKLaboklab(53.06% 0.0841 -0.0562)
OKLCHoklch(53.06% 0.101 326.2)
XYZxyz(18.4688, 13.9237, 26.1358)
Luminance0.1392 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A568B #578B56
analogous
#70568B #8A568B #8B5672
triadic
#8A568B #8B8A56 #568B8A
tetradic
#8A568B #8B7056 #578B56 #56728B
square
#8A568B #8B7056 #578B56 #56728B
split-complementary
#8A568B #728B56 #568B70
monochromatic
#3F273F #643F65 #8A568B #A875A9 #C09BC1

Accessibility & contrast

On white

5.55
#8A568B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#8A568B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A568B
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A568B#FFFFFF#000000##FFFFFF
##8A568B1.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52648D
Deuteranopia (green-blind)
#5F6B89
Tritanopia (blue-blind)
#8D5B6A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8a568b;
/* rgb */ color: rgb(138, 86, 139);
/* oklch */ color: oklch(53.1% 0.101 326.2);
Tailwind
colors: {
  custom: {
    50: '#ad87ad',
    500: '#8a568b',
    950: '#000000',
  },
}
SCSS
$custom: #8a568b;
$custom-light: #ad87ad;
$custom-dark: #000000;
JSON
{
  "hex": "#8a568b",
  "rgb": {
    "r": 138,
    "g": 86,
    "b": 139
  },
  "hsl": {
    "h": 298.868,
    "s": 23.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.53056,
    "c": 0.10111,
    "h": 326.2
  },
  "luminance": 0.13923
}

Semantic roles & 50–950 ramp

primary
#8A568B
secondary
#8FAE8E
accent
#C06869
background
#FAF8FA
surface
#F4EFF4
border
#CECACE
text
#100B10
muted
#7F7C7F

Preview Lab

Preview with #8A568B

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

Preview Lab → · Contrast checker → · Palette generator →

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