#9C258C#9C258C

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

Color values

HEX#9C258C
RGBrgb(156, 37, 140)
HSLhsl(308, 62%, 38%)
HSVhsv(308, 76%, 61%)
CMYKcmyk(0%, 76.3%, 10.3%, 38.8%)
CIE-LABlab(38.35, 58.62, -30.03)
CIE-LCHlch(38.35, 65.87, 332.88°)
OKLaboklab(49.36% 0.1704 -0.0822)
OKLCHoklch(49.36% 0.189 334.2)
XYZxyz(19.1057, 10.2862, 25.7851)
Luminance0.1028 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C258C #259C35
analogous
#70259C #9C258C #9C2551
triadic
#9C258C #8C9C25 #258C9C
tetradic
#9C258C #9C7025 #259C35 #25519C
square
#9C258C #9C7025 #259C35 #25519C
split-complementary
#9C258C #519C25 #259C70
monochromatic
#390E33 #6B1960 #9C258C #CD31B8 #DA62CA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9C258C#FFFFFF#000000##FFFFFF
##9C258C1.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)
#224F8F
Deuteranopia (green-blind)
#4F6089
Tritanopia (blue-blind)
#A43056
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9c258c;
/* rgb */ color: rgb(156, 37, 140);
/* oklch */ color: oklch(49.4% 0.189 334.2);
Tailwind
colors: {
  custom: {
    50: '#bd6dae',
    500: '#9c258c',
    950: '#000000',
  },
}
SCSS
$custom: #9c258c;
$custom-light: #bd6dae;
$custom-dark: #000000;
JSON
{
  "hex": "#9c258c",
  "rgb": {
    "r": 156,
    "g": 37,
    "b": 140
  },
  "hsl": {
    "h": 308.067,
    "s": 61.658,
    "l": 37.843
  },
  "oklch": {
    "l": 0.49362,
    "c": 0.18919,
    "h": 334.2
  },
  "luminance": 0.10285
}

Semantic roles & 50–950 ramp

primary
#9C258C
secondary
#5EBF6B
accent
#E55943
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #9C258C

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

Preview Lab → · Contrast checker → · Palette generator →

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