#9E46DB#9E46DB

#9E46DB is a mid, highly saturated violet. Relative luminance 0.168; OKLCH L 57.8% C 0.220 H 308.0°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#9E46DB
RGBrgb(158, 70, 219)
HSLhsl(275, 67%, 57%)
HSVhsv(275, 68%, 86%)
CMYKcmyk(27.9%, 68%, 0%, 14.1%)
CIE-LABlab(47.96, 61.20, -61.27)
CIE-LCHlch(47.96, 86.60, 314.97°)
OKLaboklab(57.83% 0.1356 -0.1736)
OKLCHoklch(57.83% 0.22 308)
XYZxyz(29.0742, 16.7643, 68.7083)
Luminance0.1676 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E46DB #83DB46
analogous
#5446DB #9E46DB #DB46CE
triadic
#9E46DB #DB9E46 #46DB9E
tetradic
#9E46DB #DB5446 #83DB46 #46CEDB
square
#9E46DB #DB5446 #83DB46 #46CEDB
split-complementary
#9E46DB #CEDB46 #46DB54
monochromatic
#5D1B8B #8025BF #9E46DB #B979E5 #D4ACEF

Accessibility & contrast

On white

4.82
#9E46DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#9E46DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E46DB
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E46DB#FFFFFF#000000##FFFFFF
##9E46DB1.004.824.354.82
#FFFFFF4.821.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDF
Deuteranopia (green-blind)
#2373D8
Tritanopia (blue-blind)
#94678B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9e46db;
/* rgb */ color: rgb(158, 70, 219);
/* oklch */ color: oklch(57.8% 0.220 308.0);
Tailwind
colors: {
  custom: {
    50: '#bf80e7',
    500: '#9e46db',
    950: '#000000',
  },
}
SCSS
$custom: #9e46db;
$custom-light: #bf80e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9e46db",
  "rgb": {
    "r": 158,
    "g": 70,
    "b": 219
  },
  "hsl": {
    "h": 275.436,
    "s": 67.421,
    "l": 56.667
  },
  "oklch": {
    "l": 0.57834,
    "c": 0.22023,
    "h": 308
  },
  "luminance": 0.16764
}

Semantic roles & 50–950 ramp

primary
#9E46DB
secondary
#B9DDA0
accent
#EA3D84
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9E46DB

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

Preview Lab → · Contrast checker → · Palette generator →

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