#9D248F#9D248F

#9D248F is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.6% C 0.193 H 333.4°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#9D248F
RGBrgb(157, 36, 143)
HSLhsl(307, 63%, 38%)
HSVhsv(307, 77%, 62%)
CMYKcmyk(0%, 77.1%, 8.9%, 38.4%)
CIE-LABlab(38.58, 59.62, -31.50)
CIE-LCHlch(38.58, 67.43, 332.15°)
OKLaboklab(49.61% 0.1725 -0.0864)
OKLCHoklch(49.61% 0.193 333.4)
XYZxyz(19.4936, 10.4147, 26.9648)
Luminance0.1041 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D248F #249D32
analogous
#6E249D #9D248F #9D2453
triadic
#9D248F #8F9D24 #248F9D
tetradic
#9D248F #9D6E24 #249D32 #24539D
square
#9D248F #9D6E24 #249D32 #24539D
split-complementary
#9D248F #539D24 #249D6E
monochromatic
#390D34 #6B1962 #9D248F #CF2FBC #DB61CD

Accessibility & contrast

On white

6.81
#9D248F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#9D248F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D248F
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D248F#FFFFFF#000000##FFFFFF
##9D248F1.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5092
Deuteranopia (green-blind)
#4E618C
Tritanopia (blue-blind)
#A43158
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9d248f;
/* rgb */ color: rgb(157, 36, 143);
/* oklch */ color: oklch(49.6% 0.193 333.4);
Tailwind
colors: {
  custom: {
    50: '#be6db0',
    500: '#9d248f',
    950: '#000000',
  },
}
SCSS
$custom: #9d248f;
$custom-light: #be6db0;
$custom-dark: #000000;
JSON
{
  "hex": "#9d248f",
  "rgb": {
    "r": 157,
    "g": 36,
    "b": 143
  },
  "hsl": {
    "h": 306.942,
    "s": 62.694,
    "l": 37.843
  },
  "oklch": {
    "l": 0.49608,
    "c": 0.19293,
    "h": 333.4
  },
  "luminance": 0.10413
}

Semantic roles & 50–950 ramp

primary
#9D248F
secondary
#5DC068
accent
#E65542
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130810
muted
#827B7F

Preview Lab

Preview with #9D248F

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

Preview Lab → · Contrast checker → · Palette generator →

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