#9C25A6#9C25A6

#9C25A6 is a mid, highly saturated purple. Relative luminance 0.111; OKLCH L 50.9% C 0.209 H 324.6°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#9C25A6
RGBrgb(156, 37, 166)
HSLhsl(295, 64%, 40%)
HSVhsv(295, 78%, 65%)
CMYKcmyk(6%, 77.7%, 0%, 34.9%)
CIE-LABlab(39.82, 62.86, -43.44)
CIE-LCHlch(39.82, 76.41, 325.35°)
OKLaboklab(50.89% 0.1703 -0.1212)
OKLCHoklch(50.89% 0.209 324.6)
XYZxyz(21.2543, 11.1456, 37.1008)
Luminance0.1114 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C25A6 #2FA625
analogous
#5C25A6 #9C25A6 #A6256F
triadic
#9C25A6 #A69C25 #25A69C
tetradic
#9C25A6 #A65C25 #2FA625 #256FA6
square
#9C25A6 #A65C25 #2FA625 #256FA6
split-complementary
#9C25A6 #6FA625 #25A65C
monochromatic
#3E0F42 #6D1A74 #9C25A6 #C636D2 #D468DD

Accessibility & contrast

On white

6.50
#9C25A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#9C25A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C25A6
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C25A6#FFFFFF#000000##FFFFFF
##9C25A61.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A9
Deuteranopia (green-blind)
#4063A3
Tritanopia (blue-blind)
#9F3E65
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9c25a6;
/* rgb */ color: rgb(156, 37, 166);
/* oklch */ color: oklch(50.9% 0.209 324.6);
Tailwind
colors: {
  custom: {
    50: '#bd6ec1',
    500: '#9c25a6',
    950: '#000000',
  },
}
SCSS
$custom: #9c25a6;
$custom-light: #bd6ec1;
$custom-dark: #000000;
JSON
{
  "hex": "#9c25a6",
  "rgb": {
    "r": 156,
    "g": 37,
    "b": 166
  },
  "hsl": {
    "h": 295.349,
    "s": 63.547,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50889,
    "c": 0.20898,
    "h": 324.6
  },
  "luminance": 0.11144
}

Semantic roles & 50–950 ramp

primary
#9C25A6
secondary
#6BC364
accent
#E7414E
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #9C25A6

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

Preview Lab → · Contrast checker → · Palette generator →

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