#8F148C#8F148C

#8F148C is a mid, vivid purple. Relative luminance 0.082; OKLCH L 46.2% C 0.198 H 329.4°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#8F148C
RGBrgb(143, 20, 140)
HSLhsl(301, 75%, 32%)
HSVhsv(301, 86%, 56%)
CMYKcmyk(0%, 86%, 2.1%, 43.9%)
CIE-LABlab(34.47, 60.33, -36.33)
CIE-LCHlch(34.47, 70.42, 328.95°)
OKLaboklab(46.15% 0.17 -0.1007)
OKLCHoklch(46.15% 0.198 329.4)
XYZxyz(16.3114, 8.2347, 25.5362)
Luminance0.0823 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F148C #148F17
analogous
#54148F #8F148C #8F144F
triadic
#8F148C #8C8F14 #148C8F
tetradic
#8F148C #8F5414 #148F17 #144F8F
square
#8F148C #8F5414 #148F17 #144F8F
split-complementary
#8F148C #4F8F14 #148F54
monochromatic
#240523 #590C57 #8F148C #C51CC1 #E33ADF

Accessibility & contrast

On white

7.93
#8F148C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#8F148C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F148C
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F148C#FFFFFF#000000##FFFFFF
##8F148C1.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478F
Deuteranopia (green-blind)
#3D5689
Tritanopia (blue-blind)
#942B53
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8f148c;
/* rgb */ color: rgb(143, 20, 140);
/* oklch */ color: oklch(46.2% 0.198 329.4);
Tailwind
colors: {
  custom: {
    50: '#b465ae',
    500: '#8f148c',
    950: '#000000',
  },
}
SCSS
$custom: #8f148c;
$custom-light: #b465ae;
$custom-dark: #000000;
JSON
{
  "hex": "#8f148c",
  "rgb": {
    "r": 143,
    "g": 20,
    "b": 140
  },
  "hsl": {
    "h": 301.463,
    "s": 75.46,
    "l": 31.961
  },
  "oklch": {
    "l": 0.46153,
    "c": 0.19759,
    "h": 329.4
  },
  "luminance": 0.08233
}

Semantic roles & 50–950 ramp

primary
#8F148C
secondary
#3CC33F
accent
#F23A36
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #8F148C

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

Preview Lab → · Contrast checker → · Palette generator →

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