#9E46CC#9E46CC

#9E46CC is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 56.8% C 0.205 H 311.8°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#9E46CC
RGBrgb(158, 70, 204)
HSLhsl(279, 57%, 54%)
HSVhsv(279, 66%, 80%)
CMYKcmyk(22.5%, 65.7%, 0%, 20%)
CIE-LABlab(46.99, 57.95, -54.24)
CIE-LCHlch(46.99, 79.37, 316.89°)
OKLaboklab(56.83% 0.1369 -0.1529)
OKLCHoklch(56.83% 0.205 311.8)
XYZxyz(27.1878, 16.0097, 58.7730)
Luminance0.1601 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E46CC #74CC46
analogous
#5B46CC #9E46CC #CC46B7
triadic
#9E46CC #CC9E46 #46CC9E
tetradic
#9E46CC #CC5B46 #74CC46 #46B7CC
square
#9E46CC #CC5B46 #74CC46 #46B7CC
split-complementary
#9E46CC #B7CC46 #46CC5B
monochromatic
#592177 #7D2EA7 #9E46CC #B776D9 #D0A6E6

Accessibility & contrast

On white

5.00
#9E46CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#9E46CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E46CC
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E46CC#FFFFFF#000000##FFFFFF
##9E46CC1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD0
Deuteranopia (green-blind)
#3971C9
Tritanopia (blue-blind)
#996183
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9e46cc;
/* rgb */ color: rgb(158, 70, 204);
/* oklch */ color: oklch(56.8% 0.205 311.8);
Tailwind
colors: {
  custom: {
    50: '#be7fdc',
    500: '#9e46cc',
    950: '#000000',
  },
}
SCSS
$custom: #9e46cc;
$custom-light: #be7fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#9e46cc",
  "rgb": {
    "r": 158,
    "g": 70,
    "b": 204
  },
  "hsl": {
    "h": 279.403,
    "s": 56.78,
    "l": 53.725
  },
  "oklch": {
    "l": 0.56825,
    "c": 0.20525,
    "h": 311.8
  },
  "luminance": 0.16009
}

Semantic roles & 50–950 ramp

primary
#9E46CC
secondary
#AED49A
accent
#E0487C
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #9E46CC

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

Preview Lab → · Contrast checker → · Palette generator →

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