#8D249D#8D249D

#8D249D is a mid, vivid purple. Relative luminance 0.094; OKLCH L 48.0% C 0.196 H 322.0°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#8D249D
RGBrgb(141, 36, 157)
HSLhsl(292, 63%, 38%)
HSVhsv(292, 77%, 62%)
CMYKcmyk(10.2%, 77.1%, 0%, 38.4%)
CIE-LABlab(36.67, 58.51, -43.22)
CIE-LCHlch(36.67, 72.74, 323.55°)
OKLaboklab(47.99% 0.1546 -0.1209)
OKLCHoklch(47.99% 0.196 322)
XYZxyz(17.7005, 9.3598, 32.7660)
Luminance0.0936 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D249D #349D24
analogous
#50249D #8D249D #9D2470
triadic
#8D249D #9D8D24 #249D8D
tetradic
#8D249D #9D5024 #349D24 #24709D
square
#8D249D #9D5024 #349D24 #24709D
split-complementary
#8D249D #709D24 #249D50
monochromatic
#340D39 #60196B #8D249D #BA2FCF #CB61DB

Accessibility & contrast

On white

7.31
#8D249D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D249D
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D249D#FFFFFF#000000##FFFFFF
##8D249D1.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA0
Deuteranopia (green-blind)
#355A9A
Tritanopia (blue-blind)
#8F3C60
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8d249d;
/* rgb */ color: rgb(141, 36, 157);
/* oklch */ color: oklch(48.0% 0.196 322.0);
Tailwind
colors: {
  custom: {
    50: '#b26bba',
    500: '#8d249d',
    950: '#000000',
  },
}
SCSS
$custom: #8d249d;
$custom-light: #b26bba;
$custom-dark: #000000;
JSON
{
  "hex": "#8d249d",
  "rgb": {
    "r": 141,
    "g": 36,
    "b": 157
  },
  "hsl": {
    "h": 292.066,
    "s": 62.694,
    "l": 37.843
  },
  "oklch": {
    "l": 0.47986,
    "c": 0.19626,
    "h": 322
  },
  "luminance": 0.09359
}

Semantic roles & 50–950 ramp

primary
#8D249D
secondary
#6AC05D
accent
#E64258
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8D249D

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

Preview Lab → · Contrast checker → · Palette generator →

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