#9E49E1#9E49E1

#9E49E1 is a mid, highly saturated violet. Relative luminance 0.175; OKLCH L 58.6% C 0.223 H 306.3°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#9E49E1
RGBrgb(158, 73, 225)
HSLhsl(274, 72%, 58%)
HSVhsv(274, 68%, 88%)
CMYKcmyk(29.8%, 67.6%, 0%, 11.8%)
CIE-LABlab(48.85, 61.18, -63.25)
CIE-LCHlch(48.85, 88.00, 314.05°)
OKLaboklab(58.6% 0.1317 -0.1794)
OKLCHoklch(58.6% 0.223 306.3)
XYZxyz(30.0708, 17.4707, 73.0076)
Luminance0.1747 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E49E1 #8CE149
analogous
#5249E1 #9E49E1 #E149D8
triadic
#9E49E1 #E19E49 #49E19E
tetradic
#9E49E1 #E15249 #8CE149 #49D8E1
square
#9E49E1 #E15249 #8CE149 #49D8E1
split-complementary
#9E49E1 #D8E149 #49E152
monochromatic
#5F1997 #8022CB #9E49E1 #BA7EEA #D6B2F2

Accessibility & contrast

On white

4.67
#9E49E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#9E49E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E49E1
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E49E1#FFFFFF#000000##FFFFFF
##9E49E11.004.674.494.67
#FFFFFF4.671.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E6
Deuteranopia (green-blind)
#1C75DE
Tritanopia (blue-blind)
#926B8F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9e49e1;
/* rgb */ color: rgb(158, 73, 225);
/* oklch */ color: oklch(58.6% 0.223 306.3);
Tailwind
colors: {
  custom: {
    50: '#c082eb',
    500: '#9e49e1',
    950: '#000000',
  },
}
SCSS
$custom: #9e49e1;
$custom-light: #c082eb;
$custom-dark: #000000;
JSON
{
  "hex": "#9e49e1",
  "rgb": {
    "r": 158,
    "g": 73,
    "b": 225
  },
  "hsl": {
    "h": 273.553,
    "s": 71.698,
    "l": 58.431
  },
  "oklch": {
    "l": 0.58596,
    "c": 0.22257,
    "h": 306.3
  },
  "luminance": 0.1747
}

Semantic roles & 50–950 ramp

primary
#9E49E1
secondary
#BFE1A5
accent
#EE3989
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9E49E1

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

Preview Lab → · Contrast checker → · Palette generator →

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