#8A5A92#8A5A92

#8A5A92 is a mid, moderate purple. Relative luminance 0.148; OKLCH L 54.1% C 0.101 H 321.7°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#8A5A92
RGBrgb(138, 90, 146)
HSLhsl(291, 24%, 46%)
HSVhsv(291, 38%, 57%)
CMYKcmyk(5.5%, 38.4%, 0%, 42.7%)
CIE-LABlab(45.35, 29.58, -22.95)
CIE-LCHlch(45.35, 37.44, 322.20°)
OKLaboklab(54.08% 0.0794 -0.0628)
OKLCHoklch(54.08% 0.101 321.7)
XYZxyz(19.3251, 14.7916, 29.0256)
Luminance0.1479 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A5A92 #62925A
analogous
#6E5A92 #8A5A92 #925A7E
triadic
#8A5A92 #928A5A #5A928A
tetradic
#8A5A92 #926E5A #62925A #5A7E92
square
#8A5A92 #926E5A #62925A #5A7E92
split-complementary
#8A5A92 #7E925A #5A926E
monochromatic
#422B46 #66436C #8A5A92 #A77BAE #C0A1C5

Accessibility & contrast

On white

5.31
#8A5A92 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#8A5A92 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A5A92
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A5A92#FFFFFF#000000##FFFFFF
##8A5A921.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#536894
Deuteranopia (green-blind)
#606D90
Tritanopia (blue-blind)
#8B606F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8a5a92;
/* rgb */ color: rgb(138, 90, 146);
/* oklch */ color: oklch(54.1% 0.101 321.7);
Tailwind
colors: {
  custom: {
    50: '#ad89b2',
    500: '#8a5a92',
    950: '#000000',
  },
}
SCSS
$custom: #8a5a92;
$custom-light: #ad89b2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a5a92",
  "rgb": {
    "r": 138,
    "g": 90,
    "b": 146
  },
  "hsl": {
    "h": 291.429,
    "s": 23.729,
    "l": 46.275
  },
  "oklch": {
    "l": 0.54076,
    "c": 0.10126,
    "h": 321.7
  },
  "luminance": 0.14791
}

Semantic roles & 50–950 ramp

primary
#8A5A92
secondary
#99B395
accent
#C06874
background
#FAF8FA
surface
#F4F0F5
border
#CECBCF
text
#100B11
muted
#7F7C80

Preview Lab

Preview with #8A5A92

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

Preview Lab → · Contrast checker → · Palette generator →

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