#8F3F9D#8F3F9D

#8F3F9D is a mid, vivid purple. Relative luminance 0.118; OKLCH L 51.1% C 0.162 H 321.5°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#8F3F9D
RGBrgb(143, 63, 157)
HSLhsl(291, 43%, 43%)
HSVhsv(291, 60%, 62%)
CMYKcmyk(8.9%, 59.9%, 0%, 38.4%)
CIE-LABlab(40.94, 47.88, -36.39)
CIE-LCHlch(40.94, 60.13, 322.77°)
OKLaboklab(51.12% 0.127 -0.1011)
OKLCHoklch(51.12% 0.162 321.5)
XYZxyz(19.1903, 11.8299, 33.1643)
Luminance0.1183 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3F9D #4D9D3F
analogous
#603F9D #8F3F9D #9D3F7C
triadic
#8F3F9D #9D8F3F #3F9D8F
tetradic
#8F3F9D #9D603F #4D9D3F #3F7C9D
square
#8F3F9D #9D603F #4D9D3F #3F7C9D
split-complementary
#8F3F9D #7C9D3F #3F9D60
monochromatic
#3F1C46 #672D71 #8F3F9D #AF5CBD #C487CF

Accessibility & contrast

On white

6.24
#8F3F9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#8F3F9D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F3F9D
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3F9D#FFFFFF#000000##FFFFFF
##8F3F9D1.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5BA0
Deuteranopia (green-blind)
#49649B
Tritanopia (blue-blind)
#904D68
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8f3f9d;
/* rgb */ color: rgb(143, 63, 157);
/* oklch */ color: oklch(51.1% 0.162 321.5);
Tailwind
colors: {
  custom: {
    50: '#b279ba',
    500: '#8f3f9d',
    950: '#000000',
  },
}
SCSS
$custom: #8f3f9d;
$custom-light: #b279ba;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3f9d",
  "rgb": {
    "r": 143,
    "g": 63,
    "b": 157
  },
  "hsl": {
    "h": 291.064,
    "s": 42.727,
    "l": 43.137
  },
  "oklch": {
    "l": 0.51124,
    "c": 0.16234,
    "h": 321.5
  },
  "luminance": 0.11829
}

Semantic roles & 50–950 ramp

primary
#8F3F9D
secondary
#87BA7E
accent
#D35568
background
#FBF7FB
surface
#F6EEF6
border
#D0C9D0
text
#110912
muted
#807B81

Preview Lab

Preview with #8F3F9D

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

Preview Lab → · Contrast checker → · Palette generator →

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