#9C259D#9C259D

#9C259D is a mid, highly saturated purple. Relative luminance 0.108; OKLCH L 50.3% C 0.202 H 327.7°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#9C259D
RGBrgb(156, 37, 157)
HSLhsl(300, 62%, 38%)
HSVhsv(300, 76%, 62%)
CMYKcmyk(0.6%, 76.4%, 0%, 38.4%)
CIE-LABlab(39.29, 61.34, -38.89)
CIE-LCHlch(39.29, 72.63, 327.62°)
OKLaboklab(50.33% 0.1707 -0.1079)
OKLCHoklch(50.33% 0.202 327.7)
XYZxyz(20.4574, 10.8269, 32.9041)
Luminance0.1082 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C259D #269D25
analogous
#60259D #9C259D #9D2562
triadic
#9C259D #9D9C25 #259D9C
tetradic
#9C259D #9D6025 #269D25 #25629D
square
#9C259D #9D6025 #269D25 #25629D
split-complementary
#9C259D #629D25 #259D60
monochromatic
#3A0E3A #6B196B #9C259D #CD31CE #D962DA

Accessibility & contrast

On white

6.64
#9C259D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#9C259D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C259D
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C259D#FFFFFF#000000##FFFFFF
##9C259D1.006.643.176.64
#FFFFFF6.641.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0353A0
Deuteranopia (green-blind)
#46629A
Tritanopia (blue-blind)
#A13960
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9c259d;
/* rgb */ color: rgb(156, 37, 157);
/* oklch */ color: oklch(50.3% 0.202 327.7);
Tailwind
colors: {
  custom: {
    50: '#bd6eba',
    500: '#9c259d',
    950: '#000000',
  },
}
SCSS
$custom: #9c259d;
$custom-light: #bd6eba;
$custom-dark: #000000;
JSON
{
  "hex": "#9c259d",
  "rgb": {
    "r": 156,
    "g": 37,
    "b": 157
  },
  "hsl": {
    "h": 299.5,
    "s": 61.856,
    "l": 38.039
  },
  "oklch": {
    "l": 0.50334,
    "c": 0.20194,
    "h": 327.7
  },
  "luminance": 0.10825
}

Semantic roles & 50–950 ramp

primary
#9C259D
secondary
#5FBF5E
accent
#E54344
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9C259D

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

Preview Lab → · Contrast checker → · Palette generator →

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