#9C249C#9C249C

#9C249C is a mid, highly saturated purple. Relative luminance 0.107; OKLCH L 50.2% C 0.202 H 328.1°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#9C249C
RGBrgb(156, 36, 156)
HSLhsl(300, 63%, 38%)
HSVhsv(300, 77%, 61%)
CMYKcmyk(0%, 76.9%, 0%, 38.8%)
CIE-LABlab(39.12, 61.47, -38.54)
CIE-LCHlch(39.12, 72.56, 327.91°)
OKLaboklab(50.2% 0.1716 -0.1069)
OKLCHoklch(50.2% 0.202 328.1)
XYZxyz(20.3417, 10.7315, 32.4460)
Luminance0.1073 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C249C #249C24
analogous
#60249C #9C249C #9C2460
triadic
#9C249C #9C9C24 #249C9C
tetradic
#9C249C #9C6024 #249C24 #24609C
square
#9C249C #9C6024 #249C24 #24609C
split-complementary
#9C249C #609C24 #249C60
monochromatic
#390D39 #6A196A #9C249C #CE2FCE #DA60DA

Accessibility & contrast

On white

6.68
#9C249C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#9C249C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C249C
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C249C#FFFFFF#000000##FFFFFF
##9C249C1.006.683.156.68
#FFFFFF6.681.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04529F
Deuteranopia (green-blind)
#466199
Tritanopia (blue-blind)
#A1385F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9c249c;
/* rgb */ color: rgb(156, 36, 156);
/* oklch */ color: oklch(50.2% 0.202 328.1);
Tailwind
colors: {
  custom: {
    50: '#bd6dba',
    500: '#9c249c',
    950: '#000000',
  },
}
SCSS
$custom: #9c249c;
$custom-light: #bd6dba;
$custom-dark: #000000;
JSON
{
  "hex": "#9c249c",
  "rgb": {
    "r": 156,
    "g": 36,
    "b": 156
  },
  "hsl": {
    "h": 300,
    "s": 62.5,
    "l": 37.647
  },
  "oklch": {
    "l": 0.502,
    "c": 0.20215,
    "h": 328.1
  },
  "luminance": 0.1073
}

Semantic roles & 50–950 ramp

primary
#9C249C
secondary
#5CBF5C
accent
#E64242
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9C249C

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

Preview Lab → · Contrast checker → · Palette generator →

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