#9D248D#9D248D

#9D248D is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.5% C 0.191 H 334.2°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#9D248D
RGBrgb(157, 36, 141)
HSLhsl(308, 63%, 38%)
HSVhsv(308, 77%, 62%)
CMYKcmyk(0%, 77.1%, 10.2%, 38.4%)
CIE-LABlab(38.47, 59.31, -30.44)
CIE-LCHlch(38.47, 66.67, 332.83°)
OKLaboklab(49.5% 0.1724 -0.0834)
OKLCHoklch(49.5% 0.191 334.2)
XYZxyz(19.3434, 10.3546, 26.1740)
Luminance0.1035 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D248D #249D34
analogous
#70249D #9D248D #9D2450
triadic
#9D248D #8D9D24 #248D9D
tetradic
#9D248D #9D7024 #249D34 #24509D
square
#9D248D #9D7024 #249D34 #24509D
split-complementary
#9D248D #509D24 #249D70
monochromatic
#390D34 #6B1960 #9D248D #CF2FBA #DB61CB

Accessibility & contrast

On white

6.84
#9D248D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#9D248D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D248D
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D248D#FFFFFF#000000##FFFFFF
##9D248D1.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214F90
Deuteranopia (green-blind)
#4F618A
Tritanopia (blue-blind)
#A53057
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9d248d;
/* rgb */ color: rgb(157, 36, 141);
/* oklch */ color: oklch(49.5% 0.191 334.2);
Tailwind
colors: {
  custom: {
    50: '#be6dae',
    500: '#9d248d',
    950: '#000000',
  },
}
SCSS
$custom: #9d248d;
$custom-light: #be6dae;
$custom-dark: #000000;
JSON
{
  "hex": "#9d248d",
  "rgb": {
    "r": 157,
    "g": 36,
    "b": 141
  },
  "hsl": {
    "h": 307.934,
    "s": 62.694,
    "l": 37.843
  },
  "oklch": {
    "l": 0.49499,
    "c": 0.19149,
    "h": 334.2
  },
  "luminance": 0.10353
}

Semantic roles & 50–950 ramp

primary
#9D248D
secondary
#5DC06A
accent
#E65842
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #9D248D

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

Preview Lab → · Contrast checker → · Palette generator →

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