#8F2187#8F2187

#8F2187 is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.7% C 0.183 H 331.3°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#8F2187
RGBrgb(143, 33, 135)
HSLhsl(304, 63%, 35%)
HSVhsv(304, 77%, 56%)
CMYKcmyk(0%, 76.9%, 5.6%, 43.9%)
CIE-LABlab(35.36, 56.11, -31.82)
CIE-LCHlch(35.36, 64.51, 330.44°)
OKLaboklab(46.69% 0.1603 -0.0877)
OKLCHoklch(46.69% 0.183 331.3)
XYZxyz(16.2447, 8.6779, 23.7364)
Luminance0.0868 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2187 #218F29
analogous
#60218F #8F2187 #8F2150
triadic
#8F2187 #878F21 #21878F
tetradic
#8F2187 #8F6021 #218F29 #21508F
square
#8F2187 #8F6021 #218F29 #21508F
split-complementary
#8F2187 #508F21 #218F60
monochromatic
#2C0A29 #5D1658 #8F2187 #C12CB6 #D753CE

Accessibility & contrast

On white

7.68
#8F2187 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#8F2187 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2187
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2187#FFFFFF#000000##FFFFFF
##8F21871.007.682.747.68
#FFFFFF7.681.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16498A
Deuteranopia (green-blind)
#455884
Tritanopia (blue-blind)
#952F53
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8f2187;
/* rgb */ color: rgb(143, 33, 135);
/* oklch */ color: oklch(46.7% 0.183 331.3);
Tailwind
colors: {
  custom: {
    50: '#b369aa',
    500: '#8f2187',
    950: '#000000',
  },
}
SCSS
$custom: #8f2187;
$custom-light: #b369aa;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2187",
  "rgb": {
    "r": 143,
    "g": 33,
    "b": 135
  },
  "hsl": {
    "h": 304.364,
    "s": 62.5,
    "l": 34.51
  },
  "oklch": {
    "l": 0.46693,
    "c": 0.18269,
    "h": 331.3
  },
  "luminance": 0.08677
}

Semantic roles & 50–950 ramp

primary
#8F2187
secondary
#51BB59
accent
#E64E42
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8F2187

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

Preview Lab → · Contrast checker → · Palette generator →

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