#8A5192#8A5192

#8A5192 is a mid, moderate purple. Relative luminance 0.134; OKLCH L 52.5% C 0.118 H 322.5°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#8A5192
RGBrgb(138, 81, 146)
HSLhsl(293, 29%, 45%)
HSVhsv(293, 45%, 57%)
CMYKcmyk(5.5%, 44.5%, 0%, 42.7%)
CIE-LABlab(43.31, 34.71, -26.11)
CIE-LCHlch(43.31, 43.44, 323.05°)
OKLaboklab(52.54% 0.0935 -0.0718)
OKLCHoklch(52.54% 0.118 322.5)
XYZxyz(18.6114, 13.3642, 28.7877)
Luminance0.1336 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A5192 #599251
analogous
#6A5192 #8A5192 #92517A
triadic
#8A5192 #928A51 #51928A
tetradic
#8A5192 #926A51 #599251 #517A92
square
#8A5192 #926A51 #599251 #517A92
split-complementary
#8A5192 #7A9251 #51926A
monochromatic
#402543 #653B6B #8A5192 #A870B0 #C098C6

Accessibility & contrast

On white

5.72
#8A5192 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#8A5192 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A5192
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A5192#FFFFFF#000000##FFFFFF
##8A51921.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#496294
Deuteranopia (green-blind)
#586990
Tritanopia (blue-blind)
#8C596A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8a5192;
/* rgb */ color: rgb(138, 81, 146);
/* oklch */ color: oklch(52.5% 0.118 322.5);
Tailwind
colors: {
  custom: {
    50: '#ad83b2',
    500: '#8a5192',
    950: '#000000',
  },
}
SCSS
$custom: #8a5192;
$custom-light: #ad83b2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a5192",
  "rgb": {
    "r": 138,
    "g": 81,
    "b": 146
  },
  "hsl": {
    "h": 292.615,
    "s": 28.634,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52545,
    "c": 0.11787,
    "h": 322.5
  },
  "luminance": 0.13363
}

Semantic roles & 50–950 ramp

primary
#8A5192
secondary
#91B38C
accent
#C5636F
background
#FAF8FB
surface
#F4EFF6
border
#CECAD0
text
#100B11
muted
#7F7C80

Preview Lab

Preview with #8A5192

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

Preview Lab → · Contrast checker → · Palette generator →

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