#9A49E1#9A49E1

#9A49E1 is a mid, highly saturated violet. Relative luminance 0.171; OKLCH L 58.1% C 0.222 H 304.8°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#9A49E1
RGBrgb(154, 73, 225)
HSLhsl(272, 72%, 58%)
HSVhsv(272, 68%, 88%)
CMYKcmyk(31.6%, 67.6%, 0%, 11.8%)
CIE-LABlab(48.35, 60.38, -64.07)
CIE-LCHlch(48.35, 88.04, 313.30°)
OKLaboklab(58.13% 0.1265 -0.182)
OKLCHoklch(58.13% 0.222 304.8)
XYZxyz(29.2965, 17.0715, 72.9713)
Luminance0.1707 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A49E1 #90E149
analogous
#4E49E1 #9A49E1 #E149DC
triadic
#9A49E1 #E19A49 #49E19A
tetradic
#9A49E1 #E14E49 #90E149 #49DCE1
square
#9A49E1 #E14E49 #90E149 #49DCE1
split-complementary
#9A49E1 #DCE149 #49E14E
monochromatic
#5C1997 #7C22CB #9A49E1 #B77EEA #D4B2F2

Accessibility & contrast

On white

4.76
#9A49E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#9A49E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A49E1
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A49E1#FFFFFF#000000##FFFFFF
##9A49E11.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E6
Deuteranopia (green-blind)
#0E73DE
Tritanopia (blue-blind)
#8D6B8F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9a49e1;
/* rgb */ color: rgb(154, 73, 225);
/* oklch */ color: oklch(58.1% 0.222 304.8);
Tailwind
colors: {
  custom: {
    50: '#bd81eb',
    500: '#9a49e1',
    950: '#000000',
  },
}
SCSS
$custom: #9a49e1;
$custom-light: #bd81eb;
$custom-dark: #000000;
JSON
{
  "hex": "#9a49e1",
  "rgb": {
    "r": 154,
    "g": 73,
    "b": 225
  },
  "hsl": {
    "h": 271.974,
    "s": 71.698,
    "l": 58.431
  },
  "oklch": {
    "l": 0.58132,
    "c": 0.22162,
    "h": 304.8
  },
  "luminance": 0.17071
}

Semantic roles & 50–950 ramp

primary
#9A49E1
secondary
#C1E1A5
accent
#EE398E
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9A49E1

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

Preview Lab → · Contrast checker → · Palette generator →

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