#9C248B#9C248B

#9C248B is a mid, vivid purple. Relative luminance 0.102; OKLCH L 49.2% C 0.190 H 334.6°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#9C248B
RGBrgb(156, 36, 139)
HSLhsl(309, 63%, 38%)
HSVhsv(309, 77%, 61%)
CMYKcmyk(0%, 76.9%, 10.9%, 38.8%)
CIE-LABlab(38.19, 58.78, -29.67)
CIE-LCHlch(38.19, 65.84, 333.22°)
OKLaboklab(49.23% 0.1712 -0.0812)
OKLCHoklch(49.23% 0.19 334.6)
XYZxyz(19.0016, 10.1954, 25.3883)
Luminance0.1019 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C248B #249C35
analogous
#71249C #9C248B #9C244F
triadic
#9C248B #8B9C24 #248B9C
tetradic
#9C248B #9C7124 #249C35 #244F9C
square
#9C248B #9C7124 #249C35 #244F9C
split-complementary
#9C248B #4F9C24 #249C71
monochromatic
#390D32 #6A195F #9C248B #CE2FB7 #DA60C9

Accessibility & contrast

On white

6.91
#9C248B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#9C248B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C248B
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C248B#FFFFFF#000000##FFFFFF
##9C248B1.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224F8E
Deuteranopia (green-blind)
#4F6088
Tritanopia (blue-blind)
#A42F56
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9c248b;
/* rgb */ color: rgb(156, 36, 139);
/* oklch */ color: oklch(49.2% 0.190 334.6);
Tailwind
colors: {
  custom: {
    50: '#bd6cad',
    500: '#9c248b',
    950: '#000000',
  },
}
SCSS
$custom: #9c248b;
$custom-light: #bd6cad;
$custom-dark: #000000;
JSON
{
  "hex": "#9c248b",
  "rgb": {
    "r": 156,
    "g": 36,
    "b": 139
  },
  "hsl": {
    "h": 308.5,
    "s": 62.5,
    "l": 37.647
  },
  "oklch": {
    "l": 0.4923,
    "c": 0.18951,
    "h": 334.6
  },
  "luminance": 0.10194
}

Semantic roles & 50–950 ramp

primary
#9C248B
secondary
#5CBF6A
accent
#E65942
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#120810
muted
#817A7F

Preview Lab

Preview with #9C248B

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

Preview Lab → · Contrast checker → · Palette generator →

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