#8D249A#8D249A

#8D249A is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.8% C 0.194 H 323.0°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#8D249A
RGBrgb(141, 36, 154)
HSLhsl(293, 62%, 37%)
HSVhsv(293, 77%, 60%)
CMYKcmyk(8.4%, 76.6%, 0%, 39.6%)
CIE-LABlab(36.48, 57.97, -41.70)
CIE-LCHlch(36.48, 71.41, 324.27°)
OKLaboklab(47.79% 0.1548 -0.1165)
OKLCHoklch(47.79% 0.194 323)
XYZxyz(17.4476, 9.2586, 31.4337)
Luminance0.0926 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D249A #319A24
analogous
#52249A #8D249A #9A246C
triadic
#8D249A #9A8D24 #249A8D
tetradic
#8D249A #9A5224 #319A24 #246C9A
square
#8D249A #9A5224 #319A24 #246C9A
split-complementary
#8D249A #6C9A24 #249A52
monochromatic
#320D37 #601868 #8D249A #BA30CC #CC5FDA

Accessibility & contrast

On white

7.36
#8D249A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#8D249A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D249A
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D249A#FFFFFF#000000##FFFFFF
##8D249A1.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9D
Deuteranopia (green-blind)
#385A97
Tritanopia (blue-blind)
#8F3B5E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8d249a;
/* rgb */ color: rgb(141, 36, 154);
/* oklch */ color: oklch(47.8% 0.194 323.0);
Tailwind
colors: {
  custom: {
    50: '#b26bb8',
    500: '#8d249a',
    950: '#000000',
  },
}
SCSS
$custom: #8d249a;
$custom-light: #b26bb8;
$custom-dark: #000000;
JSON
{
  "hex": "#8d249a",
  "rgb": {
    "r": 141,
    "g": 36,
    "b": 154
  },
  "hsl": {
    "h": 293.39,
    "s": 62.105,
    "l": 37.255
  },
  "oklch": {
    "l": 0.47789,
    "c": 0.19377,
    "h": 323
  },
  "luminance": 0.09258
}

Semantic roles & 50–950 ramp

primary
#8D249A
secondary
#66BF5B
accent
#E54355
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8D249A

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

Preview Lab → · Contrast checker → · Palette generator →

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