#8B248A#8B248A

#8B248A is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.5% C 0.180 H 328.4°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#8B248A
RGBrgb(139, 36, 138)
HSLhsl(301, 59%, 34%)
HSVhsv(301, 74%, 55%)
CMYKcmyk(0%, 74.1%, 0.7%, 45.5%)
CIE-LABlab(35.18, 54.71, -34.01)
CIE-LCHlch(35.18, 64.42, 328.14°)
OKLaboklab(46.49% 0.1531 -0.0941)
OKLCHoklch(46.49% 0.18 328.4)
XYZxyz(15.8656, 8.5869, 24.8616)
Luminance0.0859 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B248A #248B25
analogous
#59248B #8B248A #8B2456
triadic
#8B248A #8A8B24 #248A8B
tetradic
#8B248A #8B5924 #248B25 #24568B
square
#8B248A #8B5924 #248B25 #24568B
split-complementary
#8B248A #568B24 #248B59
monochromatic
#2A0B29 #5A175A #8B248A #BC31BA #D356D2

Accessibility & contrast

On white

7.73
#8B248A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#8B248A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B248A
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B248A#FFFFFF#000000##FFFFFF
##8B248A1.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#114A8D
Deuteranopia (green-blind)
#415787
Tritanopia (blue-blind)
#903355
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8b248a;
/* rgb */ color: rgb(139, 36, 138);
/* oklch */ color: oklch(46.5% 0.180 328.4);
Tailwind
colors: {
  custom: {
    50: '#b06aac',
    500: '#8b248a',
    950: '#000000',
  },
}
SCSS
$custom: #8b248a;
$custom-light: #b06aac;
$custom-dark: #000000;
JSON
{
  "hex": "#8b248a",
  "rgb": {
    "r": 139,
    "g": 36,
    "b": 138
  },
  "hsl": {
    "h": 300.583,
    "s": 58.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.46486,
    "c": 0.17975,
    "h": 328.4
  },
  "luminance": 0.08586
}

Semantic roles & 50–950 ramp

primary
#8B248A
secondary
#53B754
accent
#E24746
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8B248A

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

Preview Lab → · Contrast checker → · Palette generator →

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