#9E46DE#9E46DE

#9E46DE is a mid, highly saturated violet. Relative luminance 0.169; OKLCH L 58.0% C 0.223 H 307.3°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#9E46DE
RGBrgb(158, 70, 222)
HSLhsl(275, 70%, 57%)
HSVhsv(275, 68%, 87%)
CMYKcmyk(28.8%, 68.5%, 0%, 12.9%)
CIE-LABlab(48.16, 61.86, -62.65)
CIE-LCHlch(48.16, 88.04, 314.64°)
OKLaboklab(58.04% 0.1352 -0.1776)
OKLCHoklch(58.04% 0.223 307.3)
XYZxyz(29.4727, 16.9237, 70.8070)
Luminance0.1692 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E46DE #86DE46
analogous
#5246DE #9E46DE #DE46D2
triadic
#9E46DE #DE9E46 #46DE9E
tetradic
#9E46DE #DE5246 #86DE46 #46D2DE
square
#9E46DE #DE5246 #86DE46 #46D2DE
split-complementary
#9E46DE #D2DE46 #46DE52
monochromatic
#5E1A90 #8023C4 #9E46DE #B97AE7 #D4AEF1

Accessibility & contrast

On white

4.79
#9E46DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#9E46DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E46DE
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E46DE#FFFFFF#000000##FFFFFF
##9E46DE1.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE2
Deuteranopia (green-blind)
#1C73DB
Tritanopia (blue-blind)
#94688D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9e46de;
/* rgb */ color: rgb(158, 70, 222);
/* oklch */ color: oklch(58.0% 0.223 307.3);
Tailwind
colors: {
  custom: {
    50: '#bf80e9',
    500: '#9e46de',
    950: '#000000',
  },
}
SCSS
$custom: #9e46de;
$custom-light: #bf80e9;
$custom-dark: #000000;
JSON
{
  "hex": "#9e46de",
  "rgb": {
    "r": 158,
    "g": 70,
    "b": 222
  },
  "hsl": {
    "h": 274.737,
    "s": 69.725,
    "l": 57.255
  },
  "oklch": {
    "l": 0.58042,
    "c": 0.22323,
    "h": 307.3
  },
  "luminance": 0.16923
}

Semantic roles & 50–950 ramp

primary
#9E46DE
secondary
#BBDFA1
accent
#ED3B86
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9E46DE

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

Preview Lab → · Contrast checker → · Palette generator →

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