#8F2E89#8F2E89

#8F2E89 is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.0% C 0.169 H 330.4°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#8F2E89
RGBrgb(143, 46, 137)
HSLhsl(304, 51%, 37%)
HSVhsv(304, 68%, 56%)
CMYKcmyk(0%, 67.8%, 4.2%, 43.9%)
CIE-LABlab(37.12, 51.76, -30.28)
CIE-LCHlch(37.12, 59.97, 329.67°)
OKLaboklab(48% 0.1469 -0.0833)
OKLCHoklch(48% 0.169 330.4)
XYZxyz(16.8200, 9.6010, 24.6293)
Luminance0.0960 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2E89 #2E8F34
analogous
#642E8F #8F2E89 #8F2E59
triadic
#8F2E89 #898F2E #2E898F
tetradic
#8F2E89 #8F642E #2E8F34 #2E598F
square
#8F2E89 #8F642E #2E8F34 #2E598F
split-complementary
#8F2E89 #598F2E #2E8F64
monochromatic
#321030 #611F5D #8F2E89 #BD3DB5 #CF69C8

Accessibility & contrast

On white

7.19
#8F2E89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#8F2E89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2E89
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2E89#FFFFFF#000000##FFFFFF
##8F2E891.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264F8C
Deuteranopia (green-blind)
#495C86
Tritanopia (blue-blind)
#943957
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8f2e89;
/* rgb */ color: rgb(143, 46, 137);
/* oklch */ color: oklch(48.0% 0.169 330.4);
Tailwind
colors: {
  custom: {
    50: '#b36fac',
    500: '#8f2e89',
    950: '#000000',
  },
}
SCSS
$custom: #8f2e89;
$custom-light: #b36fac;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2e89",
  "rgb": {
    "r": 143,
    "g": 46,
    "b": 137
  },
  "hsl": {
    "h": 303.711,
    "s": 51.323,
    "l": 37.059
  },
  "oklch": {
    "l": 0.47995,
    "c": 0.16886,
    "h": 330.4
  },
  "luminance": 0.096
}

Semantic roles & 50–950 ramp

primary
#8F2E89
secondary
#63B668
accent
#DB564D
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8F2E89

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

Preview Lab → · Contrast checker → · Palette generator →

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