#8F2188#8F2188

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

Color values

HEX#8F2188
RGBrgb(143, 33, 136)
HSLhsl(304, 63%, 35%)
HSVhsv(304, 77%, 56%)
CMYKcmyk(0%, 76.9%, 4.9%, 43.9%)
CIE-LABlab(35.41, 56.27, -32.35)
CIE-LCHlch(35.41, 64.91, 330.10°)
OKLaboklab(46.75% 0.1603 -0.0892)
OKLCHoklch(46.75% 0.183 330.9)
XYZxyz(16.3155, 8.7062, 24.1089)
Luminance0.0871 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2188 #218F28
analogous
#5F218F #8F2188 #8F2151
triadic
#8F2188 #888F21 #21888F
tetradic
#8F2188 #8F5F21 #218F28 #21518F
square
#8F2188 #8F5F21 #218F28 #21518F
split-complementary
#8F2188 #518F21 #218F5F
monochromatic
#2C0A29 #5D1659 #8F2188 #C12CB7 #D753CF

Accessibility & contrast

On white

7.66
#8F2188 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F2188
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2188#FFFFFF#000000##FFFFFF
##8F21881.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154A8B
Deuteranopia (green-blind)
#445985
Tritanopia (blue-blind)
#952F53
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8f2188;
/* rgb */ color: rgb(143, 33, 136);
/* oklch */ color: oklch(46.8% 0.183 330.9);
Tailwind
colors: {
  custom: {
    50: '#b369ab',
    500: '#8f2188',
    950: '#000000',
  },
}
SCSS
$custom: #8f2188;
$custom-light: #b369ab;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2188",
  "rgb": {
    "r": 143,
    "g": 33,
    "b": 136
  },
  "hsl": {
    "h": 303.818,
    "s": 62.5,
    "l": 34.51
  },
  "oklch": {
    "l": 0.46751,
    "c": 0.18346,
    "h": 330.9
  },
  "luminance": 0.08705
}

Semantic roles & 50–950 ramp

primary
#8F2188
secondary
#51BB58
accent
#E64D42
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8F2188

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

Preview Lab → · Contrast checker → · Palette generator →

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