#9E46BB#9E46BB

#9E46BB is a mid, vivid purple. Relative luminance 0.152; OKLCH L 55.8% C 0.188 H 316.8°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#9E46BB
RGBrgb(158, 70, 187)
HSLhsl(285, 46%, 50%)
HSVhsv(285, 63%, 73%)
CMYKcmyk(15.5%, 62.6%, 0%, 26.7%)
CIE-LABlab(45.96, 54.40, -46.04)
CIE-LCHlch(45.96, 71.26, 319.76°)
OKLaboklab(55.75% 0.1374 -0.1289)
OKLCHoklch(55.75% 0.188 316.8)
XYZxyz(25.2590, 15.2382, 48.6148)
Luminance0.1524 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E46BB #63BB46
analogous
#6346BB #9E46BB #BB469E
triadic
#9E46BB #BB9E46 #46BB9E
tetradic
#9E46BB #BB6346 #63BB46 #469EBB
square
#9E46BB #BB6346 #63BB46 #469EBB
split-complementary
#9E46BB #9EBB46 #46BB63
monochromatic
#532462 #79358F #9E46BB #B573CB #CDA0DC

Accessibility & contrast

On white

5.19
#9E46BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#9E46BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E46BB
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E46BB#FFFFFF#000000##FFFFFF
##9E46BB1.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2067BF
Deuteranopia (green-blind)
#4870B8
Tritanopia (blue-blind)
#9D5B7A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9e46bb;
/* rgb */ color: rgb(158, 70, 187);
/* oklch */ color: oklch(55.8% 0.188 316.8);
Tailwind
colors: {
  custom: {
    50: '#be7fd0',
    500: '#9e46bb',
    950: '#000000',
  },
}
SCSS
$custom: #9e46bb;
$custom-light: #be7fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#9e46bb",
  "rgb": {
    "r": 158,
    "g": 70,
    "b": 187
  },
  "hsl": {
    "h": 285.128,
    "s": 46.245,
    "l": 50.392
  },
  "oklch": {
    "l": 0.55753,
    "c": 0.18843,
    "h": 316.8
  },
  "luminance": 0.15237
}

Semantic roles & 50–950 ramp

primary
#9E46BB
secondary
#A1C894
accent
#D65273
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#120A14
muted
#817C82

Preview Lab

Preview with #9E46BB

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

Preview Lab → · Contrast checker → · Palette generator →

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