#8B248C#8B248C

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

Color values

HEX#8B248C
RGBrgb(139, 36, 140)
HSLhsl(299, 59%, 35%)
HSVhsv(299, 74%, 55%)
CMYKcmyk(0.7%, 74.3%, 0%, 45.1%)
CIE-LABlab(35.29, 55.06, -35.06)
CIE-LCHlch(35.29, 65.27, 327.51°)
OKLaboklab(46.61% 0.1531 -0.0972)
OKLCHoklch(46.61% 0.181 327.6)
XYZxyz(16.0117, 8.6453, 25.6312)
Luminance0.0864 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B248C #258C24
analogous
#57248C #8B248C #8C2459
triadic
#8B248C #8C8B24 #248C8B
tetradic
#8B248C #8C5724 #258C24 #24598C
square
#8B248C #8C5724 #258C24 #24598C
split-complementary
#8B248C #598C24 #248C57
monochromatic
#2A0B2B #5B175B #8B248C #BB31BD #D357D4

Accessibility & contrast

On white

7.70
#8B248C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8B248C
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B248C#FFFFFF#000000##FFFFFF
##8B248C1.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D4B8F
Deuteranopia (green-blind)
#3F5889
Tritanopia (blue-blind)
#8F3456
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8b248c;
/* rgb */ color: rgb(139, 36, 140);
/* oklch */ color: oklch(46.6% 0.181 327.6);
Tailwind
colors: {
  custom: {
    50: '#b06aae',
    500: '#8b248c',
    950: '#000000',
  },
}
SCSS
$custom: #8b248c;
$custom-light: #b06aae;
$custom-dark: #000000;
JSON
{
  "hex": "#8b248c",
  "rgb": {
    "r": 139,
    "g": 36,
    "b": 140
  },
  "hsl": {
    "h": 299.423,
    "s": 59.091,
    "l": 34.51
  },
  "oklch": {
    "l": 0.46606,
    "c": 0.18136,
    "h": 327.6
  },
  "luminance": 0.08644
}

Semantic roles & 50–950 ramp

primary
#8B248C
secondary
#55B854
accent
#E24647
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8B248C

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

Preview Lab → · Contrast checker → · Palette generator →

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