#9D249B#9D249B

#9D249B is a mid, highly saturated purple. Relative luminance 0.108; OKLCH L 50.3% C 0.202 H 328.8°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#9D249B
RGBrgb(157, 36, 155)
HSLhsl(301, 63%, 38%)
HSVhsv(301, 77%, 62%)
CMYKcmyk(0%, 77.1%, 1.3%, 38.4%)
CIE-LABlab(39.24, 61.52, -37.75)
CIE-LCHlch(39.24, 72.18, 328.47°)
OKLaboklab(50.3% 0.1727 -0.1045)
OKLCHoklch(50.3% 0.202 328.8)
XYZxyz(20.4517, 10.7980, 32.0110)
Luminance0.1080 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D249B #249D26
analogous
#63249D #9D249B #9D245E
triadic
#9D249B #9B9D24 #249B9D
tetradic
#9D249B #9D6324 #249D26 #245E9D
square
#9D249B #9D6324 #249D26 #245E9D
split-complementary
#9D249B #5E9D24 #249D63
monochromatic
#390D39 #6B196A #9D249B #CF2FCC #DB61D9

Accessibility & contrast

On white

6.65
#9D249B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#9D249B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D249B
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D249B#FFFFFF#000000##FFFFFF
##9D249B1.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09529E
Deuteranopia (green-blind)
#486298
Tritanopia (blue-blind)
#A2375F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9d249b;
/* rgb */ color: rgb(157, 36, 155);
/* oklch */ color: oklch(50.3% 0.202 328.8);
Tailwind
colors: {
  custom: {
    50: '#be6db9',
    500: '#9d249b',
    950: '#000000',
  },
}
SCSS
$custom: #9d249b;
$custom-light: #be6db9;
$custom-dark: #000000;
JSON
{
  "hex": "#9d249b",
  "rgb": {
    "r": 157,
    "g": 36,
    "b": 155
  },
  "hsl": {
    "h": 300.992,
    "s": 62.694,
    "l": 37.843
  },
  "oklch": {
    "l": 0.50295,
    "c": 0.20185,
    "h": 328.8
  },
  "luminance": 0.10796
}

Semantic roles & 50–950 ramp

primary
#9D249B
secondary
#5DC05F
accent
#E64542
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9D249B

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

Preview Lab → · Contrast checker → · Palette generator →

#9D249B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva