#8D5192#8D5192

#8D5192 is a mid, moderate purple. Relative luminance 0.136; OKLCH L 52.9% C 0.120 H 324.3°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#8D5192
RGBrgb(141, 81, 146)
HSLhsl(295, 29%, 45%)
HSVhsv(295, 45%, 57%)
CMYKcmyk(3.4%, 44.5%, 0%, 42.7%)
CIE-LABlab(43.69, 35.66, -25.49)
CIE-LCHlch(43.69, 43.84, 324.45°)
OKLaboklab(52.91% 0.0972 -0.0699)
OKLCHoklch(52.91% 0.12 324.3)
XYZxyz(19.1148, 13.6237, 28.8113)
Luminance0.1362 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5192 #569251
analogous
#6D5192 #8D5192 #925177
triadic
#8D5192 #928D51 #51928D
tetradic
#8D5192 #926D51 #569251 #517792
square
#8D5192 #926D51 #569251 #517792
split-complementary
#8D5192 #779251 #51926D
monochromatic
#412543 #673B6B #8D5192 #AB70B0 #C298C6

Accessibility & contrast

On white

5.64
#8D5192 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#8D5192 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D5192
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5192#FFFFFF#000000##FFFFFF
##8D51921.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8d5192;
/* rgb */ color: rgb(141, 81, 146);
/* oklch */ color: oklch(52.9% 0.120 324.3);
Tailwind
colors: {
  custom: {
    50: '#b084b2',
    500: '#8d5192',
    950: '#000000',
  },
}
SCSS
$custom: #8d5192;
$custom-light: #b084b2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5192",
  "rgb": {
    "r": 141,
    "g": 81,
    "b": 146
  },
  "hsl": {
    "h": 295.385,
    "s": 28.634,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52912,
    "c": 0.11975,
    "h": 324.3
  },
  "luminance": 0.13623
}

Semantic roles & 50–950 ramp

primary
#8D5192
secondary
#8FB38C
accent
#C5636A
background
#FAF8FA
surface
#F5EFF5
border
#CFCACF
text
#110B11
muted
#807C80

Preview Lab

Preview with #8D5192

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

Preview Lab → · Contrast checker → · Palette generator →

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