#8F398F#8F398F

#8F398F is a mid, vivid purple. Relative luminance 0.107; OKLCH L 49.6% C 0.158 H 327.6°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#8F398F
RGBrgb(143, 57, 143)
HSLhsl(300, 43%, 39%)
HSVhsv(300, 60%, 56%)
CMYKcmyk(0%, 60.1%, 0%, 43.9%)
CIE-LABlab(39.16, 48.04, -30.74)
CIE-LCHlch(39.16, 57.04, 327.39°)
OKLaboklab(49.58% 0.1338 -0.0848)
OKLCHoklch(49.58% 0.158 327.6)
XYZxyz(17.7485, 10.7502, 27.1214)
Luminance0.1075 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F398F #398F39
analogous
#64398F #8F398F #8F3964
triadic
#8F398F #8F8F39 #398F8F
tetradic
#8F398F #8F6439 #398F39 #39648F
square
#8F398F #8F6439 #398F39 #39648F
split-complementary
#8F398F #648F39 #398F64
monochromatic
#371637 #632863 #8F398F #B84DB8 #CA79CA

Accessibility & contrast

On white

6.67
#8F398F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#8F398F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F398F
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F398F#FFFFFF#000000##FFFFFF
##8F398F1.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5592
Deuteranopia (green-blind)
#4D608D
Tritanopia (blue-blind)
#93445E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8f398f;
/* rgb */ color: rgb(143, 57, 143);
/* oklch */ color: oklch(49.6% 0.158 327.6);
Tailwind
colors: {
  custom: {
    50: '#b275b0',
    500: '#8f398f',
    950: '#000000',
  },
}
SCSS
$custom: #8f398f;
$custom-light: #b275b0;
$custom-dark: #000000;
JSON
{
  "hex": "#8f398f",
  "rgb": {
    "r": 143,
    "g": 57,
    "b": 143
  },
  "hsl": {
    "h": 300,
    "s": 43,
    "l": 39.216
  },
  "oklch": {
    "l": 0.49578,
    "c": 0.15835,
    "h": 327.6
  },
  "luminance": 0.10749
}

Semantic roles & 50–950 ramp

primary
#8F398F
secondary
#71B371
accent
#D35555
background
#FBF7FA
surface
#F6EDF5
border
#D0C8CF
text
#110910
muted
#807B7F

Preview Lab

Preview with #8F398F

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

Preview Lab → · Contrast checker → · Palette generator →

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