#8B247D#8B247D

#8B247D is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.7% C 0.170 H 334.1°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#8B247D
RGBrgb(139, 36, 125)
HSLhsl(308, 59%, 34%)
HSVhsv(308, 74%, 55%)
CMYKcmyk(0%, 74.1%, 10.1%, 45.5%)
CIE-LABlab(34.46, 52.57, -27.06)
CIE-LCHlch(34.46, 59.12, 332.76°)
OKLaboklab(45.74% 0.1526 -0.0741)
OKLCHoklch(45.74% 0.17 334.1)
XYZxyz(14.9801, 8.2327, 20.1982)
Luminance0.0823 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B247D #248B32
analogous
#66248B #8B247D #8B244A
triadic
#8B247D #7D8B24 #247D8B
tetradic
#8B247D #8B6624 #248B32 #244A8B
square
#8B247D #8B6624 #248B32 #244A8B
split-complementary
#8B247D #4A8B24 #248B66
monochromatic
#2A0B26 #5A1751 #8B247D #BC31A9 #D356C2

Accessibility & contrast

On white

7.94
#8B247D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#8B247D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B247D
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B247D#FFFFFF#000000##FFFFFF
##8B247D1.007.942.657.94
#FFFFFF7.941.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22477F
Deuteranopia (green-blind)
#47567B
Tritanopia (blue-blind)
#922D4E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8b247d;
/* rgb */ color: rgb(139, 36, 125);
/* oklch */ color: oklch(45.7% 0.170 334.1);
Tailwind
colors: {
  custom: {
    50: '#b069a3',
    500: '#8b247d',
    950: '#000000',
  },
}
SCSS
$custom: #8b247d;
$custom-light: #b069a3;
$custom-dark: #000000;
JSON
{
  "hex": "#8b247d",
  "rgb": {
    "r": 139,
    "g": 36,
    "b": 125
  },
  "hsl": {
    "h": 308.155,
    "s": 58.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.45742,
    "c": 0.16962,
    "h": 334.1
  },
  "luminance": 0.08231
}

Semantic roles & 50–950 ramp

primary
#8B247D
secondary
#53B761
accent
#E25B46
background
#FBF6FA
surface
#F6EBF3
border
#D0C6CD
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8B247D

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

Preview Lab → · Contrast checker → · Palette generator →

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