#8F4E89#8F4E89

#8F4E89 is a mid, moderate purple. Relative luminance 0.131; OKLCH L 52.3% C 0.118 H 330.6°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#8F4E89
RGBrgb(143, 78, 137)
HSLhsl(306, 29%, 43%)
HSVhsv(306, 45%, 56%)
CMYKcmyk(0%, 45.5%, 4.2%, 43.9%)
CIE-LABlab(42.91, 36.21, -21.25)
CIE-LCHlch(42.91, 41.98, 329.59°)
OKLaboklab(52.25% 0.1024 -0.0578)
OKLCHoklch(52.25% 0.118 330.6)
XYZxyz(18.5672, 13.0956, 25.2118)
Luminance0.1310 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4E89 #4E8F54
analogous
#744E8F #8F4E89 #8F4E68
triadic
#8F4E89 #898F4E #4E898F
tetradic
#8F4E89 #8F744E #4E8F54 #4E688F
square
#8F4E89 #8F744E #4E8F54 #4E688F
split-complementary
#8F4E89 #688F4E #4E8F74
monochromatic
#40233D #673863 #8F4E89 #AF6CA8 #C493C0

Accessibility & contrast

On white

5.80
#8F4E89 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#8F4E89 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4E89
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4E89#FFFFFF#000000##FFFFFF
##8F4E891.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B608B
Deuteranopia (green-blind)
#5D6987
Tritanopia (blue-blind)
#945365
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8f4e89;
/* rgb */ color: rgb(143, 78, 137);
/* oklch */ color: oklch(52.3% 0.118 330.6);
Tailwind
colors: {
  custom: {
    50: '#b182ab',
    500: '#8f4e89',
    950: '#000000',
  },
}
SCSS
$custom: #8f4e89;
$custom-light: #b182ab;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4e89",
  "rgb": {
    "r": 143,
    "g": 78,
    "b": 137
  },
  "hsl": {
    "h": 305.538,
    "s": 29.412,
    "l": 43.333
  },
  "oklch": {
    "l": 0.52254,
    "c": 0.11755,
    "h": 330.6
  },
  "luminance": 0.13095
}

Semantic roles & 50–950 ramp

primary
#8F4E89
secondary
#88B18C
accent
#C66B62
background
#FBF8FA
surface
#F6EFF4
border
#D0CACE
text
#110A10
muted
#807C7F

Preview Lab

Preview with #8F4E89

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

Preview Lab → · Contrast checker → · Palette generator →

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