#8B277F#8B277F

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

Color values

HEX#8B277F
RGBrgb(139, 39, 127)
HSLhsl(307, 56%, 35%)
HSVhsv(307, 72%, 55%)
CMYKcmyk(0%, 71.9%, 8.6%, 45.5%)
CIE-LABlab(34.95, 51.81, -27.54)
CIE-LCHlch(34.95, 58.67, 332.00°)
OKLaboklab(46.13% 0.1496 -0.0755)
OKLCHoklch(46.13% 0.168 333.2)
XYZxyz(15.2038, 8.4736, 20.9094)
Luminance0.0847 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B277F #278B33
analogous
#65278B #8B277F #8B274D
triadic
#8B277F #7F8B27 #277F8B
tetradic
#8B277F #8B6527 #278B33 #274D8B
square
#8B277F #8B6527 #278B33 #274D8B
split-complementary
#8B277F #4D8B27 #278B65
monochromatic
#2B0C28 #5B1A53 #8B277F #BB34AB #D15BC3

Accessibility & contrast

On white

7.79
#8B277F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8B277F
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B277F#FFFFFF#000000##FFFFFF
##8B277F1.007.792.697.79
#FFFFFF7.791.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234981
Deuteranopia (green-blind)
#48577D
Tritanopia (blue-blind)
#913050
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8b277f;
/* rgb */ color: rgb(139, 39, 127);
/* oklch */ color: oklch(46.1% 0.168 333.2);
Tailwind
colors: {
  custom: {
    50: '#b06ba4',
    500: '#8b277f',
    950: '#000000',
  },
}
SCSS
$custom: #8b277f;
$custom-light: #b06ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#8b277f",
  "rgb": {
    "r": 139,
    "g": 39,
    "b": 127
  },
  "hsl": {
    "h": 307.2,
    "s": 56.18,
    "l": 34.902
  },
  "oklch": {
    "l": 0.46128,
    "c": 0.16754,
    "h": 333.2
  },
  "luminance": 0.08472
}

Semantic roles & 50–950 ramp

primary
#8B277F
secondary
#58B663
accent
#DF5A48
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8B277F

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

Preview Lab → · Contrast checker → · Palette generator →

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