#8B279E#8B279E

#8B279E is a mid, vivid purple. Relative luminance 0.094; OKLCH L 48.0% C 0.193 H 320.7°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#8B279E
RGBrgb(139, 39, 158)
HSLhsl(290, 60%, 39%)
HSVhsv(290, 75%, 62%)
CMYKcmyk(12%, 75.3%, 0%, 38%)
CIE-LABlab(36.76, 57.27, -43.69)
CIE-LCHlch(36.76, 72.03, 322.66°)
OKLaboklab(48.01% 0.1494 -0.1224)
OKLCHoklch(48.01% 0.193 320.7)
XYZxyz(17.5438, 9.4096, 33.2333)
Luminance0.0941 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B279E #3A9E27
analogous
#4F279E #8B279E #9E2775
triadic
#8B279E #9E8B27 #279E8B
tetradic
#8B279E #9E4F27 #3A9E27 #27759E
square
#8B279E #9E4F27 #3A9E27 #27759E
split-complementary
#8B279E #759E27 #279E4F
monochromatic
#350F3C #601B6D #8B279E #B535CD #C766D9

Accessibility & contrast

On white

7.29
#8B279E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#8B279E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B279E
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B279E#FFFFFF#000000##FFFFFF
##8B279E1.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A1
Deuteranopia (green-blind)
#345A9B
Tritanopia (blue-blind)
#8C3F61
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8b279e;
/* rgb */ color: rgb(139, 39, 158);
/* oklch */ color: oklch(48.0% 0.193 320.7);
Tailwind
colors: {
  custom: {
    50: '#b16cbb',
    500: '#8b279e',
    950: '#000000',
  },
}
SCSS
$custom: #8b279e;
$custom-light: #b16cbb;
$custom-dark: #000000;
JSON
{
  "hex": "#8b279e",
  "rgb": {
    "r": 139,
    "g": 39,
    "b": 158
  },
  "hsl": {
    "h": 290.42,
    "s": 60.406,
    "l": 38.627
  },
  "oklch": {
    "l": 0.48008,
    "c": 0.19312,
    "h": 320.7
  },
  "luminance": 0.09409
}

Semantic roles & 50–950 ramp

primary
#8B279E
secondary
#71BF62
accent
#E4445E
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8B279E

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

Preview Lab → · Contrast checker → · Palette generator →

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