#8B248B#8B248B

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

Color values

HEX#8B248B
RGBrgb(139, 36, 139)
HSLhsl(300, 59%, 34%)
HSVhsv(300, 74%, 55%)
CMYKcmyk(0%, 74.1%, 0%, 45.5%)
CIE-LABlab(35.23, 54.88, -34.53)
CIE-LCHlch(35.23, 64.84, 327.82°)
OKLaboklab(46.55% 0.1531 -0.0957)
OKLCHoklch(46.55% 0.181 328)
XYZxyz(15.9383, 8.6160, 25.2447)
Luminance0.0862 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B248B #248B24
analogous
#58248B #8B248B #8B2458
triadic
#8B248B #8B8B24 #248B8B
tetradic
#8B248B #8B5824 #248B24 #24588B
square
#8B248B #8B5824 #248B24 #24588B
split-complementary
#8B248B #588B24 #248B58
monochromatic
#2A0B2A #5A175A #8B248B #BC31BC #D356D3

Accessibility & contrast

On white

7.71
#8B248B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8B248B
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B248B#FFFFFF#000000##FFFFFF
##8B248B1.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#104A8E
Deuteranopia (green-blind)
#405788
Tritanopia (blue-blind)
#8F3455
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8b248b;
/* rgb */ color: rgb(139, 36, 139);
/* oklch */ color: oklch(46.5% 0.181 328.0);
Tailwind
colors: {
  custom: {
    50: '#b06aad',
    500: '#8b248b',
    950: '#000000',
  },
}
SCSS
$custom: #8b248b;
$custom-light: #b06aad;
$custom-dark: #000000;
JSON
{
  "hex": "#8b248b",
  "rgb": {
    "r": 139,
    "g": 36,
    "b": 139
  },
  "hsl": {
    "h": 300,
    "s": 58.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.46546,
    "c": 0.18056,
    "h": 328
  },
  "luminance": 0.08615
}

Semantic roles & 50–950 ramp

primary
#8B248B
secondary
#53B753
accent
#E24646
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8B248B

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

Preview Lab → · Contrast checker → · Palette generator →

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