#9E419E#9E419E

#9E419E is a mid, vivid purple. Relative luminance 0.135; OKLCH L 53.5% C 0.169 H 327.6°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#9E419E
RGBrgb(158, 65, 158)
HSLhsl(300, 42%, 44%)
HSVhsv(300, 59%, 62%)
CMYKcmyk(0%, 58.9%, 0%, 38%)
CIE-LABlab(43.54, 51.13, -32.75)
CIE-LCHlch(43.54, 60.72, 327.36°)
OKLaboklab(53.48% 0.1423 -0.0903)
OKLCHoklch(53.48% 0.169 327.6)
XYZxyz(22.1621, 13.5197, 33.7834)
Luminance0.1352 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E419E #419E41
analogous
#6F419E #9E419E #9E416F
triadic
#9E419E #9E9E41 #419E9E
tetradic
#9E419E #9E6F41 #419E41 #416F9E
square
#9E419E #9E6F41 #419E41 #416F9E
split-complementary
#9E419E #6F9E41 #419E6F
monochromatic
#471D47 #732F73 #9E419E #BD5FBD #CF8ACF

Accessibility & contrast

On white

5.67
#9E419E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#9E419E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E419E
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E419E#FFFFFF#000000##FFFFFF
##9E419E1.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375FA1
Deuteranopia (green-blind)
#566B9B
Tritanopia (blue-blind)
#A34C69
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9e419e;
/* rgb */ color: rgb(158, 65, 158);
/* oklch */ color: oklch(53.5% 0.169 327.6);
Tailwind
colors: {
  custom: {
    50: '#bd7bbb',
    500: '#9e419e',
    950: '#000000',
  },
}
SCSS
$custom: #9e419e;
$custom-light: #bd7bbb;
$custom-dark: #000000;
JSON
{
  "hex": "#9e419e",
  "rgb": {
    "r": 158,
    "g": 65,
    "b": 158
  },
  "hsl": {
    "h": 300,
    "s": 41.704,
    "l": 43.725
  },
  "oklch": {
    "l": 0.53481,
    "c": 0.16852,
    "h": 327.6
  },
  "luminance": 0.13518
}

Semantic roles & 50–950 ramp

primary
#9E419E
secondary
#81BA81
accent
#D25656
background
#FBF7FB
surface
#F7EEF6
border
#D0C9D0
text
#120A12
muted
#817C81

Preview Lab

Preview with #9E419E

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

Preview Lab → · Contrast checker → · Palette generator →

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