#8A538E#8A538E

#8A538E is a mid, moderate purple. Relative luminance 0.135; OKLCH L 52.7% C 0.110 H 324.6°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#8A538E
RGBrgb(138, 83, 142)
HSLhsl(296, 26%, 44%)
HSVhsv(296, 42%, 56%)
CMYKcmyk(2.8%, 41.5%, 0%, 44.3%)
CIE-LABlab(43.57, 32.77, -23.29)
CIE-LCHlch(43.57, 40.20, 324.59°)
OKLaboklab(52.68% 0.0895 -0.0637)
OKLCHoklch(52.68% 0.11 324.6)
XYZxyz(18.4565, 13.5435, 27.2279)
Luminance0.1354 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A538E #578E53
analogous
#6D538E #8A538E #8E5375
triadic
#8A538E #8E8A53 #538E8A
tetradic
#8A538E #8E6D53 #578E53 #53758E
square
#8A538E #8E6D53 #578E53 #53758E
split-complementary
#8A538E #758E53 #538E6D
monochromatic
#3F2641 #643C67 #8A538E #A872AC #C098C3

Accessibility & contrast

On white

5.66
#8A538E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#8A538E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A538E
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A538E#FFFFFF#000000##FFFFFF
##8A538E1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D6390
Deuteranopia (green-blind)
#5C698C
Tritanopia (blue-blind)
#8C596A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8a538e;
/* rgb */ color: rgb(138, 83, 142);
/* oklch */ color: oklch(52.7% 0.110 324.6);
Tailwind
colors: {
  custom: {
    50: '#ad85af',
    500: '#8a538e',
    950: '#000000',
  },
}
SCSS
$custom: #8a538e;
$custom-light: #ad85af;
$custom-dark: #000000;
JSON
{
  "hex": "#8a538e",
  "rgb": {
    "r": 138,
    "g": 83,
    "b": 142
  },
  "hsl": {
    "h": 295.932,
    "s": 26.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.52683,
    "c": 0.1099,
    "h": 324.6
  },
  "luminance": 0.13543
}

Semantic roles & 50–950 ramp

primary
#8A538E
secondary
#8FB08D
accent
#C3656C
background
#FAF8FA
surface
#F4EFF4
border
#CECACE
text
#100B10
muted
#7F7C7F

Preview Lab

Preview with #8A538E

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

Preview Lab → · Contrast checker → · Palette generator →

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