#9D24B1#9D24B1

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

Color values

HEX#9D24B1
RGBrgb(157, 36, 177)
HSLhsl(291, 66%, 42%)
HSVhsv(291, 80%, 69%)
CMYKcmyk(11.3%, 79.7%, 0%, 30.6%)
CIE-LABlab(40.58, 65.28, -48.77)
CIE-LCHlch(40.58, 81.49, 323.24°)
OKLaboklab(51.68% 0.1712 -0.1367)
OKLCHoklch(51.68% 0.219 321.4)
XYZxyz(22.4704, 11.6055, 42.6429)
Luminance0.1160 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D24B1 #38B124
analogous
#5624B1 #9D24B1 #B1247F
triadic
#9D24B1 #B19D24 #24B19D
tetradic
#9D24B1 #B15624 #38B124 #247FB1
square
#9D24B1 #B15624 #38B124 #247FB1
split-complementary
#9D24B1 #7FB124 #24B156
monochromatic
#430F4B #701A7E #9D24B1 #C13BD7 #D16EE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D24B1#FFFFFF#000000##FFFFFF
##9D24B11.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)
#0057B5
Deuteranopia (green-blind)
#3764AE
Tritanopia (blue-blind)
#9E426B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9d24b1;
/* rgb */ color: rgb(157, 36, 177);
/* oklch */ color: oklch(51.7% 0.219 321.4);
Tailwind
colors: {
  custom: {
    50: '#be6ec9',
    500: '#9d24b1',
    950: '#000000',
  },
}
SCSS
$custom: #9d24b1;
$custom-light: #be6ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#9d24b1",
  "rgb": {
    "r": 157,
    "g": 36,
    "b": 177
  },
  "hsl": {
    "h": 291.489,
    "s": 66.197,
    "l": 41.765
  },
  "oklch": {
    "l": 0.51679,
    "c": 0.21906,
    "h": 321.4
  },
  "luminance": 0.11604
}

Semantic roles & 50–950 ramp

primary
#9D24B1
secondary
#76C869
accent
#E93F57
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130813
muted
#827B82

Preview Lab

Preview with #9D24B1

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

Preview Lab → · Contrast checker → · Palette generator →

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