#8A5696#8A5696

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

Color values

HEX#8A5696
RGBrgb(138, 86, 150)
HSLhsl(289, 27%, 46%)
HSVhsv(289, 43%, 59%)
CMYKcmyk(8%, 42.7%, 0%, 41.2%)
CIE-LABlab(44.61, 32.72, -26.49)
CIE-LCHlch(44.61, 42.10, 321.01°)
OKLaboklab(53.58% 0.0866 -0.0729)
OKLCHoklch(53.58% 0.113 319.9)
XYZxyz(19.3133, 14.2615, 30.5836)
Luminance0.1426 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A5696 #629656
analogous
#6A5696 #8A5696 #965682
triadic
#8A5696 #968A56 #56968A
tetradic
#8A5696 #966A56 #629656 #568296
square
#8A5696 #966A56 #629656 #568296
split-complementary
#8A5696 #829656 #56966A
monochromatic
#422948 #66406F #8A5696 #A778B1 #C09FC8

Accessibility & contrast

On white

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

On black

3.85
#8A5696 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8A5696#FFFFFF#000000##FFFFFF
##8A56961.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D6698
Deuteranopia (green-blind)
#5B6B94
Tritanopia (blue-blind)
#8B5E6F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8a5696;
/* rgb */ color: rgb(138, 86, 150);
/* oklch */ color: oklch(53.6% 0.113 319.9);
Tailwind
colors: {
  custom: {
    50: '#ad87b5',
    500: '#8a5696',
    950: '#000000',
  },
}
SCSS
$custom: #8a5696;
$custom-light: #ad87b5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a5696",
  "rgb": {
    "r": 138,
    "g": 86,
    "b": 150
  },
  "hsl": {
    "h": 288.75,
    "s": 27.119,
    "l": 46.275
  },
  "oklch": {
    "l": 0.53577,
    "c": 0.11319,
    "h": 319.9
  },
  "luminance": 0.14261
}

Semantic roles & 50–950 ramp

primary
#8A5696
secondary
#99B593
accent
#C36476
background
#FAF8FB
surface
#F4EFF6
border
#CECAD0
text
#100B11
muted
#7F7C80

Preview Lab

Preview with #8A5696

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

Preview Lab → · Contrast checker → · Palette generator →

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