#9C259C#9C259C

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

Color values

HEX#9C259C
RGBrgb(156, 37, 156)
HSLhsl(300, 62%, 38%)
HSVhsv(300, 76%, 61%)
CMYKcmyk(0%, 76.3%, 0%, 38.8%)
CIE-LABlab(39.23, 61.17, -38.38)
CIE-LCHlch(39.23, 72.21, 327.90°)
OKLaboklab(50.27% 0.1707 -0.1064)
OKLCHoklch(50.27% 0.201 328.1)
XYZxyz(20.3724, 10.7929, 32.4563)
Luminance0.1079 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C259C #259C25
analogous
#60259C #9C259C #9C2560
triadic
#9C259C #9C9C25 #259C9C
tetradic
#9C259C #9C6025 #259C25 #25609C
square
#9C259C #9C6025 #259C25 #25609C
split-complementary
#9C259C #609C25 #259C60
monochromatic
#390E39 #6B196B #9C259C #CD31CD #DA62DA

Accessibility & contrast

On white

6.65
#9C259C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#9C259C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C259C
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C259C#FFFFFF#000000##FFFFFF
##9C259C1.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9c259c;
/* rgb */ color: rgb(156, 37, 156);
/* oklch */ color: oklch(50.3% 0.201 328.1);
Tailwind
colors: {
  custom: {
    50: '#bd6eba',
    500: '#9c259c',
    950: '#000000',
  },
}
SCSS
$custom: #9c259c;
$custom-light: #bd6eba;
$custom-dark: #000000;
JSON
{
  "hex": "#9c259c",
  "rgb": {
    "r": 156,
    "g": 37,
    "b": 156
  },
  "hsl": {
    "h": 300,
    "s": 61.658,
    "l": 37.843
  },
  "oklch": {
    "l": 0.50274,
    "c": 0.20117,
    "h": 328.1
  },
  "luminance": 0.10791
}

Semantic roles & 50–950 ramp

primary
#9C259C
secondary
#5EBF5E
accent
#E54343
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #9C259C

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

Preview Lab → · Contrast checker → · Palette generator →

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