#9C248C#9C248C

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

Color values

HEX#9C248C
RGBrgb(156, 36, 140)
HSLhsl(308, 63%, 38%)
HSVhsv(308, 77%, 61%)
CMYKcmyk(0%, 76.9%, 10.3%, 38.8%)
CIE-LABlab(38.24, 58.93, -30.20)
CIE-LCHlch(38.24, 66.22, 332.87°)
OKLaboklab(49.28% 0.1713 -0.0827)
OKLCHoklch(49.28% 0.19 334.2)
XYZxyz(19.0750, 10.2248, 25.7748)
Luminance0.1022 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C248C #249C34
analogous
#70249C #9C248C #9C2450
triadic
#9C248C #8C9C24 #248C9C
tetradic
#9C248C #9C7024 #249C34 #24509C
square
#9C248C #9C7024 #249C34 #24509C
split-complementary
#9C248C #509C24 #249C70
monochromatic
#390D33 #6A195F #9C248C #CE2FB9 #DA60CA

Accessibility & contrast

On white

6.90
#9C248C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9C248C
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C248C#FFFFFF#000000##FFFFFF
##9C248C1.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214F8F
Deuteranopia (green-blind)
#4F6089
Tritanopia (blue-blind)
#A43056
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9c248c;
/* rgb */ color: rgb(156, 36, 140);
/* oklch */ color: oklch(49.3% 0.190 334.2);
Tailwind
colors: {
  custom: {
    50: '#bd6dae',
    500: '#9c248c',
    950: '#000000',
  },
}
SCSS
$custom: #9c248c;
$custom-light: #bd6dae;
$custom-dark: #000000;
JSON
{
  "hex": "#9c248c",
  "rgb": {
    "r": 156,
    "g": 36,
    "b": 140
  },
  "hsl": {
    "h": 308,
    "s": 62.5,
    "l": 37.647
  },
  "oklch": {
    "l": 0.49284,
    "c": 0.19023,
    "h": 334.2
  },
  "luminance": 0.10223
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9C248C

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

Preview Lab → · Contrast checker → · Palette generator →

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