#8F398D#8F398D

#8F398D is a mid, vivid purple. Relative luminance 0.107; OKLCH L 49.5% C 0.157 H 328.5°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#8F398D
RGBrgb(143, 57, 141)
HSLhsl(301, 43%, 39%)
HSVhsv(301, 60%, 56%)
CMYKcmyk(0%, 60.1%, 1.4%, 43.9%)
CIE-LABlab(39.05, 47.68, -29.68)
CIE-LCHlch(39.05, 56.16, 328.10°)
OKLaboklab(49.47% 0.1336 -0.0817)
OKLCHoklch(49.47% 0.157 328.5)
XYZxyz(17.5983, 10.6901, 26.3306)
Luminance0.1069 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F398D #398F3B
analogous
#66398F #8F398D #8F3962
triadic
#8F398D #8D8F39 #398D8F
tetradic
#8F398D #8F6639 #398F3B #39628F
square
#8F398D #8F6639 #398F3B #39628F
split-complementary
#8F398D #628F39 #398F66
monochromatic
#371637 #632862 #8F398D #B84DB6 #CA79C8

Accessibility & contrast

On white

6.69
#8F398D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#8F398D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F398D
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F398D#FFFFFF#000000##FFFFFF
##8F398D1.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315590
Deuteranopia (green-blind)
#4E608B
Tritanopia (blue-blind)
#94435D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8f398d;
/* rgb */ color: rgb(143, 57, 141);
/* oklch */ color: oklch(49.5% 0.157 328.5);
Tailwind
colors: {
  custom: {
    50: '#b275ae',
    500: '#8f398d',
    950: '#000000',
  },
}
SCSS
$custom: #8f398d;
$custom-light: #b275ae;
$custom-dark: #000000;
JSON
{
  "hex": "#8f398d",
  "rgb": {
    "r": 143,
    "g": 57,
    "b": 141
  },
  "hsl": {
    "h": 301.395,
    "s": 43,
    "l": 39.216
  },
  "oklch": {
    "l": 0.4947,
    "c": 0.15656,
    "h": 328.5
  },
  "luminance": 0.10689
}

Semantic roles & 50–950 ramp

primary
#8F398D
secondary
#71B373
accent
#D35855
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110910
muted
#807B7F

Preview Lab

Preview with #8F398D

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

Preview Lab → · Contrast checker → · Palette generator →

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