#9C25B2#9C25B2

#9C25B2 is a mid, highly saturated purple. Relative luminance 0.116; OKLCH L 51.7% C 0.219 H 320.7°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#9C25B2
RGBrgb(156, 37, 178)
HSLhsl(291, 66%, 42%)
HSVhsv(291, 79%, 70%)
CMYKcmyk(12.4%, 79.2%, 0%, 30.2%)
CIE-LABlab(40.58, 64.98, -49.37)
CIE-LCHlch(40.58, 81.61, 322.77°)
OKLaboklab(51.67% 0.1691 -0.1385)
OKLCHoklch(51.67% 0.219 320.7)
XYZxyz(22.4068, 11.6066, 43.1709)
Luminance0.1161 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C25B2 #3BB225
analogous
#5525B2 #9C25B2 #B22582
triadic
#9C25B2 #B29C25 #25B29C
tetradic
#9C25B2 #B25525 #3BB225 #2582B2
square
#9C25B2 #B25525 #3BB225 #2582B2
split-complementary
#9C25B2 #82B225 #25B255
monochromatic
#43104D #701A7F #9C25B2 #BF3DD7 #D070E1

Accessibility & contrast

On white

6.32
#9C25B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#9C25B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C25B2
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C25B2#FFFFFF#000000##FFFFFF
##9C25B21.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B6
Deuteranopia (green-blind)
#3664AF
Tritanopia (blue-blind)
#9D436C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9c25b2;
/* rgb */ color: rgb(156, 37, 178);
/* oklch */ color: oklch(51.7% 0.219 320.7);
Tailwind
colors: {
  custom: {
    50: '#bd6fca',
    500: '#9c25b2',
    950: '#000000',
  },
}
SCSS
$custom: #9c25b2;
$custom-light: #bd6fca;
$custom-dark: #000000;
JSON
{
  "hex": "#9c25b2",
  "rgb": {
    "r": 156,
    "g": 37,
    "b": 178
  },
  "hsl": {
    "h": 290.638,
    "s": 65.581,
    "l": 42.157
  },
  "oklch": {
    "l": 0.51669,
    "c": 0.21858,
    "h": 320.7
  },
  "luminance": 0.11605
}

Semantic roles & 50–950 ramp

primary
#9C25B2
secondary
#79C86B
accent
#E93F5A
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130813
muted
#827B82

Preview Lab

Preview with #9C25B2

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

Preview Lab → · Contrast checker → · Palette generator →

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