#8F188C#8F188C

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

Color values

HEX#8F188C
RGBrgb(143, 24, 140)
HSLhsl(302, 71%, 33%)
HSVhsv(302, 83%, 56%)
CMYKcmyk(0%, 83.2%, 2.1%, 43.9%)
CIE-LABlab(34.78, 59.42, -35.83)
CIE-LCHlch(34.78, 69.39, 328.91°)
OKLaboklab(46.37% 0.1674 -0.0993)
OKLCHoklch(46.37% 0.195 329.3)
XYZxyz(16.3878, 8.3877, 25.5617)
Luminance0.0839 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F188C #188F1B
analogous
#57188F #8F188C #8F1850
triadic
#8F188C #8C8F18 #188C8F
tetradic
#8F188C #8F5718 #188F1B #18508F
square
#8F188C #8F5718 #188F1B #18508F
split-complementary
#8F188C #508F18 #188F57
monochromatic
#260625 #5B0F59 #8F188C #C321BF #DF42DB

Accessibility & contrast

On white

7.84
#8F188C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F188C
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F188C#FFFFFF#000000##FFFFFF
##8F188C1.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00488F
Deuteranopia (green-blind)
#3F5789
Tritanopia (blue-blind)
#942C53
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8f188c;
/* rgb */ color: rgb(143, 24, 140);
/* oklch */ color: oklch(46.4% 0.195 329.3);
Tailwind
colors: {
  custom: {
    50: '#b466ae',
    500: '#8f188c',
    950: '#000000',
  },
}
SCSS
$custom: #8f188c;
$custom-light: #b466ae;
$custom-dark: #000000;
JSON
{
  "hex": "#8f188c",
  "rgb": {
    "r": 143,
    "g": 24,
    "b": 140
  },
  "hsl": {
    "h": 301.513,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.46373,
    "c": 0.19465,
    "h": 329.3
  },
  "luminance": 0.08386
}

Semantic roles & 50–950 ramp

primary
#8F188C
secondary
#43C046
accent
#EE3E3A
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #8F188C

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

Preview Lab → · Contrast checker → · Palette generator →

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