#9E46DC#9E46DC

#9E46DC is a mid, highly saturated violet. Relative luminance 0.168; OKLCH L 57.9% C 0.221 H 307.8°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#9E46DC
RGBrgb(158, 70, 220)
HSLhsl(275, 68%, 57%)
HSVhsv(275, 68%, 86%)
CMYKcmyk(28.2%, 68.2%, 0%, 13.7%)
CIE-LABlab(48.03, 61.42, -61.73)
CIE-LCHlch(48.03, 87.08, 314.86°)
OKLaboklab(57.9% 0.1354 -0.1749)
OKLCHoklch(57.9% 0.221 307.8)
XYZxyz(29.2063, 16.8171, 69.4037)
Luminance0.1682 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E46DC #84DC46
analogous
#5346DC #9E46DC #DC46CF
triadic
#9E46DC #DC9E46 #46DC9E
tetradic
#9E46DC #DC5346 #84DC46 #46CFDC
square
#9E46DC #DC5346 #84DC46 #46CFDC
split-complementary
#9E46DC #CFDC46 #46DC53
monochromatic
#5E1B8D #8024C0 #9E46DC #B979E6 #D4ADEF

Accessibility & contrast

On white

4.81
#9E46DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#9E46DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E46DC
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E46DC#FFFFFF#000000##FFFFFF
##9E46DC1.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE0
Deuteranopia (green-blind)
#2173D9
Tritanopia (blue-blind)
#94678C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9e46dc;
/* rgb */ color: rgb(158, 70, 220);
/* oklch */ color: oklch(57.9% 0.221 307.8);
Tailwind
colors: {
  custom: {
    50: '#bf80e8',
    500: '#9e46dc',
    950: '#000000',
  },
}
SCSS
$custom: #9e46dc;
$custom-light: #bf80e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9e46dc",
  "rgb": {
    "r": 158,
    "g": 70,
    "b": 220
  },
  "hsl": {
    "h": 275.2,
    "s": 68.182,
    "l": 56.863
  },
  "oklch": {
    "l": 0.57903,
    "c": 0.22122,
    "h": 307.8
  },
  "luminance": 0.16817
}

Semantic roles & 50–950 ramp

primary
#9E46DC
secondary
#BADDA0
accent
#EB3D85
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9E46DC

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

Preview Lab → · Contrast checker → · Palette generator →

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