#8D398E#8D398E

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

Color values

HEX#8D398E
RGBrgb(141, 57, 142)
HSLhsl(299, 43%, 39%)
HSVhsv(299, 60%, 56%)
CMYKcmyk(0.7%, 59.9%, 0%, 44.3%)
CIE-LABlab(38.80, 47.32, -30.71)
CIE-LCHlch(38.80, 56.41, 327.01°)
OKLaboklab(49.24% 0.1313 -0.0847)
OKLCHoklch(49.24% 0.156 327.2)
XYZxyz(17.3298, 10.5430, 26.7082)
Luminance0.1054 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D398E #3A8E39
analogous
#63398E #8D398E #8E3965
triadic
#8D398E #8E8D39 #398E8D
tetradic
#8D398E #8E6339 #3A8E39 #39658E
square
#8D398E #8E6339 #3A8E39 #39658E
split-complementary
#8D398E #658E39 #398E63
monochromatic
#361637 #622762 #8D398E #B64DB7 #C878C9

Accessibility & contrast

On white

6.76
#8D398E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#8D398E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D398E
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D398E#FFFFFF#000000##FFFFFF
##8D398E1.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5491
Deuteranopia (green-blind)
#4C5F8C
Tritanopia (blue-blind)
#91445E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8d398e;
/* rgb */ color: rgb(141, 57, 142);
/* oklch */ color: oklch(49.2% 0.156 327.2);
Tailwind
colors: {
  custom: {
    50: '#b175af',
    500: '#8d398e',
    950: '#000000',
  },
}
SCSS
$custom: #8d398e;
$custom-light: #b175af;
$custom-dark: #000000;
JSON
{
  "hex": "#8d398e",
  "rgb": {
    "r": 141,
    "g": 57,
    "b": 142
  },
  "hsl": {
    "h": 299.294,
    "s": 42.714,
    "l": 39.02
  },
  "oklch": {
    "l": 0.4924,
    "c": 0.15627,
    "h": 327.2
  },
  "luminance": 0.10542
}

Semantic roles & 50–950 ramp

primary
#8D398E
secondary
#71B271
accent
#D25557
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110910
muted
#807B7F

Preview Lab

Preview with #8D398E

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

Preview Lab → · Contrast checker → · Palette generator →

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