#9E46AC#9E46AC

#9E46AC is a mid, vivid purple. Relative luminance 0.146; OKLCH L 54.9% C 0.174 H 322.0°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#9E46AC
RGBrgb(158, 70, 172)
HSLhsl(292, 42%, 47%)
HSVhsv(292, 59%, 67%)
CMYKcmyk(8.1%, 59.3%, 0%, 32.5%)
CIE-LABlab(45.12, 51.41, -38.56)
CIE-LCHlch(45.12, 64.27, 323.13°)
OKLaboklab(54.87% 0.137 -0.1071)
OKLCHoklch(54.87% 0.174 322)
XYZxyz(23.7363, 14.6291, 40.5952)
Luminance0.1463 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E46AC #54AC46
analogous
#6B46AC #9E46AC #AC4687
triadic
#9E46AC #AC9E46 #46AC9E
tetradic
#9E46AC #AC6B46 #54AC46 #4687AC
square
#9E46AC #AC6B46 #54AC46 #4687AC
split-complementary
#9E46AC #87AC46 #46AC6B
monochromatic
#4E2355 #763481 #9E46AC #B76CC3 #CC98D5

Accessibility & contrast

On white

5.35
#9E46AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#9E46AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E46AC
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E46AC#FFFFFF#000000##FFFFFF
##9E46AC1.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3264AF
Deuteranopia (green-blind)
#526EA9
Tritanopia (blue-blind)
#A05572
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9e46ac;
/* rgb */ color: rgb(158, 70, 172);
/* oklch */ color: oklch(54.9% 0.174 322.0);
Tailwind
colors: {
  custom: {
    50: '#bd7ec5',
    500: '#9e46ac',
    950: '#000000',
  },
}
SCSS
$custom: #9e46ac;
$custom-light: #bd7ec5;
$custom-dark: #000000;
JSON
{
  "hex": "#9e46ac",
  "rgb": {
    "r": 158,
    "g": 70,
    "b": 172
  },
  "hsl": {
    "h": 291.765,
    "s": 42.149,
    "l": 47.451
  },
  "oklch": {
    "l": 0.54874,
    "c": 0.1739,
    "h": 322
  },
  "luminance": 0.14628
}

Semantic roles & 50–950 ramp

primary
#9E46AC
secondary
#94C18D
accent
#D25667
background
#FBF7FC
surface
#F7EEF8
border
#D0C9D1
text
#120A13
muted
#817C82

Preview Lab

Preview with #9E46AC

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

Preview Lab → · Contrast checker → · Palette generator →

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