#9E49CD#9E49CD

#9E49CD is a mid, highly saturated violet. Relative luminance 0.164; OKLCH L 57.3% C 0.202 H 311.3°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#9E49CD
RGBrgb(158, 73, 205)
HSLhsl(279, 57%, 55%)
HSVhsv(279, 64%, 80%)
CMYKcmyk(22.9%, 64.4%, 0%, 19.6%)
CIE-LABlab(47.55, 56.78, -53.92)
CIE-LCHlch(47.55, 78.30, 316.48°)
OKLaboklab(57.25% 0.1334 -0.152)
OKLCHoklch(57.25% 0.202 311.3)
XYZxyz(27.5005, 16.4426, 59.4708)
Luminance0.1644 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E49CD #78CD49
analogous
#5C49CD #9E49CD #CD49BA
triadic
#9E49CD #CD9E49 #49CD9E
tetradic
#9E49CD #CD5C49 #78CD49 #49BACD
square
#9E49CD #CD5C49 #78CD49 #49BACD
split-complementary
#9E49CD #BACD49 #49CD5C
monochromatic
#5B227A #7E2FAA #9E49CD #B879DA #D1A9E7

Accessibility & contrast

On white

4.90
#9E49CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#9E49CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E49CD
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E49CD#FFFFFF#000000##FFFFFF
##9E49CD1.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD1
Deuteranopia (green-blind)
#3B72CA
Tritanopia (blue-blind)
#986385
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9e49cd;
/* rgb */ color: rgb(158, 73, 205);
/* oklch */ color: oklch(57.3% 0.202 311.3);
Tailwind
colors: {
  custom: {
    50: '#be81dd',
    500: '#9e49cd',
    950: '#000000',
  },
}
SCSS
$custom: #9e49cd;
$custom-light: #be81dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9e49cd",
  "rgb": {
    "r": 158,
    "g": 73,
    "b": 205
  },
  "hsl": {
    "h": 278.636,
    "s": 56.897,
    "l": 54.51
  },
  "oklch": {
    "l": 0.5725,
    "c": 0.20224,
    "h": 311.3
  },
  "luminance": 0.16442
}

Semantic roles & 50–950 ramp

primary
#9E49CD
secondary
#B1D59D
accent
#E0487E
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #9E49CD

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

Preview Lab → · Contrast checker → · Palette generator →

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