#9D248B#9D248B

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

Color values

HEX#9D248B
RGBrgb(157, 36, 139)
HSLhsl(309, 63%, 38%)
HSVhsv(309, 77%, 62%)
CMYKcmyk(0%, 77.1%, 11.5%, 38.4%)
CIE-LABlab(38.37, 59.01, -29.38)
CIE-LCHlch(38.37, 65.92, 333.54°)
OKLaboklab(49.39% 0.1722 -0.0803)
OKLCHoklch(49.39% 0.19 335)
XYZxyz(19.1960, 10.2957, 25.3974)
Luminance0.1029 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D248B #249D36
analogous
#73249D #9D248B #9D244E
triadic
#9D248B #8B9D24 #248B9D
tetradic
#9D248B #9D7324 #249D36 #244E9D
square
#9D248B #9D7324 #249D36 #244E9D
split-complementary
#9D248B #4E9D24 #249D73
monochromatic
#390D33 #6B195F #9D248B #CF2FB7 #DB61C9

Accessibility & contrast

On white

6.87
#9D248B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9D248B
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D248B#FFFFFF#000000##FFFFFF
##9D248B1.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234F8E
Deuteranopia (green-blind)
#506188
Tritanopia (blue-blind)
#A52F56
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9d248b;
/* rgb */ color: rgb(157, 36, 139);
/* oklch */ color: oklch(49.4% 0.190 335.0);
Tailwind
colors: {
  custom: {
    50: '#be6dad',
    500: '#9d248b',
    950: '#000000',
  },
}
SCSS
$custom: #9d248b;
$custom-light: #be6dad;
$custom-dark: #000000;
JSON
{
  "hex": "#9d248b",
  "rgb": {
    "r": 157,
    "g": 36,
    "b": 139
  },
  "hsl": {
    "h": 308.926,
    "s": 62.694,
    "l": 37.843
  },
  "oklch": {
    "l": 0.49391,
    "c": 0.19006,
    "h": 335
  },
  "luminance": 0.10294
}

Semantic roles & 50–950 ramp

primary
#9D248B
secondary
#5DC06C
accent
#E65A42
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130810
muted
#827A7F

Preview Lab

Preview with #9D248B

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

Preview Lab → · Contrast checker → · Palette generator →

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