#8F288C#8F288C

#8F288C is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.6% C 0.179 H 329.2°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#8F288C
RGBrgb(143, 40, 140)
HSLhsl(302, 56%, 36%)
HSVhsv(302, 72%, 56%)
CMYKcmyk(0%, 72%, 2.1%, 43.9%)
CIE-LABlab(36.46, 54.57, -33.15)
CIE-LCHlch(36.46, 63.85, 328.72°)
OKLaboklab(47.58% 0.1536 -0.0916)
OKLCHoklch(47.58% 0.179 329.2)
XYZxyz(16.8200, 9.2519, 25.7058)
Luminance0.0925 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F288C #288F2B
analogous
#5E288F #8F288C #8F2858
triadic
#8F288C #8C8F28 #288C8F
tetradic
#8F288C #8F5E28 #288F2B #28588F
square
#8F288C #8F5E28 #288F2B #28588F
split-complementary
#8F288C #588F28 #288F5E
monochromatic
#2F0D2E #5F1B5D #8F288C #BF35BB #D25FCF

Accessibility & contrast

On white

7.37
#8F288C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#8F288C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F288C
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F288C#FFFFFF#000000##FFFFFF
##8F288C1.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4D8F
Deuteranopia (green-blind)
#455B89
Tritanopia (blue-blind)
#943657
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8f288c;
/* rgb */ color: rgb(143, 40, 140);
/* oklch */ color: oklch(47.6% 0.179 329.2);
Tailwind
colors: {
  custom: {
    50: '#b36cae',
    500: '#8f288c',
    950: '#000000',
  },
}
SCSS
$custom: #8f288c;
$custom-light: #b36cae;
$custom-dark: #000000;
JSON
{
  "hex": "#8f288c",
  "rgb": {
    "r": 143,
    "g": 40,
    "b": 140
  },
  "hsl": {
    "h": 301.748,
    "s": 56.284,
    "l": 35.882
  },
  "oklch": {
    "l": 0.47578,
    "c": 0.17884,
    "h": 329.2
  },
  "luminance": 0.09251
}

Semantic roles & 50–950 ramp

primary
#8F288C
secondary
#5BB85E
accent
#E04D48
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8F288C

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

Preview Lab → · Contrast checker → · Palette generator →

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