#8B247A#8B247A

#8B247A is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.6% C 0.167 H 335.5°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#8B247A
RGBrgb(139, 36, 122)
HSLhsl(310, 59%, 34%)
HSVhsv(310, 74%, 55%)
CMYKcmyk(0%, 74.1%, 12.2%, 45.5%)
CIE-LABlab(34.31, 52.10, -25.42)
CIE-LCHlch(34.31, 57.97, 333.99°)
OKLaboklab(45.58% 0.1523 -0.0694)
OKLCHoklch(45.58% 0.167 335.5)
XYZxyz(14.7914, 8.1572, 19.2041)
Luminance0.0816 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B247A #248B35
analogous
#69248B #8B247A #8B2447
triadic
#8B247A #7A8B24 #247A8B
tetradic
#8B247A #8B6924 #248B35 #24478B
square
#8B247A #8B6924 #248B35 #24478B
split-complementary
#8B247A #478B24 #248B69
monochromatic
#2A0B25 #5A174F #8B247A #BC31A5 #D356BF

Accessibility & contrast

On white

7.98
#8B247A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#8B247A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B247A
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B247A#FFFFFF#000000##FFFFFF
##8B247A1.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24477C
Deuteranopia (green-blind)
#485678
Tritanopia (blue-blind)
#922C4C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8b247a;
/* rgb */ color: rgb(139, 36, 122);
/* oklch */ color: oklch(45.6% 0.167 335.5);
Tailwind
colors: {
  custom: {
    50: '#b069a0',
    500: '#8b247a',
    950: '#000000',
  },
}
SCSS
$custom: #8b247a;
$custom-light: #b069a0;
$custom-dark: #000000;
JSON
{
  "hex": "#8b247a",
  "rgb": {
    "r": 139,
    "g": 36,
    "b": 122
  },
  "hsl": {
    "h": 309.903,
    "s": 58.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.4558,
    "c": 0.16737,
    "h": 335.5
  },
  "luminance": 0.08156
}

Semantic roles & 50–950 ramp

primary
#8B247A
secondary
#53B764
accent
#E26046
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070F
muted
#807A7E

Preview Lab

Preview with #8B247A

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

Preview Lab → · Contrast checker → · Palette generator →

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