#9E29BA#9E29BA

#9E29BA is a mid, highly saturated purple. Relative luminance 0.124; OKLCH L 52.8% C 0.222 H 318.8°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#9E29BA
RGBrgb(158, 41, 186)
HSLhsl(288, 64%, 45%)
HSVhsv(288, 78%, 73%)
CMYKcmyk(15.1%, 78%, 0%, 27.1%)
CIE-LABlab(41.85, 65.61, -52.04)
CIE-LCHlch(41.85, 83.74, 321.58°)
OKLaboklab(52.79% 0.1673 -0.1463)
OKLCHoklch(52.79% 0.222 318.8)
XYZxyz(23.7552, 12.4013, 47.5873)
Luminance0.1240 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E29BA #45BA29
analogous
#5629BA #9E29BA #BA298E
triadic
#9E29BA #BA9E29 #29BA9E
tetradic
#9E29BA #BA5629 #45BA29 #298EBA
square
#9E29BA #BA5629 #45BA29 #298EBA
split-complementary
#9E29BA #8EBA29 #29BA56
monochromatic
#491356 #731E88 #9E29BA #BC49D7 #CE7BE2

Accessibility & contrast

On white

6.03
#9E29BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#9E29BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E29BA
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E29BA#FFFFFF#000000##FFFFFF
##9E29BA1.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBE
Deuteranopia (green-blind)
#3366B7
Tritanopia (blue-blind)
#9E4971
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9e29ba;
/* rgb */ color: rgb(158, 41, 186);
/* oklch */ color: oklch(52.8% 0.222 318.8);
Tailwind
colors: {
  custom: {
    50: '#bf71cf',
    500: '#9e29ba',
    950: '#000000',
  },
}
SCSS
$custom: #9e29ba;
$custom-light: #bf71cf;
$custom-dark: #000000;
JSON
{
  "hex": "#9e29ba",
  "rgb": {
    "r": 158,
    "g": 41,
    "b": 186
  },
  "hsl": {
    "h": 288.414,
    "s": 63.877,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52791,
    "c": 0.2222,
    "h": 318.8
  },
  "luminance": 0.124
}

Semantic roles & 50–950 ramp

primary
#9E29BA
secondary
#85CA75
accent
#E74161
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #9E29BA

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

Preview Lab → · Contrast checker → · Palette generator →

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