#9D249C#9D249C

#9D249C is a mid, highly saturated purple. Relative luminance 0.108; OKLCH L 50.4% C 0.203 H 328.4°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#9D249C
RGBrgb(157, 36, 156)
HSLhsl(300, 63%, 38%)
HSVhsv(300, 77%, 62%)
CMYKcmyk(0%, 77.1%, 0.6%, 38.4%)
CIE-LABlab(39.30, 61.69, -38.26)
CIE-LCHlch(39.30, 72.59, 328.19°)
OKLaboklab(50.35% 0.1727 -0.106)
OKLCHoklch(50.35% 0.203 328.4)
XYZxyz(20.5360, 10.8317, 32.4552)
Luminance0.1083 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D249C #249D25
analogous
#61249D #9D249C #9D245F
triadic
#9D249C #9C9D24 #249C9D
tetradic
#9D249C #9D6124 #249D25 #245F9D
square
#9D249C #9D6124 #249D25 #245F9D
split-complementary
#9D249C #5F9D24 #249D61
monochromatic
#390D39 #6B196B #9D249C #CF2FCD #DB61DA

Accessibility & contrast

On white

6.63
#9D249C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#9D249C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D249C
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D249C#FFFFFF#000000##FFFFFF
##9D249C1.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06539F
Deuteranopia (green-blind)
#476299
Tritanopia (blue-blind)
#A2385F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9d249c;
/* rgb */ color: rgb(157, 36, 156);
/* oklch */ color: oklch(50.4% 0.203 328.4);
Tailwind
colors: {
  custom: {
    50: '#be6dba',
    500: '#9d249c',
    950: '#000000',
  },
}
SCSS
$custom: #9d249c;
$custom-light: #be6dba;
$custom-dark: #000000;
JSON
{
  "hex": "#9d249c",
  "rgb": {
    "r": 157,
    "g": 36,
    "b": 156
  },
  "hsl": {
    "h": 300.496,
    "s": 62.694,
    "l": 37.843
  },
  "oklch": {
    "l": 0.50354,
    "c": 0.20262,
    "h": 328.4
  },
  "luminance": 0.1083
}

Semantic roles & 50–950 ramp

primary
#9D249C
secondary
#5DC05E
accent
#E64342
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9D249C

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

Preview Lab → · Contrast checker → · Palette generator →

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