#8B249B#8B249B

#8B249B is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.6% C 0.194 H 321.9°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#8B249B
RGBrgb(139, 36, 155)
HSLhsl(292, 62%, 37%)
HSVhsv(292, 77%, 61%)
CMYKcmyk(10.3%, 76.8%, 0%, 39.2%)
CIE-LABlab(36.21, 57.73, -42.76)
CIE-LCHlch(36.21, 71.84, 323.48°)
OKLaboklab(47.56% 0.1524 -0.1196)
OKLCHoklch(47.56% 0.194 321.9)
XYZxyz(17.1941, 9.1183, 31.8583)
Luminance0.0912 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B249B #349B24
analogous
#50249B #8B249B #9B246F
triadic
#8B249B #9B8B24 #249B8B
tetradic
#8B249B #9B5024 #349B24 #246F9B
square
#8B249B #9B5024 #349B24 #246F9B
split-complementary
#8B249B #6F9B24 #249B50
monochromatic
#320D38 #5E1869 #8B249B #B830CD #C95FDA

Accessibility & contrast

On white

7.44
#8B249B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8B249B
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B249B#FFFFFF#000000##FFFFFF
##8B249B1.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9E
Deuteranopia (green-blind)
#355998
Tritanopia (blue-blind)
#8C3C5E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8b249b;
/* rgb */ color: rgb(139, 36, 155);
/* oklch */ color: oklch(47.6% 0.194 321.9);
Tailwind
colors: {
  custom: {
    50: '#b16bb9',
    500: '#8b249b',
    950: '#000000',
  },
}
SCSS
$custom: #8b249b;
$custom-light: #b16bb9;
$custom-dark: #000000;
JSON
{
  "hex": "#8b249b",
  "rgb": {
    "r": 139,
    "g": 36,
    "b": 155
  },
  "hsl": {
    "h": 291.933,
    "s": 62.304,
    "l": 37.451
  },
  "oklch": {
    "l": 0.47556,
    "c": 0.19374,
    "h": 321.9
  },
  "luminance": 0.09117
}

Semantic roles & 50–950 ramp

primary
#8B249B
secondary
#69BF5C
accent
#E54258
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8B249B

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

Preview Lab → · Contrast checker → · Palette generator →

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