#9E299B#9E299B

#9E299B is a mid, vivid purple. Relative luminance 0.112; OKLCH L 50.8% C 0.197 H 329.1°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#9E299B
RGBrgb(158, 41, 155)
HSLhsl(302, 59%, 39%)
HSVhsv(302, 74%, 62%)
CMYKcmyk(0%, 74.1%, 1.9%, 38%)
CIE-LABlab(39.95, 60.18, -36.60)
CIE-LCHlch(39.95, 70.43, 328.69°)
OKLaboklab(50.84% 0.1693 -0.1012)
OKLCHoklch(50.84% 0.197 329.1)
XYZxyz(20.8097, 11.2231, 32.0742)
Luminance0.1122 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E299B #299E2C
analogous
#67299E #9E299B #9E2961
triadic
#9E299B #9B9E29 #299B9E
tetradic
#9E299B #9E6729 #299E2C #29619E
square
#9E299B #9E6729 #299E2C #29619E
split-complementary
#9E299B #619E29 #299E67
monochromatic
#3D103C #6D1C6B #9E299B #CC39C8 #D869D5

Accessibility & contrast

On white

6.47
#9E299B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#9E299B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E299B
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E299B#FFFFFF#000000##FFFFFF
##9E299B1.006.473.246.47
#FFFFFF6.471.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16549E
Deuteranopia (green-blind)
#4B6498
Tritanopia (blue-blind)
#A43A60
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9e299b;
/* rgb */ color: rgb(158, 41, 155);
/* oklch */ color: oklch(50.8% 0.197 329.1);
Tailwind
colors: {
  custom: {
    50: '#be6fb9',
    500: '#9e299b',
    950: '#000000',
  },
}
SCSS
$custom: #9e299b;
$custom-light: #be6fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#9e299b",
  "rgb": {
    "r": 158,
    "g": 41,
    "b": 155
  },
  "hsl": {
    "h": 301.538,
    "s": 58.794,
    "l": 39.02
  },
  "oklch": {
    "l": 0.50839,
    "c": 0.19724,
    "h": 329.1
  },
  "luminance": 0.11222
}

Semantic roles & 50–950 ramp

primary
#9E299B
secondary
#64BF67
accent
#E24A46
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9E299B

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

Preview Lab → · Contrast checker → · Palette generator →

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