#9E46E5#9E46E5

#9E46E5 is a mid, highly saturated violet. Relative luminance 0.173; OKLCH L 58.5% C 0.230 H 305.7°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#9E46E5
RGBrgb(158, 70, 229)
HSLhsl(273, 75%, 59%)
HSVhsv(273, 69%, 90%)
CMYKcmyk(31%, 69.4%, 0%, 10.2%)
CIE-LABlab(48.64, 63.41, -65.84)
CIE-LCHlch(48.64, 91.41, 313.92°)
OKLaboklab(58.54% 0.1343 -0.187)
OKLCHoklch(58.54% 0.23 305.7)
XYZxyz(30.4305, 17.3068, 75.8510)
Luminance0.1731 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E46E5 #8DE546
analogous
#4E46E5 #9E46E5 #E546DC
triadic
#9E46E5 #E59E46 #46E59E
tetradic
#9E46E5 #E54E46 #8DE546 #46DCE5
square
#9E46E5 #E54E46 #8DE546 #46DCE5
split-complementary
#9E46E5 #DCE546 #46E54E
monochromatic
#5F169B #801DD0 #9E46E5 #BA7CED #D6B1F4

Accessibility & contrast

On white

4.71
#9E46E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#9E46E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E46E5
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E46E5#FFFFFF#000000##FFFFFF
##9E46E51.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071EA
Deuteranopia (green-blind)
#0074E2
Tritanopia (blue-blind)
#916B91
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9e46e5;
/* rgb */ color: rgb(158, 70, 229);
/* oklch */ color: oklch(58.5% 0.230 305.7);
Tailwind
colors: {
  custom: {
    50: '#c080ee',
    500: '#9e46e5',
    950: '#000000',
  },
}
SCSS
$custom: #9e46e5;
$custom-light: #c080ee;
$custom-dark: #000000;
JSON
{
  "hex": "#9e46e5",
  "rgb": {
    "r": 158,
    "g": 70,
    "b": 229
  },
  "hsl": {
    "h": 273.208,
    "s": 75.355,
    "l": 58.627
  },
  "oklch": {
    "l": 0.58537,
    "c": 0.23022,
    "h": 305.7
  },
  "luminance": 0.17307
}

Semantic roles & 50–950 ramp

primary
#9E46E5
secondary
#C0E3A4
accent
#F2368A
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9E46E5

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

Preview Lab → · Contrast checker → · Palette generator →

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