#8F2885#8F2885

#8F2885 is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.2% C 0.173 H 332.2°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#8F2885
RGBrgb(143, 40, 133)
HSLhsl(306, 56%, 36%)
HSVhsv(306, 72%, 56%)
CMYKcmyk(0%, 72%, 7%, 43.9%)
CIE-LABlab(36.08, 53.41, -29.44)
CIE-LCHlch(36.08, 60.98, 331.14°)
OKLaboklab(47.18% 0.1533 -0.0809)
OKLCHoklch(47.18% 0.173 332.2)
XYZxyz(16.3202, 9.0520, 23.0734)
Luminance0.0905 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2885 #288F32
analogous
#65288F #8F2885 #8F2851
triadic
#8F2885 #858F28 #28858F
tetradic
#8F2885 #8F6528 #288F32 #28518F
square
#8F2885 #8F6528 #288F32 #28518F
split-complementary
#8F2885 #518F28 #288F65
monochromatic
#2F0D2C #5F1B59 #8F2885 #BF35B1 #D25FC7

Accessibility & contrast

On white

7.47
#8F2885 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#8F2885 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2885
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2885#FFFFFF#000000##FFFFFF
##8F28851.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224C88
Deuteranopia (green-blind)
#485A82
Tritanopia (blue-blind)
#953353
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8f2885;
/* rgb */ color: rgb(143, 40, 133);
/* oklch */ color: oklch(47.2% 0.173 332.2);
Tailwind
colors: {
  custom: {
    50: '#b36ca9',
    500: '#8f2885',
    950: '#000000',
  },
}
SCSS
$custom: #8f2885;
$custom-light: #b36ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2885",
  "rgb": {
    "r": 143,
    "g": 40,
    "b": 133
  },
  "hsl": {
    "h": 305.825,
    "s": 56.284,
    "l": 35.882
  },
  "oklch": {
    "l": 0.47181,
    "c": 0.17329,
    "h": 332.2
  },
  "luminance": 0.09051
}

Semantic roles & 50–950 ramp

primary
#8F2885
secondary
#5BB864
accent
#E05748
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8F2885

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

Preview Lab → · Contrast checker → · Palette generator →

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