#8B287C#8B287C

#8B287C is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.1% C 0.164 H 334.6°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#8B287C
RGBrgb(139, 40, 124)
HSLhsl(309, 55%, 35%)
HSVhsv(309, 71%, 55%)
CMYKcmyk(0%, 71.2%, 10.8%, 45.5%)
CIE-LABlab(34.93, 50.95, -25.70)
CIE-LCHlch(34.93, 57.06, 333.23°)
OKLaboklab(46.06% 0.1482 -0.0702)
OKLCHoklch(46.06% 0.164 334.6)
XYZxyz(15.0445, 8.4631, 19.9061)
Luminance0.0846 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B287C #288B37
analogous
#68288B #8B287C #8B284A
triadic
#8B287C #7C8B28 #287C8B
tetradic
#8B287C #8B6828 #288B37 #284A8B
square
#8B287C #8B6828 #288B37 #284A8B
split-complementary
#8B287C #4A8B28 #288B68
monochromatic
#2C0D27 #5B1A52 #8B287C #BB36A6 #D05DBF

Accessibility & contrast

On white

7.80
#8B287C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#8B287C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B287C
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B287C#FFFFFF#000000##FFFFFF
##8B287C1.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27497E
Deuteranopia (green-blind)
#49577A
Tritanopia (blue-blind)
#92304E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8b287c;
/* rgb */ color: rgb(139, 40, 124);
/* oklch */ color: oklch(46.1% 0.164 334.6);
Tailwind
colors: {
  custom: {
    50: '#b06ba2',
    500: '#8b287c',
    950: '#000000',
  },
}
SCSS
$custom: #8b287c;
$custom-light: #b06ba2;
$custom-dark: #000000;
JSON
{
  "hex": "#8b287c",
  "rgb": {
    "r": 139,
    "g": 40,
    "b": 124
  },
  "hsl": {
    "h": 309.091,
    "s": 55.307,
    "l": 35.098
  },
  "oklch": {
    "l": 0.46062,
    "c": 0.16397,
    "h": 334.6
  },
  "luminance": 0.08462
}

Semantic roles & 50–950 ramp

primary
#8B287C
secondary
#59B667
accent
#DF6049
background
#FBF6FA
surface
#F6ECF3
border
#D0C7CD
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8B287C

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

Preview Lab → · Contrast checker → · Palette generator →

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