#8B248D#8B248D

#8B248D is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.7% C 0.182 H 327.2°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#8B248D
RGBrgb(139, 36, 141)
HSLhsl(299, 59%, 35%)
HSVhsv(299, 74%, 55%)
CMYKcmyk(1.4%, 74.5%, 0%, 44.7%)
CIE-LABlab(35.35, 55.23, -35.58)
CIE-LCHlch(35.35, 65.70, 327.21°)
OKLaboklab(46.67% 0.1531 -0.0987)
OKLCHoklch(46.67% 0.182 327.2)
XYZxyz(16.0858, 8.6749, 26.0213)
Luminance0.0867 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B248D #268D24
analogous
#57248D #8B248D #8D245B
triadic
#8B248D #8D8B24 #248D8B
tetradic
#8B248D #8D5724 #268D24 #245B8D
square
#8B248D #8D5724 #268D24 #245B8D
split-complementary
#8B248D #5B8D24 #248D57
monochromatic
#2B0B2B #5B185C #8B248D #BB30BE #D257D4

Accessibility & contrast

On white

7.68
#8B248D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#8B248D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B248D
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B248D#FFFFFF#000000##FFFFFF
##8B248D1.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B4B90
Deuteranopia (green-blind)
#3F588A
Tritanopia (blue-blind)
#8F3557
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8b248d;
/* rgb */ color: rgb(139, 36, 141);
/* oklch */ color: oklch(46.7% 0.182 327.2);
Tailwind
colors: {
  custom: {
    50: '#b06aaf',
    500: '#8b248d',
    950: '#000000',
  },
}
SCSS
$custom: #8b248d;
$custom-light: #b06aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#8b248d",
  "rgb": {
    "r": 139,
    "g": 36,
    "b": 141
  },
  "hsl": {
    "h": 298.857,
    "s": 59.322,
    "l": 34.706
  },
  "oklch": {
    "l": 0.46667,
    "c": 0.18217,
    "h": 327.2
  },
  "luminance": 0.08674
}

Semantic roles & 50–950 ramp

primary
#8B248D
secondary
#56B854
accent
#E34548
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8B248D

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

Preview Lab → · Contrast checker → · Palette generator →

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