#8B249C#8B249C

#8B249C is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.6% C 0.195 H 321.5°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#8B249C
RGBrgb(139, 36, 156)
HSLhsl(292, 63%, 38%)
HSVhsv(292, 77%, 61%)
CMYKcmyk(10.9%, 76.9%, 0%, 38.8%)
CIE-LABlab(36.28, 57.92, -43.26)
CIE-LCHlch(36.28, 72.29, 323.24°)
OKLaboklab(47.62% 0.1523 -0.1211)
OKLCHoklch(47.62% 0.195 321.5)
XYZxyz(17.2784, 9.1520, 32.3025)
Luminance0.0915 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B249C #359C24
analogous
#4F249C #8B249C #9C2471
triadic
#8B249C #9C8B24 #249C8B
tetradic
#8B249C #9C4F24 #359C24 #24719C
square
#8B249C #9C4F24 #359C24 #24719C
split-complementary
#8B249C #719C24 #249C4F
monochromatic
#320D39 #5F196A #8B249C #B72FCE #C960DA

Accessibility & contrast

On white

7.42
#8B249C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#8B249C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B249C
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B249C#FFFFFF#000000##FFFFFF
##8B249C1.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9F
Deuteranopia (green-blind)
#345999
Tritanopia (blue-blind)
#8C3C5F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8b249c;
/* rgb */ color: rgb(139, 36, 156);
/* oklch */ color: oklch(47.6% 0.195 321.5);
Tailwind
colors: {
  custom: {
    50: '#b16bba',
    500: '#8b249c',
    950: '#000000',
  },
}
SCSS
$custom: #8b249c;
$custom-light: #b16bba;
$custom-dark: #000000;
JSON
{
  "hex": "#8b249c",
  "rgb": {
    "r": 139,
    "g": 36,
    "b": 156
  },
  "hsl": {
    "h": 291.5,
    "s": 62.5,
    "l": 37.647
  },
  "oklch": {
    "l": 0.47622,
    "c": 0.19459,
    "h": 321.5
  },
  "luminance": 0.09151
}

Semantic roles & 50–950 ramp

primary
#8B249C
secondary
#6ABF5C
accent
#E64259
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8B249C

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

Preview Lab → · Contrast checker → · Palette generator →

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