#9E46E8#9E46E8

#9E46E8 is a mid, highly saturated violet. Relative luminance 0.175; OKLCH L 58.8% C 0.233 H 305.0°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#9E46E8
RGBrgb(158, 70, 232)
HSLhsl(273, 78%, 59%)
HSVhsv(273, 70%, 91%)
CMYKcmyk(31.9%, 69.8%, 0%, 9%)
CIE-LABlab(48.85, 64.09, -67.19)
CIE-LCHlch(48.85, 92.86, 313.64°)
OKLaboklab(58.75% 0.1339 -0.191)
OKLCHoklch(58.75% 0.233 305)
XYZxyz(30.8529, 17.4758, 78.0761)
Luminance0.1748 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E46E8 #90E846
analogous
#4D46E8 #9E46E8 #E846E1
triadic
#9E46E8 #E89E46 #46E89E
tetradic
#9E46E8 #E84D46 #90E846 #46E1E8
square
#9E46E8 #E84D46 #90E846 #46E1E8
split-complementary
#9E46E8 #E1E846 #46E84D
monochromatic
#6014A0 #811BD6 #9E46E8 #BB7CEF #D7B3F6

Accessibility & contrast

On white

4.67
#9E46E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#9E46E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9E46E8
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E46E8#FFFFFF#000000##FFFFFF
##9E46E81.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072ED
Deuteranopia (green-blind)
#0074E5
Tritanopia (blue-blind)
#906C92
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9e46e8;
/* rgb */ color: rgb(158, 70, 232);
/* oklch */ color: oklch(58.8% 0.233 305.0);
Tailwind
colors: {
  custom: {
    50: '#c080f0',
    500: '#9e46e8',
    950: '#000000',
  },
}
SCSS
$custom: #9e46e8;
$custom-light: #c080f0;
$custom-dark: #000000;
JSON
{
  "hex": "#9e46e8",
  "rgb": {
    "r": 158,
    "g": 70,
    "b": 232
  },
  "hsl": {
    "h": 272.593,
    "s": 77.885,
    "l": 59.216
  },
  "oklch": {
    "l": 0.58752,
    "c": 0.23321,
    "h": 305
  },
  "luminance": 0.17476
}

Semantic roles & 50–950 ramp

primary
#9E46E8
secondary
#C2E5A5
accent
#F4338C
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #9E46E8

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

Preview Lab → · Contrast checker → · Palette generator →

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