#8B279A#8B279A

#8B279A is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.7% C 0.190 H 322.1°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#8B279A
RGBrgb(139, 39, 154)
HSLhsl(292, 60%, 38%)
HSVhsv(292, 75%, 60%)
CMYKcmyk(9.7%, 74.7%, 0%, 39.6%)
CIE-LABlab(36.51, 56.52, -41.68)
CIE-LCHlch(36.51, 70.22, 323.60°)
OKLaboklab(47.75% 0.1497 -0.1165)
OKLCHoklch(47.75% 0.19 322.1)
XYZxyz(17.2051, 9.2741, 31.4494)
Luminance0.0927 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B279A #369A27
analogous
#51279A #8B279A #9A276F
triadic
#8B279A #9A8B27 #279A8B
tetradic
#8B279A #9A5127 #369A27 #276F9A
square
#8B279A #9A5127 #369A27 #276F9A
split-complementary
#8B279A #6F9A27 #279A51
monochromatic
#330E38 #5F1B69 #8B279A #B733CB #C964D8

Accessibility & contrast

On white

7.36
#8B279A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#8B279A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B279A
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B279A#FFFFFF#000000##FFFFFF
##8B279A1.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9D
Deuteranopia (green-blind)
#375A97
Tritanopia (blue-blind)
#8D3D5F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8b279a;
/* rgb */ color: rgb(139, 39, 154);
/* oklch */ color: oklch(47.7% 0.190 322.1);
Tailwind
colors: {
  custom: {
    50: '#b06cb8',
    500: '#8b279a',
    950: '#000000',
  },
}
SCSS
$custom: #8b279a;
$custom-light: #b06cb8;
$custom-dark: #000000;
JSON
{
  "hex": "#8b279a",
  "rgb": {
    "r": 139,
    "g": 39,
    "b": 154
  },
  "hsl": {
    "h": 292.174,
    "s": 59.585,
    "l": 37.843
  },
  "oklch": {
    "l": 0.47746,
    "c": 0.18969,
    "h": 322.1
  },
  "luminance": 0.09273
}

Semantic roles & 50–950 ramp

primary
#8B279A
secondary
#6CBD5F
accent
#E3455A
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8B279A

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

Preview Lab → · Contrast checker → · Palette generator →

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