#8A5693#8A5693

#8A5693 is a mid, moderate purple. Relative luminance 0.142; OKLCH L 53.4% C 0.110 H 321.5°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#8A5693
RGBrgb(138, 86, 147)
HSLhsl(291, 26%, 46%)
HSVhsv(291, 41%, 58%)
CMYKcmyk(6.1%, 41.5%, 0%, 42.4%)
CIE-LABlab(44.47, 32.09, -24.90)
CIE-LCHlch(44.47, 40.62, 322.19°)
OKLaboklab(53.43% 0.086 -0.0683)
OKLCHoklch(53.43% 0.11 321.5)
XYZxyz(19.0749, 14.1661, 29.3276)
Luminance0.1416 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A5693 #5F9356
analogous
#6B5693 #8A5693 #93567D
triadic
#8A5693 #938A56 #56938A
tetradic
#8A5693 #936B56 #5F9356 #567D93
square
#8A5693 #936B56 #5F9356 #567D93
split-complementary
#8A5693 #7D9356 #56936B
monochromatic
#422946 #663F6C #8A5693 #A777AF #C09DC6

Accessibility & contrast

On white

5.48
#8A5693 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#8A5693 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A5693
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A5693#FFFFFF#000000##FFFFFF
##8A56931.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E6595
Deuteranopia (green-blind)
#5C6B91
Tritanopia (blue-blind)
#8B5D6D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8a5693;
/* rgb */ color: rgb(138, 86, 147);
/* oklch */ color: oklch(53.4% 0.110 321.5);
Tailwind
colors: {
  custom: {
    50: '#ad87b3',
    500: '#8a5693',
    950: '#000000',
  },
}
SCSS
$custom: #8a5693;
$custom-light: #ad87b3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a5693",
  "rgb": {
    "r": 138,
    "g": 86,
    "b": 147
  },
  "hsl": {
    "h": 291.148,
    "s": 26.18,
    "l": 45.686
  },
  "oklch": {
    "l": 0.53431,
    "c": 0.10982,
    "h": 321.5
  },
  "luminance": 0.14165
}

Semantic roles & 50–950 ramp

primary
#8A5693
secondary
#96B391
accent
#C36573
background
#FAF8FB
surface
#F4EFF6
border
#CECAD0
text
#100B11
muted
#7F7C80

Preview Lab

Preview with #8A5693

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

Preview Lab → · Contrast checker → · Palette generator →

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