#8B247B#8B247B

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

Color values

HEX#8B247B
RGBrgb(139, 36, 123)
HSLhsl(309, 59%, 34%)
HSVhsv(309, 74%, 55%)
CMYKcmyk(0%, 74.1%, 11.5%, 45.5%)
CIE-LABlab(34.36, 52.25, -25.97)
CIE-LCHlch(34.36, 58.35, 333.57°)
OKLaboklab(45.63% 0.1524 -0.0709)
OKLCHoklch(45.63% 0.168 335)
XYZxyz(14.8537, 8.1821, 19.5321)
Luminance0.0818 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B247B #248B34
analogous
#68248B #8B247B #8B2448
triadic
#8B247B #7B8B24 #247B8B
tetradic
#8B247B #8B6824 #248B34 #24488B
square
#8B247B #8B6824 #248B34 #24488B
split-complementary
#8B247B #488B24 #248B68
monochromatic
#2A0B25 #5A1750 #8B247B #BC31A6 #D356C0

Accessibility & contrast

On white

7.97
#8B247B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#8B247B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B247B
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B247B#FFFFFF#000000##FFFFFF
##8B247B1.007.972.647.97
#FFFFFF7.971.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24477D
Deuteranopia (green-blind)
#485679
Tritanopia (blue-blind)
#922C4D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8b247b;
/* rgb */ color: rgb(139, 36, 123);
/* oklch */ color: oklch(45.6% 0.168 335.0);
Tailwind
colors: {
  custom: {
    50: '#b069a1',
    500: '#8b247b',
    950: '#000000',
  },
}
SCSS
$custom: #8b247b;
$custom-light: #b069a1;
$custom-dark: #000000;
JSON
{
  "hex": "#8b247b",
  "rgb": {
    "r": 139,
    "g": 36,
    "b": 123
  },
  "hsl": {
    "h": 309.32,
    "s": 58.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.45634,
    "c": 0.16811,
    "h": 335
  },
  "luminance": 0.08181
}

Semantic roles & 50–950 ramp

primary
#8B247B
secondary
#53B763
accent
#E25E46
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070F
muted
#807A7E

Preview Lab

Preview with #8B247B

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

Preview Lab → · Contrast checker → · Palette generator →

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