#9C258A#9C258A

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

Color values

HEX#9C258A
RGBrgb(156, 37, 138)
HSLhsl(309, 62%, 38%)
HSVhsv(309, 76%, 61%)
CMYKcmyk(0%, 76.3%, 11.5%, 38.8%)
CIE-LABlab(38.25, 58.32, -28.96)
CIE-LCHlch(38.25, 65.11, 333.59°)
OKLaboklab(49.25% 0.1702 -0.0792)
OKLCHoklch(49.25% 0.188 335.1)
XYZxyz(18.9596, 10.2277, 25.0154)
Luminance0.1023 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C258A #259C37
analogous
#73259C #9C258A #9C254E
triadic
#9C258A #8A9C25 #258A9C
tetradic
#9C258A #9C7325 #259C37 #254E9C
square
#9C258A #9C7325 #259C37 #254E9C
split-complementary
#9C258A #4E9C25 #259C73
monochromatic
#390E32 #6B195E #9C258A #CD31B6 #DA62C8

Accessibility & contrast

On white

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

On black

3.05
#9C258A on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9C258A#FFFFFF#000000##FFFFFF
##9C258A1.006.903.056.90
#FFFFFF6.901.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244F8D
Deuteranopia (green-blind)
#506087
Tritanopia (blue-blind)
#A42F55
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9c258a;
/* rgb */ color: rgb(156, 37, 138);
/* oklch */ color: oklch(49.3% 0.188 335.1);
Tailwind
colors: {
  custom: {
    50: '#bd6dac',
    500: '#9c258a',
    950: '#000000',
  },
}
SCSS
$custom: #9c258a;
$custom-light: #bd6dac;
$custom-dark: #000000;
JSON
{
  "hex": "#9c258a",
  "rgb": {
    "r": 156,
    "g": 37,
    "b": 138
  },
  "hsl": {
    "h": 309.076,
    "s": 61.658,
    "l": 37.843
  },
  "oklch": {
    "l": 0.49254,
    "c": 0.18775,
    "h": 335.1
  },
  "luminance": 0.10226
}

Semantic roles & 50–950 ramp

primary
#9C258A
secondary
#5EBF6D
accent
#E55C43
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#120810
muted
#817A7F

Preview Lab

Preview with #9C258A

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

Preview Lab → · Contrast checker → · Palette generator →

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