#8A538F#8A538F

#8A538F is a mid, moderate purple. Relative luminance 0.136; OKLCH L 52.7% C 0.111 H 324.0°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#8A538F
RGBrgb(138, 83, 143)
HSLhsl(295, 27%, 44%)
HSVhsv(295, 42%, 56%)
CMYKcmyk(3.5%, 42%, 0%, 43.9%)
CIE-LABlab(43.62, 32.97, -23.83)
CIE-LCHlch(43.62, 40.68, 324.14°)
OKLaboklab(52.73% 0.0898 -0.0652)
OKLCHoklch(52.73% 0.111 324)
XYZxyz(18.5319, 13.5737, 27.6251)
Luminance0.1357 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A538F #588F53
analogous
#6C538F #8A538F #8F5376
triadic
#8A538F #8F8A53 #538F8A
tetradic
#8A538F #8F6C53 #588F53 #53768F
square
#8A538F #8F6C53 #588F53 #53768F
split-complementary
#8A538F #768F53 #538F6C
monochromatic
#3F2642 #653D68 #8A538F #A872AD #C099C4

Accessibility & contrast

On white

5.65
#8A538F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8A538F
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A538F#FFFFFF#000000##FFFFFF
##8A538F1.005.653.715.65
#FFFFFF5.651.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D6391
Deuteranopia (green-blind)
#5B698D
Tritanopia (blue-blind)
#8C5A6A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8a538f;
/* rgb */ color: rgb(138, 83, 143);
/* oklch */ color: oklch(52.7% 0.111 324.0);
Tailwind
colors: {
  custom: {
    50: '#ad85b0',
    500: '#8a538f',
    950: '#000000',
  },
}
SCSS
$custom: #8a538f;
$custom-light: #ad85b0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a538f",
  "rgb": {
    "r": 138,
    "g": 83,
    "b": 143
  },
  "hsl": {
    "h": 295,
    "s": 26.549,
    "l": 44.314
  },
  "oklch": {
    "l": 0.52731,
    "c": 0.11097,
    "h": 324
  },
  "luminance": 0.13573
}

Semantic roles & 50–950 ramp

primary
#8A538F
secondary
#90B18D
accent
#C3656D
background
#FAF8FA
surface
#F4EFF4
border
#CECACE
text
#100B10
muted
#7F7C7F

Preview Lab

Preview with #8A538F

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

Preview Lab → · Contrast checker → · Palette generator →

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