#8B278F#8B278F

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

Color values

HEX#8B278F
RGBrgb(139, 39, 143)
HSLhsl(298, 57%, 36%)
HSVhsv(298, 73%, 56%)
CMYKcmyk(2.8%, 72.7%, 0%, 43.9%)
CIE-LABlab(35.84, 54.53, -36.03)
CIE-LCHlch(35.84, 65.36, 326.54°)
OKLaboklab(47.05% 0.1501 -0.1)
OKLCHoklch(47.05% 0.18 326.3)
XYZxyz(16.3306, 8.9243, 26.8437)
Luminance0.0892 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B278F #2B8F27
analogous
#57278F #8B278F #8F275F
triadic
#8B278F #8F8B27 #278F8B
tetradic
#8B278F #8F5727 #2B8F27 #275F8F
square
#8B278F #8F5727 #2B8F27 #275F8F
split-complementary
#8B278F #5F8F27 #278F57
monochromatic
#2E0D2F #5C1A5F #8B278F #BA34BF #CE5DD3

Accessibility & contrast

On white

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

On black

2.78
#8B278F on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8B278F#FFFFFF#000000##FFFFFF
##8B278F1.007.542.787.54
#FFFFFF7.541.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E4C92
Deuteranopia (green-blind)
#3F598C
Tritanopia (blue-blind)
#8F3858
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8b278f;
/* rgb */ color: rgb(139, 39, 143);
/* oklch */ color: oklch(47.1% 0.180 326.3);
Tailwind
colors: {
  custom: {
    50: '#b06bb0',
    500: '#8b278f',
    950: '#000000',
  },
}
SCSS
$custom: #8b278f;
$custom-light: #b06bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#8b278f",
  "rgb": {
    "r": 139,
    "g": 39,
    "b": 143
  },
  "hsl": {
    "h": 297.692,
    "s": 57.143,
    "l": 35.686
  },
  "oklch": {
    "l": 0.47053,
    "c": 0.18041,
    "h": 326.3
  },
  "luminance": 0.08923
}

Semantic roles & 50–950 ramp

primary
#8B278F
secondary
#5DB85A
accent
#E0474D
background
#FBF6FA
surface
#F6ECF5
border
#D0C7CF
text
#110710
muted
#807A7F

Preview Lab

Preview with #8B278F

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

Preview Lab → · Contrast checker → · Palette generator →

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