#8A5392#8A5392

#8A5392 is a mid, moderate purple. Relative luminance 0.137; OKLCH L 52.9% C 0.114 H 322.3°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#8A5392
RGBrgb(138, 83, 146)
HSLhsl(292, 28%, 45%)
HSVhsv(292, 43%, 57%)
CMYKcmyk(5.5%, 43.2%, 0%, 42.7%)
CIE-LABlab(43.75, 33.59, -25.42)
CIE-LCHlch(43.75, 42.12, 322.88°)
OKLaboklab(52.88% 0.0904 -0.0698)
OKLCHoklch(52.88% 0.114 322.3)
XYZxyz(18.7622, 13.6658, 28.8380)
Luminance0.1366 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A5392 #5B9253
analogous
#6B5392 #8A5392 #92537B
triadic
#8A5392 #928A53 #53928A
tetradic
#8A5392 #926B53 #5B9253 #537B92
square
#8A5392 #926B53 #5B9253 #537B92
split-complementary
#8A5392 #7B9253 #53926B
monochromatic
#402744 #653D6B #8A5392 #A873AF #C09AC6

Accessibility & contrast

On white

5.63
#8A5392 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#8A5392 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A5392
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A5392#FFFFFF#000000##FFFFFF
##8A53921.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B6394
Deuteranopia (green-blind)
#5A6A90
Tritanopia (blue-blind)
#8C5A6B
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8a5392;
/* rgb */ color: rgb(138, 83, 146);
/* oklch */ color: oklch(52.9% 0.114 322.3);
Tailwind
colors: {
  custom: {
    50: '#ad85b2',
    500: '#8a5392',
    950: '#000000',
  },
}
SCSS
$custom: #8a5392;
$custom-light: #ad85b2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a5392",
  "rgb": {
    "r": 138,
    "g": 83,
    "b": 146
  },
  "hsl": {
    "h": 292.381,
    "s": 27.511,
    "l": 44.902
  },
  "oklch": {
    "l": 0.52876,
    "c": 0.11422,
    "h": 322.3
  },
  "luminance": 0.13665
}

Semantic roles & 50–950 ramp

primary
#8A5392
secondary
#93B38E
accent
#C46470
background
#FAF8FA
surface
#F4EFF5
border
#CECACF
text
#100B11
muted
#7F7C80

Preview Lab

Preview with #8A5392

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

Preview Lab → · Contrast checker → · Palette generator →

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