#8B249A#8B249A

#8B249A is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.5% C 0.193 H 322.2°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#8B249A
RGBrgb(139, 36, 154)
HSLhsl(292, 62%, 37%)
HSVhsv(292, 77%, 60%)
CMYKcmyk(9.7%, 76.6%, 0%, 39.6%)
CIE-LABlab(36.15, 57.55, -42.25)
CIE-LCHlch(36.15, 71.40, 323.71°)
OKLaboklab(47.49% 0.1525 -0.1182)
OKLCHoklch(47.49% 0.193 322.2)
XYZxyz(17.1105, 9.0848, 31.4179)
Luminance0.0908 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B249A #339A24
analogous
#50249A #8B249A #9A246E
triadic
#8B249A #9A8B24 #249A8B
tetradic
#8B249A #9A5024 #339A24 #246E9A
square
#8B249A #9A5024 #339A24 #246E9A
split-complementary
#8B249A #6E9A24 #249A50
monochromatic
#310D37 #5E1868 #8B249A #B830CC #CA5FDA

Accessibility & contrast

On white

7.46
#8B249A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#8B249A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B249A
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B249A#FFFFFF#000000##FFFFFF
##8B249A1.007.462.827.46
#FFFFFF7.461.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9D
Deuteranopia (green-blind)
#365997
Tritanopia (blue-blind)
#8D3B5E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8b249a;
/* rgb */ color: rgb(139, 36, 154);
/* oklch */ color: oklch(47.5% 0.193 322.2);
Tailwind
colors: {
  custom: {
    50: '#b16bb8',
    500: '#8b249a',
    950: '#000000',
  },
}
SCSS
$custom: #8b249a;
$custom-light: #b16bb8;
$custom-dark: #000000;
JSON
{
  "hex": "#8b249a",
  "rgb": {
    "r": 139,
    "g": 36,
    "b": 154
  },
  "hsl": {
    "h": 292.373,
    "s": 62.105,
    "l": 37.255
  },
  "oklch": {
    "l": 0.4749,
    "c": 0.19291,
    "h": 322.2
  },
  "luminance": 0.09084
}

Semantic roles & 50–950 ramp

primary
#8B249A
secondary
#68BF5B
accent
#E54357
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8B249A

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

Preview Lab → · Contrast checker → · Palette generator →

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