#8F188D#8F188D

#8F188D is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.4% C 0.195 H 329.0°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#8F188D
RGBrgb(143, 24, 141)
HSLhsl(301, 71%, 33%)
HSVhsv(301, 83%, 56%)
CMYKcmyk(0%, 83.2%, 1.4%, 43.9%)
CIE-LABlab(34.84, 59.58, -36.35)
CIE-LCHlch(34.84, 69.80, 328.61°)
OKLaboklab(46.43% 0.1674 -0.1008)
OKLCHoklch(46.43% 0.195 329)
XYZxyz(16.4619, 8.4173, 25.9518)
Luminance0.0842 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F188D #188F1A
analogous
#55188F #8F188D #8F1852
triadic
#8F188D #8D8F18 #188D8F
tetradic
#8F188D #8F5518 #188F1A #18528F
square
#8F188D #8F5518 #188F1A #18528F
split-complementary
#8F188D #528F18 #188F55
monochromatic
#260626 #5B0F59 #8F188D #C321C1 #DF42DD

Accessibility & contrast

On white

7.83
#8F188D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#8F188D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F188D
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F188D#FFFFFF#000000##FFFFFF
##8F188D1.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004890
Deuteranopia (green-blind)
#3E578A
Tritanopia (blue-blind)
#942D54
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8f188d;
/* rgb */ color: rgb(143, 24, 141);
/* oklch */ color: oklch(46.4% 0.195 329.0);
Tailwind
colors: {
  custom: {
    50: '#b466af',
    500: '#8f188d',
    950: '#000000',
  },
}
SCSS
$custom: #8f188d;
$custom-light: #b466af;
$custom-dark: #000000;
JSON
{
  "hex": "#8f188d",
  "rgb": {
    "r": 143,
    "g": 24,
    "b": 141
  },
  "hsl": {
    "h": 301.008,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.46435,
    "c": 0.1954,
    "h": 329
  },
  "luminance": 0.08416
}

Semantic roles & 50–950 ramp

primary
#8F188D
secondary
#43C045
accent
#EE3D3A
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #8F188D

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

Preview Lab → · Contrast checker → · Palette generator →

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