#8B247E#8B247E

#8B247E is a mid, vivid purple. Relative luminance 0.083; OKLCH L 45.8% C 0.170 H 333.6°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#8B247E
RGBrgb(139, 36, 126)
HSLhsl(308, 59%, 34%)
HSVhsv(308, 74%, 55%)
CMYKcmyk(0%, 74.1%, 9.4%, 45.5%)
CIE-LABlab(34.52, 52.73, -27.60)
CIE-LCHlch(34.52, 59.52, 332.37°)
OKLaboklab(45.8% 0.1527 -0.0756)
OKLCHoklch(45.8% 0.17 333.6)
XYZxyz(15.0443, 8.2584, 20.5363)
Luminance0.0826 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B247E #248B31
analogous
#65248B #8B247E #8B244B
triadic
#8B247E #7E8B24 #247E8B
tetradic
#8B247E #8B6524 #248B31 #244B8B
square
#8B247E #8B6524 #248B31 #244B8B
split-complementary
#8B247E #4B8B24 #248B65
monochromatic
#2A0B26 #5A1752 #8B247E #BC31AA #D356C3

Accessibility & contrast

On white

7.92
#8B247E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8B247E
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B247E#FFFFFF#000000##FFFFFF
##8B247E1.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214880
Deuteranopia (green-blind)
#47567C
Tritanopia (blue-blind)
#922E4E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8b247e;
/* rgb */ color: rgb(139, 36, 126);
/* oklch */ color: oklch(45.8% 0.170 333.6);
Tailwind
colors: {
  custom: {
    50: '#b06aa3',
    500: '#8b247e',
    950: '#000000',
  },
}
SCSS
$custom: #8b247e;
$custom-light: #b06aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#8b247e",
  "rgb": {
    "r": 139,
    "g": 36,
    "b": 126
  },
  "hsl": {
    "h": 307.573,
    "s": 58.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.45797,
    "c": 0.17037,
    "h": 333.6
  },
  "luminance": 0.08257
}

Semantic roles & 50–950 ramp

primary
#8B247E
secondary
#53B760
accent
#E25946
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8B247E

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

Preview Lab → · Contrast checker → · Palette generator →

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