#8F188E#8F188E

#8F188E is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.5% C 0.196 H 328.6°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#8F188E
RGBrgb(143, 24, 142)
HSLhsl(301, 71%, 33%)
HSVhsv(301, 83%, 56%)
CMYKcmyk(0%, 83.2%, 0.7%, 43.9%)
CIE-LABlab(34.90, 59.74, -36.87)
CIE-LCHlch(34.90, 70.21, 328.32°)
OKLaboklab(46.5% 0.1674 -0.1023)
OKLCHoklch(46.5% 0.196 328.6)
XYZxyz(16.5366, 8.4472, 26.3454)
Luminance0.0845 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F188E #188F19
analogous
#54188F #8F188E #8F1853
triadic
#8F188E #8E8F18 #188E8F
tetradic
#8F188E #8F5418 #188F19 #18538F
square
#8F188E #8F5418 #188F19 #18538F
split-complementary
#8F188E #538F18 #188F54
monochromatic
#260626 #5B0F5A #8F188E #C321C2 #DF42DE

Accessibility & contrast

On white

7.81
#8F188E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#8F188E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F188E
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F188E#FFFFFF#000000##FFFFFF
##8F188E1.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004891
Deuteranopia (green-blind)
#3D578B
Tritanopia (blue-blind)
#942E55
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8f188e;
/* rgb */ color: rgb(143, 24, 142);
/* oklch */ color: oklch(46.5% 0.196 328.6);
Tailwind
colors: {
  custom: {
    50: '#b466af',
    500: '#8f188e',
    950: '#000000',
  },
}
SCSS
$custom: #8f188e;
$custom-light: #b466af;
$custom-dark: #000000;
JSON
{
  "hex": "#8f188e",
  "rgb": {
    "r": 143,
    "g": 24,
    "b": 142
  },
  "hsl": {
    "h": 300.504,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.46497,
    "c": 0.19614,
    "h": 328.6
  },
  "luminance": 0.08446
}

Semantic roles & 50–950 ramp

primary
#8F188E
secondary
#43C044
accent
#EE3B3A
background
#FBF6FA
surface
#F6EBF5
border
#D0C6CF
text
#120710
muted
#817A7F

Preview Lab

Preview with #8F188E

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

Preview Lab → · Contrast checker → · Palette generator →

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