#8F288B#8F288B

#8F288B is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.5% C 0.178 H 329.6°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#8F288B
RGBrgb(143, 40, 139)
HSLhsl(302, 56%, 36%)
HSVhsv(302, 72%, 56%)
CMYKcmyk(0%, 72%, 2.8%, 43.9%)
CIE-LABlab(36.41, 54.40, -32.63)
CIE-LCHlch(36.41, 63.44, 329.05°)
OKLaboklab(47.52% 0.1536 -0.0901)
OKLCHoklch(47.52% 0.178 329.6)
XYZxyz(16.7466, 9.2226, 25.3192)
Luminance0.0922 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F288B #288F2C
analogous
#5F288F #8F288B #8F2857
triadic
#8F288B #8B8F28 #288B8F
tetradic
#8F288B #8F5F28 #288F2C #28578F
square
#8F288B #8F5F28 #288F2C #28578F
split-complementary
#8F288B #578F28 #288F5F
monochromatic
#2F0D2E #5F1B5D #8F288B #BF35B9 #D25FCE

Accessibility & contrast

On white

7.38
#8F288B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#8F288B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F288B
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F288B#FFFFFF#000000##FFFFFF
##8F288B1.007.382.847.38
#FFFFFF7.381.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8f288b;
/* rgb */ color: rgb(143, 40, 139);
/* oklch */ color: oklch(47.5% 0.178 329.6);
Tailwind
colors: {
  custom: {
    50: '#b36cad',
    500: '#8f288b',
    950: '#000000',
  },
}
SCSS
$custom: #8f288b;
$custom-light: #b36cad;
$custom-dark: #000000;
JSON
{
  "hex": "#8f288b",
  "rgb": {
    "r": 143,
    "g": 40,
    "b": 139
  },
  "hsl": {
    "h": 302.33,
    "s": 56.284,
    "l": 35.882
  },
  "oklch": {
    "l": 0.4752,
    "c": 0.17803,
    "h": 329.6
  },
  "luminance": 0.09221
}

Semantic roles & 50–950 ramp

primary
#8F288B
secondary
#5BB85F
accent
#E04E48
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8F288B

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

Preview Lab → · Contrast checker → · Palette generator →

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