#8A5697#8A5697

#8A5697 is a mid, moderate purple. Relative luminance 0.143; OKLCH L 53.6% C 0.114 H 319.4°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#8A5697
RGBrgb(138, 86, 151)
HSLhsl(288, 27%, 46%)
HSVhsv(288, 43%, 59%)
CMYKcmyk(8.6%, 43%, 0%, 40.8%)
CIE-LABlab(44.65, 32.93, -27.01)
CIE-LCHlch(44.65, 42.59, 320.64°)
OKLaboklab(53.63% 0.0868 -0.0744)
OKLCHoklch(53.63% 0.114 319.4)
XYZxyz(19.3942, 14.2939, 31.0095)
Luminance0.1429 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A5697 #639756
analogous
#6A5697 #8A5697 #975684
triadic
#8A5697 #978A56 #56978A
tetradic
#8A5697 #976A56 #639756 #568497
square
#8A5697 #976A56 #639756 #568497
split-complementary
#8A5697 #849756 #56976A
monochromatic
#432A49 #664070 #8A5697 #A778B2 #C09FC8

Accessibility & contrast

On white

5.44
#8A5697 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8A5697
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A5697#FFFFFF#000000##FFFFFF
##8A56971.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D6699
Deuteranopia (green-blind)
#5A6B95
Tritanopia (blue-blind)
#8B5E6F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8a5697;
/* rgb */ color: rgb(138, 86, 151);
/* oklch */ color: oklch(53.6% 0.114 319.4);
Tailwind
colors: {
  custom: {
    50: '#ad87b6',
    500: '#8a5697',
    950: '#000000',
  },
}
SCSS
$custom: #8a5697;
$custom-light: #ad87b6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a5697",
  "rgb": {
    "r": 138,
    "g": 86,
    "b": 151
  },
  "hsl": {
    "h": 288,
    "s": 27.426,
    "l": 46.471
  },
  "oklch": {
    "l": 0.53626,
    "c": 0.11432,
    "h": 319.4
  },
  "luminance": 0.14293
}

Semantic roles & 50–950 ramp

primary
#8A5697
secondary
#9AB693
accent
#C46477
background
#FAF8FB
surface
#F4EFF6
border
#CECAD0
text
#100B11
muted
#7F7C80

Preview Lab

Preview with #8A5697

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

Preview Lab → · Contrast checker → · Palette generator →

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