#9E46EF#9E46EF

#9E46EF is a mid, highly saturated violet. Relative luminance 0.179; OKLCH L 59.3% C 0.240 H 303.5°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#9E46EF
RGBrgb(158, 70, 239)
HSLhsl(271, 84%, 61%)
HSVhsv(271, 71%, 94%)
CMYKcmyk(33.9%, 70.7%, 0%, 6.3%)
CIE-LABlab(49.35, 65.66, -70.33)
CIE-LCHlch(49.35, 96.22, 313.04°)
OKLaboklab(59.26% 0.1327 -0.2002)
OKLCHoklch(59.26% 0.24 303.5)
XYZxyz(31.8671, 17.8815, 83.4172)
Luminance0.1788 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E46EF #97EF46
analogous
#4946EF #9E46EF #EF46EB
triadic
#9E46EF #EF9E46 #46EF9E
tetradic
#9E46EF #EF4946 #97EF46 #46EBEF
square
#9E46EF #EF4946 #97EF46 #46EBEF
split-complementary
#9E46EF #EBEF46 #46EF49
monochromatic
#610FAC #8014E4 #9E46EF #BC7EF4 #D9B7F9

Accessibility & contrast

On white

4.59
#9E46EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#9E46EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9E46EF
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E46EF#FFFFFF#000000##FFFFFF
##9E46EF1.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F4
Deuteranopia (green-blind)
#0075EC
Tritanopia (blue-blind)
#8E6F96
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9e46ef;
/* rgb */ color: rgb(158, 70, 239);
/* oklch */ color: oklch(59.3% 0.240 303.5);
Tailwind
colors: {
  custom: {
    50: '#c181f5',
    500: '#9e46ef',
    950: '#000000',
  },
}
SCSS
$custom: #9e46ef;
$custom-light: #c181f5;
$custom-dark: #000000;
JSON
{
  "hex": "#9e46ef",
  "rgb": {
    "r": 158,
    "g": 70,
    "b": 239
  },
  "hsl": {
    "h": 271.243,
    "s": 84.08,
    "l": 60.588
  },
  "oklch": {
    "l": 0.59263,
    "c": 0.24019,
    "h": 303.5
  },
  "luminance": 0.17881
}

Semantic roles & 50–950 ramp

primary
#9E46EF
secondary
#C7E9A8
accent
#E1056E
background
#FCF8FF
surface
#F8EFFF
border
#D1CAD7
text
#130B17
muted
#827C85

Preview Lab

Preview with #9E46EF

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

Preview Lab → · Contrast checker → · Palette generator →

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