#8F398E#8F398E

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

Color values

HEX#8F398E
RGBrgb(143, 57, 142)
HSLhsl(301, 43%, 39%)
HSVhsv(301, 60%, 56%)
CMYKcmyk(0%, 60.1%, 0.7%, 43.9%)
CIE-LABlab(39.10, 47.86, -30.21)
CIE-LCHlch(39.10, 56.60, 327.74°)
OKLaboklab(49.52% 0.1337 -0.0832)
OKLCHoklch(49.52% 0.157 328.1)
XYZxyz(17.6731, 10.7200, 26.7243)
Luminance0.1072 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F398E #398F3A
analogous
#65398F #8F398E #8F3963
triadic
#8F398E #8E8F39 #398E8F
tetradic
#8F398E #8F6539 #398F3A #39638F
square
#8F398E #8F6539 #398F3A #39638F
split-complementary
#8F398E #638F39 #398F65
monochromatic
#371637 #632863 #8F398E #B84DB7 #CA79C9

Accessibility & contrast

On white

6.68
#8F398E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8F398E
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F398E#FFFFFF#000000##FFFFFF
##8F398E1.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305591
Deuteranopia (green-blind)
#4D608C
Tritanopia (blue-blind)
#93435E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8f398e;
/* rgb */ color: rgb(143, 57, 142);
/* oklch */ color: oklch(49.5% 0.157 328.1);
Tailwind
colors: {
  custom: {
    50: '#b275af',
    500: '#8f398e',
    950: '#000000',
  },
}
SCSS
$custom: #8f398e;
$custom-light: #b275af;
$custom-dark: #000000;
JSON
{
  "hex": "#8f398e",
  "rgb": {
    "r": 143,
    "g": 57,
    "b": 142
  },
  "hsl": {
    "h": 300.698,
    "s": 43,
    "l": 39.216
  },
  "oklch": {
    "l": 0.49524,
    "c": 0.15746,
    "h": 328.1
  },
  "luminance": 0.10719
}

Semantic roles & 50–950 ramp

primary
#8F398E
secondary
#71B372
accent
#D35655
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110910
muted
#807B7F

Preview Lab

Preview with #8F398E

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

Preview Lab → · Contrast checker → · Palette generator →

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