#8F288F#8F288F

#8F288F is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.8% C 0.181 H 328.0°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#8F288F
RGBrgb(143, 40, 143)
HSLhsl(300, 56%, 36%)
HSVhsv(300, 72%, 56%)
CMYKcmyk(0%, 72%, 0%, 43.9%)
CIE-LABlab(36.63, 55.09, -34.73)
CIE-LCHlch(36.63, 65.12, 327.77°)
OKLaboklab(47.75% 0.1537 -0.0962)
OKLCHoklch(47.75% 0.181 328)
XYZxyz(17.0442, 9.3416, 26.8867)
Luminance0.0934 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F288F #288F28
analogous
#5B288F #8F288F #8F285B
triadic
#8F288F #8F8F28 #288F8F
tetradic
#8F288F #8F5B28 #288F28 #285B8F
square
#8F288F #8F5B28 #288F28 #285B8F
split-complementary
#8F288F #5B8F28 #288F5B
monochromatic
#2F0D2F #5F1B5F #8F288F #BF35BF #D25FD2

Accessibility & contrast

On white

7.32
#8F288F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#8F288F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F288F
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F288F#FFFFFF#000000##FFFFFF
##8F288F1.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164E92
Deuteranopia (green-blind)
#435B8C
Tritanopia (blue-blind)
#943759
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8f288f;
/* rgb */ color: rgb(143, 40, 143);
/* oklch */ color: oklch(47.8% 0.181 328.0);
Tailwind
colors: {
  custom: {
    50: '#b36cb0',
    500: '#8f288f',
    950: '#000000',
  },
}
SCSS
$custom: #8f288f;
$custom-light: #b36cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#8f288f",
  "rgb": {
    "r": 143,
    "g": 40,
    "b": 143
  },
  "hsl": {
    "h": 300,
    "s": 56.284,
    "l": 35.882
  },
  "oklch": {
    "l": 0.47754,
    "c": 0.18126,
    "h": 328
  },
  "luminance": 0.0934
}

Semantic roles & 50–950 ramp

primary
#8F288F
secondary
#5BB85B
accent
#E04848
background
#FBF6FA
surface
#F6ECF5
border
#D0C7CF
text
#110810
muted
#807B7F

Preview Lab

Preview with #8F288F

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

Preview Lab → · Contrast checker → · Palette generator →

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