#8F2783#8F2783

#8F2783 is a mid, vivid purple. Relative luminance 0.089; OKLCH L 47.0% C 0.173 H 333.1°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#8F2783
RGBrgb(143, 39, 131)
HSLhsl(307, 57%, 36%)
HSVhsv(307, 73%, 56%)
CMYKcmyk(0%, 72.7%, 8.4%, 43.9%)
CIE-LABlab(35.85, 53.44, -28.57)
CIE-LCHlch(35.85, 60.60, 331.88°)
OKLaboklab(46.98% 0.1542 -0.0783)
OKLCHoklch(46.98% 0.173 333.1)
XYZxyz(16.1500, 8.9307, 22.3415)
Luminance0.0893 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2783 #278F33
analogous
#67278F #8F2783 #8F274F
triadic
#8F2783 #838F27 #27838F
tetradic
#8F2783 #8F6727 #278F33 #274F8F
square
#8F2783 #8F6727 #278F33 #274F8F
split-complementary
#8F2783 #4F8F27 #278F67
monochromatic
#2F0D2B #5F1A57 #8F2783 #BF34AF #D35DC5

Accessibility & contrast

On white

7.54
#8F2783 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#8F2783 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2783
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2783#FFFFFF#000000##FFFFFF
##8F27831.007.542.797.54
#FFFFFF7.541.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234B86
Deuteranopia (green-blind)
#495A80
Tritanopia (blue-blind)
#953152
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8f2783;
/* rgb */ color: rgb(143, 39, 131);
/* oklch */ color: oklch(47.0% 0.173 333.1);
Tailwind
colors: {
  custom: {
    50: '#b36ca7',
    500: '#8f2783',
    950: '#000000',
  },
}
SCSS
$custom: #8f2783;
$custom-light: #b36ca7;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2783",
  "rgb": {
    "r": 143,
    "g": 39,
    "b": 131
  },
  "hsl": {
    "h": 306.923,
    "s": 57.143,
    "l": 35.686
  },
  "oklch": {
    "l": 0.46978,
    "c": 0.17295,
    "h": 333.1
  },
  "luminance": 0.08929
}

Semantic roles & 50–950 ramp

primary
#8F2783
secondary
#5AB865
accent
#E05947
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8F2783

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

Preview Lab → · Contrast checker → · Palette generator →

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