#8B247C#8B247C

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

Color values

HEX#8B247C
RGBrgb(139, 36, 124)
HSLhsl(309, 59%, 34%)
HSVhsv(309, 74%, 55%)
CMYKcmyk(0%, 74.1%, 10.8%, 45.5%)
CIE-LABlab(34.41, 52.41, -26.51)
CIE-LCHlch(34.41, 58.74, 333.17°)
OKLaboklab(45.69% 0.1525 -0.0725)
OKLCHoklch(45.69% 0.169 334.6)
XYZxyz(14.9166, 8.2073, 19.8634)
Luminance0.0821 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B247C #248B33
analogous
#67248B #8B247C #8B2449
triadic
#8B247C #7C8B24 #247C8B
tetradic
#8B247C #8B6724 #248B33 #24498B
square
#8B247C #8B6724 #248B33 #24498B
split-complementary
#8B247C #498B24 #248B67
monochromatic
#2A0B25 #5A1751 #8B247C #BC31A7 #D356C1

Accessibility & contrast

On white

7.95
#8B247C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8B247C
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B247C#FFFFFF#000000##FFFFFF
##8B247C1.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23477E
Deuteranopia (green-blind)
#48567A
Tritanopia (blue-blind)
#922D4D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8b247c;
/* rgb */ color: rgb(139, 36, 124);
/* oklch */ color: oklch(45.7% 0.169 334.6);
Tailwind
colors: {
  custom: {
    50: '#b069a2',
    500: '#8b247c',
    950: '#000000',
  },
}
SCSS
$custom: #8b247c;
$custom-light: #b069a2;
$custom-dark: #000000;
JSON
{
  "hex": "#8b247c",
  "rgb": {
    "r": 139,
    "g": 36,
    "b": 124
  },
  "hsl": {
    "h": 308.738,
    "s": 58.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.45688,
    "c": 0.16886,
    "h": 334.6
  },
  "luminance": 0.08206
}

Semantic roles & 50–950 ramp

primary
#8B247C
secondary
#53B762
accent
#E25D46
background
#FBF6FA
surface
#F6EBF3
border
#D0C6CD
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8B247C

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

Preview Lab → · Contrast checker → · Palette generator →

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