#9E49CF#9E49CF

#9E49CF is a mid, highly saturated violet. Relative luminance 0.165; OKLCH L 57.4% C 0.204 H 310.7°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#9E49CF
RGBrgb(158, 73, 207)
HSLhsl(278, 58%, 55%)
HSVhsv(278, 65%, 81%)
CMYKcmyk(23.7%, 64.7%, 0%, 18.8%)
CIE-LABlab(47.67, 57.21, -54.87)
CIE-LCHlch(47.67, 79.27, 316.20°)
OKLaboklab(57.38% 0.1333 -0.1548)
OKLCHoklch(57.38% 0.204 310.7)
XYZxyz(27.7434, 16.5398, 60.7504)
Luminance0.1654 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E49CF #7ACF49
analogous
#5B49CF #9E49CF #CF49BD
triadic
#9E49CF #CF9E49 #49CF9E
tetradic
#9E49CF #CF5B49 #7ACF49 #49BDCF
square
#9E49CF #CF5B49 #7ACF49 #49BDCF
split-complementary
#9E49CF #BDCF49 #49CF5B
monochromatic
#5B217D #7F2EAD #9E49CF #B879DC #D2AAE9

Accessibility & contrast

On white

4.87
#9E49CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#9E49CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E49CF
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E49CF#FFFFFF#000000##FFFFFF
##9E49CF1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD3
Deuteranopia (green-blind)
#3973CC
Tritanopia (blue-blind)
#986486
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9e49cf;
/* rgb */ color: rgb(158, 73, 207);
/* oklch */ color: oklch(57.4% 0.204 310.7);
Tailwind
colors: {
  custom: {
    50: '#be81de',
    500: '#9e49cf',
    950: '#000000',
  },
}
SCSS
$custom: #9e49cf;
$custom-light: #be81de;
$custom-dark: #000000;
JSON
{
  "hex": "#9e49cf",
  "rgb": {
    "r": 158,
    "g": 73,
    "b": 207
  },
  "hsl": {
    "h": 278.06,
    "s": 58.261,
    "l": 54.902
  },
  "oklch": {
    "l": 0.5738,
    "c": 0.20428,
    "h": 310.7
  },
  "luminance": 0.16539
}

Semantic roles & 50–950 ramp

primary
#9E49CF
secondary
#B2D69E
accent
#E1467F
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #9E49CF

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

Preview Lab → · Contrast checker → · Palette generator →

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