#9C248E#9C248E

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

Color values

HEX#9C248E
RGBrgb(156, 36, 142)
HSLhsl(307, 63%, 38%)
HSVhsv(307, 77%, 61%)
CMYKcmyk(0%, 76.9%, 9%, 38.8%)
CIE-LABlab(38.35, 59.24, -31.26)
CIE-LCHlch(38.35, 66.98, 332.18°)
OKLaboklab(49.39% 0.1714 -0.0858)
OKLCHoklch(49.39% 0.192 333.4)
XYZxyz(19.2238, 10.2843, 26.5586)
Luminance0.1028 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C248E #249C32
analogous
#6E249C #9C248E #9C2452
triadic
#9C248E #8E9C24 #248E9C
tetradic
#9C248E #9C6E24 #249C32 #24529C
square
#9C248E #9C6E24 #249C32 #24529C
split-complementary
#9C248E #529C24 #249C6E
monochromatic
#390D33 #6A1961 #9C248E #CE2FBB #DA60CC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9C248E#FFFFFF#000000##FFFFFF
##9C248E1.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)
#1F4F91
Deuteranopia (green-blind)
#4E608B
Tritanopia (blue-blind)
#A33157
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9c248e;
/* rgb */ color: rgb(156, 36, 142);
/* oklch */ color: oklch(49.4% 0.192 333.4);
Tailwind
colors: {
  custom: {
    50: '#bd6daf',
    500: '#9c248e',
    950: '#000000',
  },
}
SCSS
$custom: #9c248e;
$custom-light: #bd6daf;
$custom-dark: #000000;
JSON
{
  "hex": "#9c248e",
  "rgb": {
    "r": 156,
    "g": 36,
    "b": 142
  },
  "hsl": {
    "h": 307,
    "s": 62.5,
    "l": 37.647
  },
  "oklch": {
    "l": 0.49394,
    "c": 0.19168,
    "h": 333.4
  },
  "luminance": 0.10283
}

Semantic roles & 50–950 ramp

primary
#9C248E
secondary
#5CBF68
accent
#E65542
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#120810
muted
#817A7F

Preview Lab

Preview with #9C248E

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

Preview Lab → · Contrast checker → · Palette generator →

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