#9E46D1#9E46D1

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

Color values

HEX#9E46D1
RGBrgb(158, 70, 209)
HSLhsl(278, 60%, 55%)
HSVhsv(278, 67%, 82%)
CMYKcmyk(24.4%, 66.5%, 0%, 18%)
CIE-LABlab(47.31, 59.02, -56.61)
CIE-LCHlch(47.31, 81.78, 316.19°)
OKLaboklab(57.16% 0.1365 -0.1599)
OKLCHoklch(57.16% 0.21 310.5)
XYZxyz(27.7971, 16.2535, 61.9822)
Luminance0.1625 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E46D1 #79D146
analogous
#5946D1 #9E46D1 #D146BE
triadic
#9E46D1 #D19E46 #46D19E
tetradic
#9E46D1 #D15946 #79D146 #46BED1
square
#9E46D1 #D15946 #79D146 #46BED1
split-complementary
#9E46D1 #BED146 #46D159
monochromatic
#5B1F7D #7E2BAE #9E46D1 #B877DD #D1A8E9

Accessibility & contrast

On white

4.94
#9E46D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#9E46D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E46D1
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E46D1#FFFFFF#000000##FFFFFF
##9E46D11.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD5
Deuteranopia (green-blind)
#3372CE
Tritanopia (blue-blind)
#976386
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9e46d1;
/* rgb */ color: rgb(158, 70, 209);
/* oklch */ color: oklch(57.2% 0.210 310.5);
Tailwind
colors: {
  custom: {
    50: '#bf80e0',
    500: '#9e46d1',
    950: '#000000',
  },
}
SCSS
$custom: #9e46d1;
$custom-light: #bf80e0;
$custom-dark: #000000;
JSON
{
  "hex": "#9e46d1",
  "rgb": {
    "r": 158,
    "g": 70,
    "b": 209
  },
  "hsl": {
    "h": 277.986,
    "s": 60.173,
    "l": 54.706
  },
  "oklch": {
    "l": 0.57155,
    "c": 0.21024,
    "h": 310.5
  },
  "luminance": 0.16253
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9E46D1

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

Preview Lab → · Contrast checker → · Palette generator →

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