#9E46D2#9E46D2

#9E46D2 is a mid, highly saturated violet. Relative luminance 0.163; OKLCH L 57.2% C 0.211 H 310.2°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#9E46D2
RGBrgb(158, 70, 210)
HSLhsl(278, 61%, 55%)
HSVhsv(278, 67%, 82%)
CMYKcmyk(24.8%, 66.7%, 0%, 17.6%)
CIE-LABlab(47.37, 59.23, -57.08)
CIE-LCHlch(47.37, 82.26, 316.06°)
OKLaboklab(57.22% 0.1364 -0.1612)
OKLCHoklch(57.22% 0.211 310.2)
XYZxyz(27.9213, 16.3032, 62.6362)
Luminance0.1630 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E46D2 #7AD246
analogous
#5846D2 #9E46D2 #D246C0
triadic
#9E46D2 #D29E46 #46D29E
tetradic
#9E46D2 #D25846 #7AD246 #46C0D2
square
#9E46D2 #D25846 #7AD246 #46C0D2
split-complementary
#9E46D2 #C0D246 #46D258
monochromatic
#5B1F7F #7F2BB0 #9E46D2 #B877DE #D2A8EA

Accessibility & contrast

On white

4.93
#9E46D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#9E46D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E46D2
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E46D2#FFFFFF#000000##FFFFFF
##9E46D21.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD6
Deuteranopia (green-blind)
#3272CF
Tritanopia (blue-blind)
#976386
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9e46d2;
/* rgb */ color: rgb(158, 70, 210);
/* oklch */ color: oklch(57.2% 0.211 310.2);
Tailwind
colors: {
  custom: {
    50: '#bf80e1',
    500: '#9e46d2',
    950: '#000000',
  },
}
SCSS
$custom: #9e46d2;
$custom-light: #bf80e1;
$custom-dark: #000000;
JSON
{
  "hex": "#9e46d2",
  "rgb": {
    "r": 158,
    "g": 70,
    "b": 210
  },
  "hsl": {
    "h": 277.714,
    "s": 60.87,
    "l": 54.902
  },
  "oklch": {
    "l": 0.57222,
    "c": 0.21123,
    "h": 310.2
  },
  "luminance": 0.16303
}

Semantic roles & 50–950 ramp

primary
#9E46D2
secondary
#B2D79C
accent
#E4447F
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #9E46D2

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

Preview Lab → · Contrast checker → · Palette generator →

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