#9E29A5#9E29A5

#9E29A5 is a mid, highly saturated purple. Relative luminance 0.116; OKLCH L 51.4% C 0.205 H 325.5°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#9E29A5
RGBrgb(158, 41, 165)
HSLhsl(297, 60%, 40%)
HSVhsv(297, 75%, 65%)
CMYKcmyk(4.2%, 75.2%, 0%, 35.3%)
CIE-LABlab(40.53, 61.86, -41.70)
CIE-LCHlch(40.53, 74.60, 326.02°)
OKLaboklab(51.43% 0.1691 -0.116)
OKLCHoklch(51.43% 0.205 325.5)
XYZxyz(21.6845, 11.5730, 36.6817)
Luminance0.1157 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E29A5 #30A529
analogous
#6029A5 #9E29A5 #A5296E
triadic
#9E29A5 #A59E29 #29A59E
tetradic
#9E29A5 #A56029 #30A529 #296EA5
square
#9E29A5 #A56029 #30A529 #296EA5
split-complementary
#9E29A5 #6EA529 #29A560
monochromatic
#401143 #6F1D74 #9E29A5 #C63DCF #D56EDB

Accessibility & contrast

On white

6.34
#9E29A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#9E29A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E29A5
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E29A5#FFFFFF#000000##FFFFFF
##9E29A51.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056A8
Deuteranopia (green-blind)
#4564A2
Tritanopia (blue-blind)
#A23F65
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9e29a5;
/* rgb */ color: rgb(158, 41, 165);
/* oklch */ color: oklch(51.4% 0.205 325.5);
Tailwind
colors: {
  custom: {
    50: '#be70c0',
    500: '#9e29a5',
    950: '#000000',
  },
}
SCSS
$custom: #9e29a5;
$custom-light: #be70c0;
$custom-dark: #000000;
JSON
{
  "hex": "#9e29a5",
  "rgb": {
    "r": 158,
    "g": 41,
    "b": 165
  },
  "hsl": {
    "h": 296.613,
    "s": 60.194,
    "l": 40.392
  },
  "oklch": {
    "l": 0.51435,
    "c": 0.20511,
    "h": 325.5
  },
  "luminance": 0.11572
}

Semantic roles & 50–950 ramp

primary
#9E29A5
secondary
#6DC268
accent
#E3444D
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #9E29A5

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

Preview Lab → · Contrast checker → · Palette generator →

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