#9E46E4#9E46E4

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

Color values

HEX#9E46E4
RGBrgb(158, 70, 228)
HSLhsl(273, 75%, 58%)
HSVhsv(273, 69%, 89%)
CMYKcmyk(30.7%, 69.3%, 0%, 10.6%)
CIE-LABlab(48.57, 63.19, -65.39)
CIE-LCHlch(48.57, 90.93, 314.02°)
OKLaboklab(58.47% 0.1344 -0.1857)
OKLCHoklch(58.47% 0.229 305.9)
XYZxyz(30.2912, 17.2511, 75.1178)
Luminance0.1725 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E46E4 #8CE446
analogous
#4F46E4 #9E46E4 #E446DB
triadic
#9E46E4 #E49E46 #46E49E
tetradic
#9E46E4 #E44F46 #8CE446 #46DBE4
square
#9E46E4 #E44F46 #8CE446 #46DBE4
split-complementary
#9E46E4 #DBE446 #46E44F
monochromatic
#5F1699 #801ECF #9E46E4 #BA7BEC #D6B1F4

Accessibility & contrast

On white

4.72
#9E46E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#9E46E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E46E4
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E46E4#FFFFFF#000000##FFFFFF
##9E46E41.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E9
Deuteranopia (green-blind)
#0574E1
Tritanopia (blue-blind)
#926A90
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9e46e4;
/* rgb */ color: rgb(158, 70, 228);
/* oklch */ color: oklch(58.5% 0.229 305.9);
Tailwind
colors: {
  custom: {
    50: '#c080ed',
    500: '#9e46e4',
    950: '#000000',
  },
}
SCSS
$custom: #9e46e4;
$custom-light: #c080ed;
$custom-dark: #000000;
JSON
{
  "hex": "#9e46e4",
  "rgb": {
    "r": 158,
    "g": 70,
    "b": 228
  },
  "hsl": {
    "h": 273.418,
    "s": 74.528,
    "l": 58.431
  },
  "oklch": {
    "l": 0.58466,
    "c": 0.22922,
    "h": 305.9
  },
  "luminance": 0.17251
}

Semantic roles & 50–950 ramp

primary
#9E46E4
secondary
#BFE2A4
accent
#F13789
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9E46E4

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

Preview Lab → · Contrast checker → · Palette generator →

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