#9D248C#9D248C

#9D248C is a mid, vivid purple. Relative luminance 0.103; OKLCH L 49.4% C 0.191 H 334.6°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#9D248C
RGBrgb(157, 36, 140)
HSLhsl(308, 63%, 38%)
HSVhsv(308, 77%, 62%)
CMYKcmyk(0%, 77.1%, 10.8%, 38.4%)
CIE-LABlab(38.42, 59.16, -29.91)
CIE-LCHlch(38.42, 66.29, 333.18°)
OKLaboklab(49.44% 0.1723 -0.0819)
OKLCHoklch(49.44% 0.191 334.6)
XYZxyz(19.2693, 10.3250, 25.7839)
Luminance0.1032 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D248C #249D35
analogous
#72249D #9D248C #9D244F
triadic
#9D248C #8C9D24 #248C9D
tetradic
#9D248C #9D7224 #249D35 #244F9D
square
#9D248C #9D7224 #249D35 #244F9D
split-complementary
#9D248C #4F9D24 #249D72
monochromatic
#390D33 #6B1960 #9D248C #CF2FB8 #DB61CA

Accessibility & contrast

On white

6.85
#9D248C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#9D248C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D248C
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D248C#FFFFFF#000000##FFFFFF
##9D248C1.006.853.066.85
#FFFFFF6.851.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224F8F
Deuteranopia (green-blind)
#506189
Tritanopia (blue-blind)
#A52F56
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9d248c;
/* rgb */ color: rgb(157, 36, 140);
/* oklch */ color: oklch(49.4% 0.191 334.6);
Tailwind
colors: {
  custom: {
    50: '#be6dae',
    500: '#9d248c',
    950: '#000000',
  },
}
SCSS
$custom: #9d248c;
$custom-light: #be6dae;
$custom-dark: #000000;
JSON
{
  "hex": "#9d248c",
  "rgb": {
    "r": 157,
    "g": 36,
    "b": 140
  },
  "hsl": {
    "h": 308.43,
    "s": 62.694,
    "l": 37.843
  },
  "oklch": {
    "l": 0.49444,
    "c": 0.19077,
    "h": 334.6
  },
  "luminance": 0.10323
}

Semantic roles & 50–950 ramp

primary
#9D248C
secondary
#5DC06B
accent
#E65942
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130810
muted
#827A7F

Preview Lab

Preview with #9D248C

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

Preview Lab → · Contrast checker → · Palette generator →

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