#9C259A#9C259A

#9C259A is a mid, vivid purple. Relative luminance 0.107; OKLCH L 50.2% C 0.200 H 328.8°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#9C259A
RGBrgb(156, 37, 154)
HSLhsl(301, 62%, 38%)
HSVhsv(301, 76%, 61%)
CMYKcmyk(0%, 76.3%, 1.3%, 38.8%)
CIE-LABlab(39.11, 60.84, -37.35)
CIE-LCHlch(39.11, 71.39, 328.45°)
OKLaboklab(50.16% 0.1708 -0.1034)
OKLCHoklch(50.16% 0.2 328.8)
XYZxyz(20.2044, 10.7257, 31.5717)
Luminance0.1072 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C259A #259C27
analogous
#62259C #9C259A #9C255F
triadic
#9C259A #9A9C25 #259A9C
tetradic
#9C259A #9C6225 #259C27 #255F9C
square
#9C259A #9C6225 #259C27 #255F9C
split-complementary
#9C259A #5F9C25 #259C62
monochromatic
#390E38 #6B1969 #9C259A #CD31CB #DA62D8

Accessibility & contrast

On white

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

On black

3.14
#9C259A on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9C259A#FFFFFF#000000##FFFFFF
##9C259A1.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D529D
Deuteranopia (green-blind)
#486297
Tritanopia (blue-blind)
#A1375E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9c259a;
/* rgb */ color: rgb(156, 37, 154);
/* oklch */ color: oklch(50.2% 0.200 328.8);
Tailwind
colors: {
  custom: {
    50: '#bd6db8',
    500: '#9c259a',
    950: '#000000',
  },
}
SCSS
$custom: #9c259a;
$custom-light: #bd6db8;
$custom-dark: #000000;
JSON
{
  "hex": "#9c259a",
  "rgb": {
    "r": 156,
    "g": 37,
    "b": 154
  },
  "hsl": {
    "h": 301.008,
    "s": 61.658,
    "l": 37.843
  },
  "oklch": {
    "l": 0.50156,
    "c": 0.19964,
    "h": 328.8
  },
  "luminance": 0.10724
}

Semantic roles & 50–950 ramp

primary
#9C259A
secondary
#5EBF5F
accent
#E54643
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #9C259A

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

Preview Lab → · Contrast checker → · Palette generator →

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