#9E29B7#9E29B7

#9E29B7 is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.6% C 0.220 H 319.7°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#9E29B7
RGBrgb(158, 41, 183)
HSLhsl(289, 63%, 44%)
HSVhsv(289, 78%, 72%)
CMYKcmyk(13.7%, 77.6%, 0%, 28.2%)
CIE-LABlab(41.65, 65.06, -50.59)
CIE-LCHlch(41.65, 82.42, 322.13°)
OKLaboklab(52.59% 0.1676 -0.142)
OKLCHoklch(52.59% 0.22 319.7)
XYZxyz(23.4396, 12.2751, 45.9252)
Luminance0.1227 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E29B7 #42B729
analogous
#5729B7 #9E29B7 #B72989
triadic
#9E29B7 #B79E29 #29B79E
tetradic
#9E29B7 #B75729 #42B729 #2989B7
square
#9E29B7 #B75729 #42B729 #2989B7
split-complementary
#9E29B7 #89B729 #29B757
monochromatic
#481353 #731E85 #9E29B7 #BD47D6 #CF79E1

Accessibility & contrast

On white

6.08
#9E29B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#9E29B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E29B7
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E29B7#FFFFFF#000000##FFFFFF
##9E29B71.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBB
Deuteranopia (green-blind)
#3666B4
Tritanopia (blue-blind)
#9E4770
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9e29b7;
/* rgb */ color: rgb(158, 41, 183);
/* oklch */ color: oklch(52.6% 0.220 319.7);
Tailwind
colors: {
  custom: {
    50: '#bf71cd',
    500: '#9e29b7',
    950: '#000000',
  },
}
SCSS
$custom: #9e29b7;
$custom-light: #bf71cd;
$custom-dark: #000000;
JSON
{
  "hex": "#9e29b7",
  "rgb": {
    "r": 158,
    "g": 41,
    "b": 183
  },
  "hsl": {
    "h": 289.437,
    "s": 63.393,
    "l": 43.922
  },
  "oklch": {
    "l": 0.52589,
    "c": 0.21972,
    "h": 319.7
  },
  "luminance": 0.12274
}

Semantic roles & 50–950 ramp

primary
#9E29B7
secondary
#82C973
accent
#E6415E
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130813
muted
#827B82

Preview Lab

Preview with #9E29B7

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

Preview Lab → · Contrast checker → · Palette generator →

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