#9C248F#9C248F

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

Color values

HEX#9C248F
RGBrgb(156, 36, 143)
HSLhsl(307, 63%, 38%)
HSVhsv(307, 77%, 61%)
CMYKcmyk(0%, 76.9%, 8.3%, 38.8%)
CIE-LABlab(38.40, 59.39, -31.79)
CIE-LCHlch(38.40, 67.36, 331.84°)
OKLaboklab(49.45% 0.1715 -0.0873)
OKLCHoklch(49.45% 0.192 333)
XYZxyz(19.2992, 10.3145, 26.9557)
Luminance0.1031 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C248F #249C31
analogous
#6D249C #9C248F #9C2453
triadic
#9C248F #8F9C24 #248F9C
tetradic
#9C248F #9C6D24 #249C31 #24539C
square
#9C248F #9C6D24 #249C31 #24539C
split-complementary
#9C248F #539C24 #249C6D
monochromatic
#390D34 #6A1961 #9C248F #CE2FBD #DA60CD

Accessibility & contrast

On white

6.86
#9C248F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9C248F
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C248F#FFFFFF#000000##FFFFFF
##9C248F1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4F92
Deuteranopia (green-blind)
#4D608C
Tritanopia (blue-blind)
#A33158
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9c248f;
/* rgb */ color: rgb(156, 36, 143);
/* oklch */ color: oklch(49.4% 0.192 333.0);
Tailwind
colors: {
  custom: {
    50: '#bd6db0',
    500: '#9c248f',
    950: '#000000',
  },
}
SCSS
$custom: #9c248f;
$custom-light: #bd6db0;
$custom-dark: #000000;
JSON
{
  "hex": "#9c248f",
  "rgb": {
    "r": 156,
    "g": 36,
    "b": 143
  },
  "hsl": {
    "h": 306.5,
    "s": 62.5,
    "l": 37.647
  },
  "oklch": {
    "l": 0.49449,
    "c": 0.1924,
    "h": 333
  },
  "luminance": 0.10313
}

Semantic roles & 50–950 ramp

primary
#9C248F
secondary
#5CBF67
accent
#E65442
background
#FCF6FA
surface
#F8ECF5
border
#D1C7CF
text
#120810
muted
#817A7F

Preview Lab

Preview with #9C248F

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

Preview Lab → · Contrast checker → · Palette generator →

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