#8D249C#8D249C

#8D249C is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.9% C 0.195 H 322.3°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#8D249C
RGBrgb(141, 36, 156)
HSLhsl(293, 63%, 38%)
HSVhsv(293, 77%, 61%)
CMYKcmyk(9.6%, 76.9%, 0%, 38.8%)
CIE-LABlab(36.60, 58.33, -42.71)
CIE-LCHlch(36.60, 72.30, 323.79°)
OKLaboklab(47.92% 0.1547 -0.1195)
OKLCHoklch(47.92% 0.195 322.3)
XYZxyz(17.6155, 9.3258, 32.3183)
Luminance0.0932 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D249C #339C24
analogous
#51249C #8D249C #9C246F
triadic
#8D249C #9C8D24 #249C8D
tetradic
#8D249C #9C5124 #339C24 #246F9C
square
#8D249C #9C5124 #339C24 #246F9C
split-complementary
#8D249C #6F9C24 #249C51
monochromatic
#330D39 #60196A #8D249C #BA2FCE #CB60DA

Accessibility & contrast

On white

7.33
#8D249C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#8D249C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D249C
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D249C#FFFFFF#000000##FFFFFF
##8D249C1.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9F
Deuteranopia (green-blind)
#365A99
Tritanopia (blue-blind)
#8F3C5F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8d249c;
/* rgb */ color: rgb(141, 36, 156);
/* oklch */ color: oklch(47.9% 0.195 322.3);
Tailwind
colors: {
  custom: {
    50: '#b26bba',
    500: '#8d249c',
    950: '#000000',
  },
}
SCSS
$custom: #8d249c;
$custom-light: #b26bba;
$custom-dark: #000000;
JSON
{
  "hex": "#8d249c",
  "rgb": {
    "r": 141,
    "g": 36,
    "b": 156
  },
  "hsl": {
    "h": 292.5,
    "s": 62.5,
    "l": 37.647
  },
  "oklch": {
    "l": 0.4792,
    "c": 0.19543,
    "h": 322.3
  },
  "luminance": 0.09325
}

Semantic roles & 50–950 ramp

primary
#8D249C
secondary
#69BF5C
accent
#E64257
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8D249C

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

Preview Lab → · Contrast checker → · Palette generator →

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