#9E46AA#9E46AA

#9E46AA is a mid, vivid purple. Relative luminance 0.146; OKLCH L 54.8% C 0.172 H 322.7°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#9E46AA
RGBrgb(158, 70, 170)
HSLhsl(293, 42%, 47%)
HSVhsv(293, 59%, 67%)
CMYKcmyk(7.1%, 58.8%, 0%, 33.3%)
CIE-LABlab(45.02, 51.02, -37.55)
CIE-LCHlch(45.02, 63.35, 323.65°)
OKLaboklab(54.76% 0.1368 -0.1042)
OKLCHoklch(54.76% 0.172 322.7)
XYZxyz(23.5457, 14.5529, 39.5912)
Luminance0.1455 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E46AA #52AA46
analogous
#6C46AA #9E46AA #AA4684
triadic
#9E46AA #AA9E46 #46AA9E
tetradic
#9E46AA #AA6C46 #52AA46 #4684AA
square
#9E46AA #AA6C46 #52AA46 #4684AA
split-complementary
#9E46AA #84AA46 #46AA6C
monochromatic
#4D2253 #76347F #9E46AA #B86BC2 #CD96D4

Accessibility & contrast

On white

5.37
#9E46AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#9E46AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E46AA
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E46AA#FFFFFF#000000##FFFFFF
##9E46AA1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3464AD
Deuteranopia (green-blind)
#536EA7
Tritanopia (blue-blind)
#A05471
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9e46aa;
/* rgb */ color: rgb(158, 70, 170);
/* oklch */ color: oklch(54.8% 0.172 322.7);
Tailwind
colors: {
  custom: {
    50: '#bd7ec4',
    500: '#9e46aa',
    950: '#000000',
  },
}
SCSS
$custom: #9e46aa;
$custom-light: #bd7ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#9e46aa",
  "rgb": {
    "r": 158,
    "g": 70,
    "b": 170
  },
  "hsl": {
    "h": 292.8,
    "s": 41.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.54762,
    "c": 0.17198,
    "h": 322.7
  },
  "luminance": 0.14552
}

Semantic roles & 50–950 ramp

primary
#9E46AA
secondary
#92C08C
accent
#D15665
background
#FBF7FC
surface
#F7EEF8
border
#D0C9D1
text
#120A12
muted
#817C81

Preview Lab

Preview with #9E46AA

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

Preview Lab → · Contrast checker → · Palette generator →

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