#8F148F#8F148F

#8F148F is a mid, vivid purple. Relative luminance 0.083; OKLCH L 46.3% C 0.200 H 328.2°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#8F148F
RGBrgb(143, 20, 143)
HSLhsl(300, 75%, 32%)
HSVhsv(300, 86%, 56%)
CMYKcmyk(0%, 86%, 0%, 43.9%)
CIE-LABlab(34.65, 60.81, -37.88)
CIE-LCHlch(34.65, 71.64, 328.08°)
OKLaboklab(46.34% 0.1698 -0.1052)
OKLCHoklch(46.34% 0.2 328.2)
XYZxyz(16.5356, 8.3244, 26.7171)
Luminance0.0832 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F148F #148F14
analogous
#52148F #8F148F #8F1452
triadic
#8F148F #8F8F14 #148F8F
tetradic
#8F148F #8F5214 #148F14 #14528F
square
#8F148F #8F5214 #148F14 #14528F
split-complementary
#8F148F #528F14 #148F52
monochromatic
#240524 #590C59 #8F148F #C51CC5 #E33AE3

Accessibility & contrast

On white

7.88
#8F148F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#8F148F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F148F
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F148F#FFFFFF#000000##FFFFFF
##8F148F1.007.882.667.88
#FFFFFF7.881.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004892
Deuteranopia (green-blind)
#3B578C
Tritanopia (blue-blind)
#942C54
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8f148f;
/* rgb */ color: rgb(143, 20, 143);
/* oklch */ color: oklch(46.3% 0.200 328.2);
Tailwind
colors: {
  custom: {
    50: '#b465b0',
    500: '#8f148f',
    950: '#000000',
  },
}
SCSS
$custom: #8f148f;
$custom-light: #b465b0;
$custom-dark: #000000;
JSON
{
  "hex": "#8f148f",
  "rgb": {
    "r": 143,
    "g": 20,
    "b": 143
  },
  "hsl": {
    "h": 300,
    "s": 75.46,
    "l": 31.961
  },
  "oklch": {
    "l": 0.46341,
    "c": 0.19979,
    "h": 328.2
  },
  "luminance": 0.08323
}

Semantic roles & 50–950 ramp

primary
#8F148F
secondary
#3CC33C
accent
#F23636
background
#FBF6FA
surface
#F6EBF5
border
#D0C6CF
text
#120710
muted
#817A7F

Preview Lab

Preview with #8F148F

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

Preview Lab → · Contrast checker → · Palette generator →

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