#8A5292#8A5292

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

Color values

HEX#8A5292
RGBrgb(138, 82, 146)
HSLhsl(293, 28%, 45%)
HSVhsv(293, 44%, 57%)
CMYKcmyk(5.5%, 43.8%, 0%, 42.7%)
CIE-LABlab(43.53, 34.15, -25.77)
CIE-LCHlch(43.53, 42.78, 322.96°)
OKLaboklab(52.71% 0.092 -0.0708)
OKLCHoklch(52.71% 0.116 322.4)
XYZxyz(18.6863, 13.5139, 28.8127)
Luminance0.1351 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A5292 #5A9252
analogous
#6A5292 #8A5292 #92527A
triadic
#8A5292 #928A52 #52928A
tetradic
#8A5292 #926A52 #5A9252 #527A92
square
#8A5292 #926A52 #5A9252 #527A92
split-complementary
#8A5292 #7A9252 #52926A
monochromatic
#402644 #653C6B #8A5292 #A872B0 #C099C6

Accessibility & contrast

On white

5.67
#8A5292 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#8A5292 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A5292
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A5292#FFFFFF#000000##FFFFFF
##8A52921.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A6394
Deuteranopia (green-blind)
#596990
Tritanopia (blue-blind)
#8C596B
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8a5292;
/* rgb */ color: rgb(138, 82, 146);
/* oklch */ color: oklch(52.7% 0.116 322.4);
Tailwind
colors: {
  custom: {
    50: '#ad84b2',
    500: '#8a5292',
    950: '#000000',
  },
}
SCSS
$custom: #8a5292;
$custom-light: #ad84b2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a5292",
  "rgb": {
    "r": 138,
    "g": 82,
    "b": 146
  },
  "hsl": {
    "h": 292.5,
    "s": 28.07,
    "l": 44.706
  },
  "oklch": {
    "l": 0.5271,
    "c": 0.11605,
    "h": 322.4
  },
  "luminance": 0.13513
}

Semantic roles & 50–950 ramp

primary
#8A5292
secondary
#92B38D
accent
#C46370
background
#FAF8FB
surface
#F4EFF6
border
#CECAD0
text
#100B11
muted
#7F7C80

Preview Lab

Preview with #8A5292

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

Preview Lab → · Contrast checker → · Palette generator →

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