#9E29B6#9E29B6

#9E29B6 is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.5% C 0.219 H 320.0°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#9E29B6
RGBrgb(158, 41, 182)
HSLhsl(290, 63%, 44%)
HSVhsv(290, 77%, 71%)
CMYKcmyk(13.2%, 77.5%, 0%, 28.6%)
CIE-LABlab(41.59, 64.88, -50.11)
CIE-LCHlch(41.59, 81.97, 322.32°)
OKLaboklab(52.52% 0.1678 -0.1406)
OKLCHoklch(52.52% 0.219 320)
XYZxyz(23.3359, 12.2336, 45.3790)
Luminance0.1223 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E29B6 #41B629
analogous
#5729B6 #9E29B6 #B62987
triadic
#9E29B6 #B69E29 #29B69E
tetradic
#9E29B6 #B65729 #41B629 #2987B6
square
#9E29B6 #B65729 #41B629 #2987B6
split-complementary
#9E29B6 #87B629 #29B657
monochromatic
#471252 #731E84 #9E29B6 #BD47D5 #CF79E1

Accessibility & contrast

On white

6.09
#9E29B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9E29B6
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E29B6#FFFFFF#000000##FFFFFF
##9E29B61.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABA
Deuteranopia (green-blind)
#3766B3
Tritanopia (blue-blind)
#9E476F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9e29b6;
/* rgb */ color: rgb(158, 41, 182);
/* oklch */ color: oklch(52.5% 0.219 320.0);
Tailwind
colors: {
  custom: {
    50: '#bf71cd',
    500: '#9e29b6',
    950: '#000000',
  },
}
SCSS
$custom: #9e29b6;
$custom-light: #bf71cd;
$custom-dark: #000000;
JSON
{
  "hex": "#9e29b6",
  "rgb": {
    "r": 158,
    "g": 41,
    "b": 182
  },
  "hsl": {
    "h": 289.787,
    "s": 63.229,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52523,
    "c": 0.2189,
    "h": 320
  },
  "luminance": 0.12232
}

Semantic roles & 50–950 ramp

primary
#9E29B6
secondary
#81C972
accent
#E6425E
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130813
muted
#827B82

Preview Lab

Preview with #9E29B6

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

Preview Lab → · Contrast checker → · Palette generator →

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