#8F2189#8F2189

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

Color values

HEX#8F2189
RGBrgb(143, 33, 137)
HSLhsl(303, 63%, 35%)
HSVhsv(303, 77%, 56%)
CMYKcmyk(0%, 76.9%, 4.2%, 43.9%)
CIE-LABlab(35.47, 56.44, -32.88)
CIE-LCHlch(35.47, 65.32, 329.77°)
OKLaboklab(46.81% 0.1603 -0.0908)
OKLCHoklch(46.81% 0.184 330.5)
XYZxyz(16.3869, 8.7348, 24.4850)
Luminance0.0873 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2189 #218F27
analogous
#5E218F #8F2189 #8F2152
triadic
#8F2189 #898F21 #21898F
tetradic
#8F2189 #8F5E21 #218F27 #21528F
square
#8F2189 #8F5E21 #218F27 #21528F
split-complementary
#8F2189 #528F21 #218F5E
monochromatic
#2C0A2A #5D1659 #8F2189 #C12CB9 #D753D0

Accessibility & contrast

On white

7.65
#8F2189 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#8F2189 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2189
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2189#FFFFFF#000000##FFFFFF
##8F21891.007.652.757.65
#FFFFFF7.651.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134A8C
Deuteranopia (green-blind)
#435986
Tritanopia (blue-blind)
#953054
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8f2189;
/* rgb */ color: rgb(143, 33, 137);
/* oklch */ color: oklch(46.8% 0.184 330.5);
Tailwind
colors: {
  custom: {
    50: '#b369ac',
    500: '#8f2189',
    950: '#000000',
  },
}
SCSS
$custom: #8f2189;
$custom-light: #b369ac;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2189",
  "rgb": {
    "r": 143,
    "g": 33,
    "b": 137
  },
  "hsl": {
    "h": 303.273,
    "s": 62.5,
    "l": 34.51
  },
  "oklch": {
    "l": 0.4681,
    "c": 0.18422,
    "h": 330.5
  },
  "luminance": 0.08733
}

Semantic roles & 50–950 ramp

primary
#8F2189
secondary
#51BB57
accent
#E64B42
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8F2189

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

Preview Lab → · Contrast checker → · Palette generator →

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