#8A537B#8A537B

#8A537B is a mid, moderate pink. Relative luminance 0.130; OKLCH L 51.8% C 0.091 H 337.7°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#8A537B
RGBrgb(138, 83, 123)
HSLhsl(316, 25%, 43%)
HSVhsv(316, 40%, 54%)
CMYKcmyk(0%, 39.9%, 10.9%, 45.9%)
CIE-LABlab(42.79, 29.11, -12.97)
CIE-LCHlch(42.79, 31.87, 335.99°)
OKLaboklab(51.84% 0.0844 -0.0347)
OKLCHoklch(51.84% 0.091 337.7)
XYZxyz(17.1496, 13.0208, 20.3450)
Luminance0.1302 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A537B #538A62
analogous
#7D538A #8A537B #8A535F
triadic
#8A537B #7B8A53 #537B8A
tetradic
#8A537B #8A7D53 #538A62 #535F8A
square
#8A537B #8A7D53 #538A62 #535F8A
split-complementary
#8A537B #5F8A53 #538A7D
monochromatic
#3E2537 #643C59 #8A537B #A9719A #C097B5

Accessibility & contrast

On white

5.83
#8A537B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#8A537B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A537B
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A537B#FFFFFF#000000##FFFFFF
##8A537B1.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#54607C
Deuteranopia (green-blind)
#626879
Tritanopia (blue-blind)
#905562
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8a537b;
/* rgb */ color: rgb(138, 83, 123);
/* oklch */ color: oklch(51.8% 0.091 337.7);
Tailwind
colors: {
  custom: {
    50: '#ad84a1',
    500: '#8a537b',
    950: '#000000',
  },
}
SCSS
$custom: #8a537b;
$custom-light: #ad84a1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a537b",
  "rgb": {
    "r": 138,
    "g": 83,
    "b": 123
  },
  "hsl": {
    "h": 316.364,
    "s": 24.887,
    "l": 43.333
  },
  "oklch": {
    "l": 0.51843,
    "c": 0.09128,
    "h": 337.7
  },
  "luminance": 0.1302
}

Semantic roles & 50–950 ramp

primary
#8A537B
secondary
#8BAE95
accent
#C17F66
background
#FAF8F9
surface
#F4EFF2
border
#CECACC
text
#100B0F
muted
#7F7C7E

Preview Lab

Preview with #8A537B

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

Preview Lab → · Contrast checker → · Palette generator →

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