#9C25BA#9C25BA

#9C25BA is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 52.2% C 0.225 H 318.3°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#9C25BA
RGBrgb(156, 37, 186)
HSLhsl(288, 67%, 44%)
HSVhsv(288, 80%, 73%)
CMYKcmyk(16.1%, 80.1%, 0%, 27.1%)
CIE-LABlab(41.12, 66.44, -53.23)
CIE-LCHlch(41.12, 85.14, 321.30°)
OKLaboklab(52.21% 0.168 -0.1498)
OKLCHoklch(52.21% 0.225 318.3)
XYZxyz(23.2336, 11.9373, 47.5252)
Luminance0.1194 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C25BA #43BA25
analogous
#5125BA #9C25BA #BA258D
triadic
#9C25BA #BA9C25 #25BA9C
tetradic
#9C25BA #BA5125 #43BA25 #258DBA
square
#9C25BA #BA5125 #43BA25 #258DBA
split-complementary
#9C25BA #8DBA25 #25BA51
monochromatic
#461154 #711B87 #9C25BA #BB43DA #CE76E4

Accessibility & contrast

On white

6.20
#9C25BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#9C25BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C25BA
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C25BA#FFFFFF#000000##FFFFFF
##9C25BA1.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABE
Deuteranopia (green-blind)
#2D65B7
Tritanopia (blue-blind)
#9B4771
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9c25ba;
/* rgb */ color: rgb(156, 37, 186);
/* oklch */ color: oklch(52.2% 0.225 318.3);
Tailwind
colors: {
  custom: {
    50: '#be6fcf',
    500: '#9c25ba',
    950: '#000000',
  },
}
SCSS
$custom: #9c25ba;
$custom-light: #be6fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#9c25ba",
  "rgb": {
    "r": 156,
    "g": 37,
    "b": 186
  },
  "hsl": {
    "h": 287.919,
    "s": 66.816,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52214,
    "c": 0.22508,
    "h": 318.3
  },
  "luminance": 0.11936
}

Semantic roles & 50–950 ramp

primary
#9C25BA
secondary
#82CB70
accent
#EA3E61
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130814
muted
#827B82

Preview Lab

Preview with #9C25BA

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

Preview Lab → · Contrast checker → · Palette generator →

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