#8F1888#8F1888

#8F1888 is a mid, vivid purple. Relative luminance 0.083; OKLCH L 46.1% C 0.192 H 330.9°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#8F1888
RGBrgb(143, 24, 136)
HSLhsl(304, 71%, 33%)
HSVhsv(304, 83%, 56%)
CMYKcmyk(0%, 83.2%, 4.9%, 43.9%)
CIE-LABlab(34.54, 58.78, -33.73)
CIE-LCHlch(34.54, 67.78, 330.15°)
OKLaboklab(46.13% 0.1676 -0.0932)
OKLCHoklch(46.13% 0.192 330.9)
XYZxyz(16.0982, 8.2718, 24.0365)
Luminance0.0827 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1888 #188F1F
analogous
#5A188F #8F1888 #8F184D
triadic
#8F1888 #888F18 #18888F
tetradic
#8F1888 #8F5A18 #188F1F #184D8F
square
#8F1888 #8F5A18 #188F1F #184D8F
split-complementary
#8F1888 #4D8F18 #188F5A
monochromatic
#260624 #5B0F56 #8F1888 #C321BA #DF42D6

Accessibility & contrast

On white

7.91
#8F1888 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F1888
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1888#FFFFFF#000000##FFFFFF
##8F18881.007.912.657.91
#FFFFFF7.911.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03478B
Deuteranopia (green-blind)
#415785
Tritanopia (blue-blind)
#952A51
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8f1888;
/* rgb */ color: rgb(143, 24, 136);
/* oklch */ color: oklch(46.1% 0.192 330.9);
Tailwind
colors: {
  custom: {
    50: '#b466ab',
    500: '#8f1888',
    950: '#000000',
  },
}
SCSS
$custom: #8f1888;
$custom-light: #b466ab;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1888",
  "rgb": {
    "r": 143,
    "g": 24,
    "b": 136
  },
  "hsl": {
    "h": 303.529,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.46131,
    "c": 0.19171,
    "h": 330.9
  },
  "luminance": 0.0827
}

Semantic roles & 50–950 ramp

primary
#8F1888
secondary
#43C04A
accent
#EE443A
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #8F1888

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

Preview Lab → · Contrast checker → · Palette generator →

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