#8B249E#8B249E

#8B249E is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.8% C 0.196 H 320.8°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#8B249E
RGBrgb(139, 36, 158)
HSLhsl(291, 63%, 38%)
HSVhsv(291, 77%, 62%)
CMYKcmyk(12%, 77.2%, 0%, 38%)
CIE-LABlab(36.41, 58.29, -44.26)
CIE-LCHlch(36.41, 73.19, 322.79°)
OKLaboklab(47.76% 0.1521 -0.1241)
OKLCHoklch(47.76% 0.196 320.8)
XYZxyz(17.4492, 9.2203, 33.2017)
Luminance0.0922 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B249E #379E24
analogous
#4E249E #8B249E #9E2474
triadic
#8B249E #9E8B24 #249E8B
tetradic
#8B249E #9E4E24 #379E24 #24749E
square
#8B249E #9E4E24 #379E24 #24749E
split-complementary
#8B249E #749E24 #249E4E
monochromatic
#330D3A #5F196C #8B249E #B72FD0 #C861DB

Accessibility & contrast

On white

7.38
#8B249E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#8B249E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B249E
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B249E#FFFFFF#000000##FFFFFF
##8B249E1.007.382.847.38
#FFFFFF7.381.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA1
Deuteranopia (green-blind)
#32599B
Tritanopia (blue-blind)
#8C3D60
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8b249e;
/* rgb */ color: rgb(139, 36, 158);
/* oklch */ color: oklch(47.8% 0.196 320.8);
Tailwind
colors: {
  custom: {
    50: '#b16bbb',
    500: '#8b249e',
    950: '#000000',
  },
}
SCSS
$custom: #8b249e;
$custom-light: #b16bbb;
$custom-dark: #000000;
JSON
{
  "hex": "#8b249e",
  "rgb": {
    "r": 139,
    "g": 36,
    "b": 158
  },
  "hsl": {
    "h": 290.656,
    "s": 62.887,
    "l": 38.039
  },
  "oklch": {
    "l": 0.47755,
    "c": 0.19627,
    "h": 320.8
  },
  "luminance": 0.09219
}

Semantic roles & 50–950 ramp

primary
#8B249E
secondary
#6DC05E
accent
#E6425B
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8B249E

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

Preview Lab → · Contrast checker → · Palette generator →

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