#9E49D2#9E49D2

#9E49D2 is a mid, highly saturated violet. Relative luminance 0.167; OKLCH L 57.6% C 0.207 H 309.9°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#9E49D2
RGBrgb(158, 73, 210)
HSLhsl(277, 60%, 55%)
HSVhsv(277, 65%, 82%)
CMYKcmyk(24.8%, 65.2%, 0%, 17.6%)
CIE-LABlab(47.86, 57.87, -56.28)
CIE-LCHlch(47.86, 80.72, 315.79°)
OKLaboklab(57.58% 0.1331 -0.1589)
OKLCHoklch(57.58% 0.207 309.9)
XYZxyz(28.1137, 16.6879, 62.7004)
Luminance0.1669 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E49D2 #7DD249
analogous
#5949D2 #9E49D2 #D249C1
triadic
#9E49D2 #D29E49 #49D29E
tetradic
#9E49D2 #D25949 #7DD249 #49C1D2
square
#9E49D2 #D25949 #7DD249 #49C1D2
split-complementary
#9E49D2 #C1D249 #49D259
monochromatic
#5C2081 #7F2CB2 #9E49D2 #B87ADE #D2ABEA

Accessibility & contrast

On white

4.84
#9E49D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#9E49D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E49D2
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E49D2#FFFFFF#000000##FFFFFF
##9E49D21.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED6
Deuteranopia (green-blind)
#3573CF
Tritanopia (blue-blind)
#976587
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9e49d2;
/* rgb */ color: rgb(158, 73, 210);
/* oklch */ color: oklch(57.6% 0.207 309.9);
Tailwind
colors: {
  custom: {
    50: '#bf81e0',
    500: '#9e49d2',
    950: '#000000',
  },
}
SCSS
$custom: #9e49d2;
$custom-light: #bf81e0;
$custom-dark: #000000;
JSON
{
  "hex": "#9e49d2",
  "rgb": {
    "r": 158,
    "g": 73,
    "b": 210
  },
  "hsl": {
    "h": 277.226,
    "s": 60.352,
    "l": 55.49
  },
  "oklch": {
    "l": 0.57577,
    "c": 0.20732,
    "h": 309.9
  },
  "luminance": 0.16687
}

Semantic roles & 50–950 ramp

primary
#9E49D2
secondary
#B5D89F
accent
#E34481
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #9E49D2

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

Preview Lab → · Contrast checker → · Palette generator →

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