#8B279B#8B279B

#8B279B is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.8% C 0.191 H 321.7°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#8B279B
RGBrgb(139, 39, 155)
HSLhsl(292, 60%, 38%)
HSVhsv(292, 75%, 61%)
CMYKcmyk(10.3%, 74.8%, 0%, 39.2%)
CIE-LABlab(36.57, 56.71, -42.18)
CIE-LCHlch(36.57, 70.67, 323.36°)
OKLaboklab(47.81% 0.1496 -0.118)
OKLCHoklch(47.81% 0.191 321.7)
XYZxyz(17.2887, 9.3075, 31.8899)
Luminance0.0931 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B279B #379B27
analogous
#51279B #8B279B #9B2771
triadic
#8B279B #9B8B27 #279B8B
tetradic
#8B279B #9B5127 #379B27 #27719B
square
#8B279B #9B5127 #379B27 #27719B
split-complementary
#8B279B #719B27 #279B51
monochromatic
#330E39 #5F1B6A #8B279B #B733CC #C864D8

Accessibility & contrast

On white

7.34
#8B279B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#8B279B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B279B
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B279B#FFFFFF#000000##FFFFFF
##8B279B1.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9E
Deuteranopia (green-blind)
#375A98
Tritanopia (blue-blind)
#8C3D5F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8b279b;
/* rgb */ color: rgb(139, 39, 155);
/* oklch */ color: oklch(47.8% 0.191 321.7);
Tailwind
colors: {
  custom: {
    50: '#b06cb9',
    500: '#8b279b',
    950: '#000000',
  },
}
SCSS
$custom: #8b279b;
$custom-light: #b06cb9;
$custom-dark: #000000;
JSON
{
  "hex": "#8b279b",
  "rgb": {
    "r": 139,
    "g": 39,
    "b": 155
  },
  "hsl": {
    "h": 291.724,
    "s": 59.794,
    "l": 38.039
  },
  "oklch": {
    "l": 0.47811,
    "c": 0.19055,
    "h": 321.7
  },
  "luminance": 0.09307
}

Semantic roles & 50–950 ramp

primary
#8B279B
secondary
#6DBE60
accent
#E3455B
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8B279B

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

Preview Lab → · Contrast checker → · Palette generator →

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