#8F278F#8F278F

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

Color values

HEX#8F278F
RGBrgb(143, 39, 143)
HSLhsl(300, 57%, 36%)
HSVhsv(300, 73%, 56%)
CMYKcmyk(0%, 72.7%, 0%, 43.9%)
CIE-LABlab(36.51, 55.44, -34.93)
CIE-LCHlch(36.51, 65.53, 327.79°)
OKLaboklab(47.66% 0.1547 -0.0967)
OKLCHoklch(47.66% 0.182 328)
XYZxyz(17.0109, 9.2751, 26.8756)
Luminance0.0927 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F278F #278F27
analogous
#5B278F #8F278F #8F275B
triadic
#8F278F #8F8F27 #278F8F
tetradic
#8F278F #8F5B27 #278F27 #275B8F
square
#8F278F #8F5B27 #278F27 #275B8F
split-complementary
#8F278F #5B8F27 #278F5B
monochromatic
#2F0D2F #5F1A5F #8F278F #BF34BF #D35DD3

Accessibility & contrast

On white

7.36
#8F278F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F278F
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F278F#FFFFFF#000000##FFFFFF
##8F278F1.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8f278f;
/* rgb */ color: rgb(143, 39, 143);
/* oklch */ color: oklch(47.7% 0.182 328.0);
Tailwind
colors: {
  custom: {
    50: '#b36cb0',
    500: '#8f278f',
    950: '#000000',
  },
}
SCSS
$custom: #8f278f;
$custom-light: #b36cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#8f278f",
  "rgb": {
    "r": 143,
    "g": 39,
    "b": 143
  },
  "hsl": {
    "h": 300,
    "s": 57.143,
    "l": 35.686
  },
  "oklch": {
    "l": 0.47664,
    "c": 0.18242,
    "h": 328
  },
  "luminance": 0.09274
}

Semantic roles & 50–950 ramp

primary
#8F278F
secondary
#5AB85A
accent
#E04747
background
#FBF6FA
surface
#F6ECF5
border
#D0C7CF
text
#110710
muted
#807A7F

Preview Lab

Preview with #8F278F

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

Preview Lab → · Contrast checker → · Palette generator →

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