#9E46CF#9E46CF

#9E46CF is a mid, highly saturated violet. Relative luminance 0.162; OKLCH L 57.0% C 0.208 H 311.0°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#9E46CF
RGBrgb(158, 70, 207)
HSLhsl(279, 59%, 54%)
HSVhsv(279, 66%, 81%)
CMYKcmyk(23.7%, 66.2%, 0%, 18.8%)
CIE-LABlab(47.18, 58.59, -55.66)
CIE-LCHlch(47.18, 80.82, 316.47°)
OKLaboklab(57.02% 0.1367 -0.1571)
OKLCHoklch(57.02% 0.208 311)
XYZxyz(27.5511, 16.1551, 60.6863)
Luminance0.1615 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E46CF #77CF46
analogous
#5A46CF #9E46CF #CF46BC
triadic
#9E46CF #CF9E46 #46CF9E
tetradic
#9E46CF #CF5A46 #77CF46 #46BCCF
square
#9E46CF #CF5A46 #77CF46 #46BCCF
split-complementary
#9E46CF #BCCF46 #46CF5A
monochromatic
#5A207B #7E2CAB #9E46CF #B777DC #D1A7E8

Accessibility & contrast

On white

4.96
#9E46CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#9E46CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E46CF
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E46CF#FFFFFF#000000##FFFFFF
##9E46CF1.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD3
Deuteranopia (green-blind)
#3571CC
Tritanopia (blue-blind)
#986285
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9e46cf;
/* rgb */ color: rgb(158, 70, 207);
/* oklch */ color: oklch(57.0% 0.208 311.0);
Tailwind
colors: {
  custom: {
    50: '#bf7fde',
    500: '#9e46cf',
    950: '#000000',
  },
}
SCSS
$custom: #9e46cf;
$custom-light: #bf7fde;
$custom-dark: #000000;
JSON
{
  "hex": "#9e46cf",
  "rgb": {
    "r": 158,
    "g": 70,
    "b": 207
  },
  "hsl": {
    "h": 278.54,
    "s": 58.798,
    "l": 54.314
  },
  "oklch": {
    "l": 0.57022,
    "c": 0.20825,
    "h": 311
  },
  "luminance": 0.16154
}

Semantic roles & 50–950 ramp

primary
#9E46CF
secondary
#B0D59B
accent
#E2467E
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #9E46CF

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

Preview Lab → · Contrast checker → · Palette generator →

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