#8B279F#8B279F

#8B279F is a mid, vivid purple. Relative luminance 0.094; OKLCH L 48.1% C 0.194 H 320.3°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#8B279F
RGBrgb(139, 39, 159)
HSLhsl(290, 61%, 39%)
HSVhsv(290, 75%, 62%)
CMYKcmyk(12.6%, 75.5%, 0%, 37.6%)
CIE-LABlab(36.83, 57.46, -44.19)
CIE-LCHlch(36.83, 72.48, 322.43°)
OKLaboklab(48.08% 0.1493 -0.1239)
OKLCHoklch(48.08% 0.194 320.3)
XYZxyz(17.6302, 9.4441, 33.6884)
Luminance0.0944 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B279F #3B9F27
analogous
#4F279F #8B279F #9F2777
triadic
#8B279F #9F8B27 #279F8B
tetradic
#8B279F #9F4F27 #3B9F27 #27779F
square
#8B279F #9F4F27 #3B9F27 #27779F
split-complementary
#8B279F #779F27 #279F4F
monochromatic
#350F3D #601B6E #8B279F #B436CE #C767DA

Accessibility & contrast

On white

7.27
#8B279F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#8B279F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B279F
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B279F#FFFFFF#000000##FFFFFF
##8B279F1.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A2
Deuteranopia (green-blind)
#335A9C
Tritanopia (blue-blind)
#8C3F61
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8b279f;
/* rgb */ color: rgb(139, 39, 159);
/* oklch */ color: oklch(48.1% 0.194 320.3);
Tailwind
colors: {
  custom: {
    50: '#b16cbc',
    500: '#8b279f',
    950: '#000000',
  },
}
SCSS
$custom: #8b279f;
$custom-light: #b16cbc;
$custom-dark: #000000;
JSON
{
  "hex": "#8b279f",
  "rgb": {
    "r": 139,
    "g": 39,
    "b": 159
  },
  "hsl": {
    "h": 290,
    "s": 60.606,
    "l": 38.824
  },
  "oklch": {
    "l": 0.48075,
    "c": 0.19399,
    "h": 320.3
  },
  "luminance": 0.09443
}

Semantic roles & 50–950 ramp

primary
#8B279F
secondary
#72C062
accent
#E4445F
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8B279F

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

Preview Lab → · Contrast checker → · Palette generator →

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