#9E46E1#9E46E1

#9E46E1 is a mid, highly saturated violet. Relative luminance 0.171; OKLCH L 58.3% C 0.226 H 306.6°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#9E46E1
RGBrgb(158, 70, 225)
HSLhsl(274, 72%, 58%)
HSVhsv(274, 69%, 88%)
CMYKcmyk(29.8%, 68.9%, 0%, 11.8%)
CIE-LABlab(48.37, 62.52, -64.02)
CIE-LCHlch(48.37, 89.49, 314.32°)
OKLaboklab(58.25% 0.1348 -0.1816)
OKLCHoklch(58.25% 0.226 306.6)
XYZxyz(29.8784, 17.0860, 72.9435)
Luminance0.1709 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E46E1 #89E146
analogous
#5146E1 #9E46E1 #E146D6
triadic
#9E46E1 #E19E46 #46E19E
tetradic
#9E46E1 #E15146 #89E146 #46D6E1
square
#9E46E1 #E15146 #89E146 #46D6E1
split-complementary
#9E46E1 #D6E146 #46E151
monochromatic
#5F1895 #8021C9 #9E46E1 #BA7BEA #D5AFF2

Accessibility & contrast

On white

4.75
#9E46E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#9E46E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E46E1
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E46E1#FFFFFF#000000##FFFFFF
##9E46E11.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E6
Deuteranopia (green-blind)
#1373DE
Tritanopia (blue-blind)
#93698F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9e46e1;
/* rgb */ color: rgb(158, 70, 225);
/* oklch */ color: oklch(58.3% 0.226 306.6);
Tailwind
colors: {
  custom: {
    50: '#c080eb',
    500: '#9e46e1',
    950: '#000000',
  },
}
SCSS
$custom: #9e46e1;
$custom-light: #c080eb;
$custom-dark: #000000;
JSON
{
  "hex": "#9e46e1",
  "rgb": {
    "r": 158,
    "g": 70,
    "b": 225
  },
  "hsl": {
    "h": 274.065,
    "s": 72.093,
    "l": 57.843
  },
  "oklch": {
    "l": 0.58253,
    "c": 0.22622,
    "h": 306.6
  },
  "luminance": 0.17086
}

Semantic roles & 50–950 ramp

primary
#9E46E1
secondary
#BDE0A2
accent
#EF3988
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9E46E1

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

Preview Lab → · Contrast checker → · Palette generator →

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