#9E46D5#9E46D5

#9E46D5 is a mid, highly saturated violet. Relative luminance 0.165; OKLCH L 57.4% C 0.214 H 309.5°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#9E46D5
RGBrgb(158, 70, 213)
HSLhsl(277, 63%, 55%)
HSVhsv(277, 67%, 84%)
CMYKcmyk(25.8%, 67.1%, 0%, 16.5%)
CIE-LABlab(47.56, 59.89, -58.48)
CIE-LCHlch(47.56, 83.70, 315.68°)
OKLaboklab(57.42% 0.1362 -0.1654)
OKLCHoklch(57.42% 0.214 309.5)
XYZxyz(28.2986, 16.4541, 64.6231)
Luminance0.1645 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E46D5 #7DD546
analogous
#5646D5 #9E46D5 #D546C5
triadic
#9E46D5 #D59E46 #46D59E
tetradic
#9E46D5 #D55646 #7DD546 #46C5D5
square
#9E46D5 #D55646 #7DD546 #46C5D5
split-complementary
#9E46D5 #C5D546 #46D556
monochromatic
#5C1E83 #7F29B5 #9E46D5 #B878E0 #D2AAEC

Accessibility & contrast

On white

4.89
#9E46D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#9E46D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E46D5
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E46D5#FFFFFF#000000##FFFFFF
##9E46D51.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD9
Deuteranopia (green-blind)
#2D72D2
Tritanopia (blue-blind)
#966488
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9e46d5;
/* rgb */ color: rgb(158, 70, 213);
/* oklch */ color: oklch(57.4% 0.214 309.5);
Tailwind
colors: {
  custom: {
    50: '#bf80e3',
    500: '#9e46d5',
    950: '#000000',
  },
}
SCSS
$custom: #9e46d5;
$custom-light: #bf80e3;
$custom-dark: #000000;
JSON
{
  "hex": "#9e46d5",
  "rgb": {
    "r": 158,
    "g": 70,
    "b": 213
  },
  "hsl": {
    "h": 276.923,
    "s": 62.996,
    "l": 55.49
  },
  "oklch": {
    "l": 0.57424,
    "c": 0.21423,
    "h": 309.5
  },
  "luminance": 0.16454
}

Semantic roles & 50–950 ramp

primary
#9E46D5
secondary
#B5D99E
accent
#E64281
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B15
muted
#827C84

Preview Lab

Preview with #9E46D5

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

Preview Lab → · Contrast checker → · Palette generator →

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