#9E29AB#9E29AB

#9E29AB is a mid, highly saturated purple. Relative luminance 0.118; OKLCH L 51.8% C 0.210 H 323.5°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#9E29AB
RGBrgb(158, 41, 171)
HSLhsl(294, 61%, 42%)
HSVhsv(294, 76%, 67%)
CMYKcmyk(7.6%, 76%, 0%, 32.9%)
CIE-LABlab(40.89, 62.90, -44.70)
CIE-LCHlch(40.89, 77.17, 324.60°)
OKLaboklab(51.81% 0.1688 -0.1248)
OKLCHoklch(51.81% 0.21 323.5)
XYZxyz(22.2435, 11.7966, 39.6256)
Luminance0.1179 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E29AB #36AB29
analogous
#5D29AB #9E29AB #AB2977
triadic
#9E29AB #AB9E29 #29AB9E
tetradic
#9E29AB #AB5D29 #36AB29 #2977AB
square
#9E29AB #AB5D29 #36AB29 #2977AB
split-complementary
#9E29AB #77AB29 #29AB5D
monochromatic
#431148 #701D7A #9E29AB #C340D1 #D271DD

Accessibility & contrast

On white

6.25
#9E29AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#9E29AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E29AB
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E29AB#FFFFFF#000000##FFFFFF
##9E29AB1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AF
Deuteranopia (green-blind)
#4065A8
Tritanopia (blue-blind)
#A14269
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9e29ab;
/* rgb */ color: rgb(158, 41, 171);
/* oklch */ color: oklch(51.8% 0.210 323.5);
Tailwind
colors: {
  custom: {
    50: '#bf70c5',
    500: '#9e29ab',
    950: '#000000',
  },
}
SCSS
$custom: #9e29ab;
$custom-light: #bf70c5;
$custom-dark: #000000;
JSON
{
  "hex": "#9e29ab",
  "rgb": {
    "r": 158,
    "g": 41,
    "b": 171
  },
  "hsl": {
    "h": 294,
    "s": 61.321,
    "l": 41.569
  },
  "oklch": {
    "l": 0.51809,
    "c": 0.20992,
    "h": 323.5
  },
  "luminance": 0.11795
}

Semantic roles & 50–950 ramp

primary
#9E29AB
secondary
#74C46C
accent
#E44353
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130813
muted
#827B82

Preview Lab

Preview with #9E29AB

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

Preview Lab → · Contrast checker → · Palette generator →

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