#8D398D#8D398D

#8D398D is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.2% C 0.155 H 327.6°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#8D398D
RGBrgb(141, 57, 141)
HSLhsl(300, 42%, 39%)
HSVhsv(300, 60%, 55%)
CMYKcmyk(0%, 59.6%, 0%, 44.7%)
CIE-LABlab(38.75, 47.13, -30.18)
CIE-LCHlch(38.75, 55.97, 327.36°)
OKLaboklab(49.19% 0.1312 -0.0832)
OKLCHoklch(49.19% 0.155 327.6)
XYZxyz(17.2551, 10.5131, 26.3145)
Luminance0.1051 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D398D #398D39
analogous
#63398D #8D398D #8D3963
triadic
#8D398D #8D8D39 #398D8D
tetradic
#8D398D #8D6339 #398D39 #39638D
square
#8D398D #8D6339 #398D39 #39638D
split-complementary
#8D398D #638D39 #398D63
monochromatic
#361636 #612761 #8D398D #B74CB7 #C878C8

Accessibility & contrast

On white

6.77
#8D398D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#8D398D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D398D
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D398D#FFFFFF#000000##FFFFFF
##8D398D1.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305490
Deuteranopia (green-blind)
#4C5F8B
Tritanopia (blue-blind)
#91435D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8d398d;
/* rgb */ color: rgb(141, 57, 141);
/* oklch */ color: oklch(49.2% 0.155 327.6);
Tailwind
colors: {
  custom: {
    50: '#b175ae',
    500: '#8d398d',
    950: '#000000',
  },
}
SCSS
$custom: #8d398d;
$custom-light: #b175ae;
$custom-dark: #000000;
JSON
{
  "hex": "#8d398d",
  "rgb": {
    "r": 141,
    "g": 57,
    "b": 141
  },
  "hsl": {
    "h": 300,
    "s": 42.424,
    "l": 38.824
  },
  "oklch": {
    "l": 0.49185,
    "c": 0.15536,
    "h": 327.6
  },
  "luminance": 0.10512
}

Semantic roles & 50–950 ramp

primary
#8D398D
secondary
#70B270
accent
#D25656
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110910
muted
#807B7F

Preview Lab

Preview with #8D398D

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

Preview Lab → · Contrast checker → · Palette generator →

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