#9A49C8#9A49C8

#9A49C8 is a mid, vivid violet. Relative luminance 0.158; OKLCH L 56.4% C 0.196 H 311.0°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#9A49C8
RGBrgb(154, 73, 200)
HSLhsl(278, 54%, 54%)
HSVhsv(278, 64%, 78%)
CMYKcmyk(23%, 63.5%, 0%, 21.6%)
CIE-LABlab(46.72, 54.79, -52.40)
CIE-LCHlch(46.72, 75.81, 316.28°)
OKLaboklab(56.44% 0.1286 -0.1477)
OKLCHoklch(56.44% 0.196 311)
XYZxyz(26.1323, 15.8058, 56.3066)
Luminance0.1580 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A49C8 #77C849
analogous
#5A49C8 #9A49C8 #C849B6
triadic
#9A49C8 #C89A49 #49C89A
tetradic
#9A49C8 #C85A49 #77C849 #49B6C8
square
#9A49C8 #C85A49 #77C849 #49B6C8
split-complementary
#9A49C8 #B6C849 #49C85A
monochromatic
#562374 #7A31A3 #9A49C8 #B478D6 #CEA7E4

Accessibility & contrast

On white

5.05
#9A49C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#9A49C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A49C8
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A49C8#FFFFFF#000000##FFFFFF
##9A49C81.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#036BCC
Deuteranopia (green-blind)
#3B70C5
Tritanopia (blue-blind)
#946282
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9a49c8;
/* rgb */ color: rgb(154, 73, 200);
/* oklch */ color: oklch(56.4% 0.196 311.0);
Tailwind
colors: {
  custom: {
    50: '#bb81d9',
    500: '#9a49c8',
    950: '#000000',
  },
}
SCSS
$custom: #9a49c8;
$custom-light: #bb81d9;
$custom-dark: #000000;
JSON
{
  "hex": "#9a49c8",
  "rgb": {
    "r": 154,
    "g": 73,
    "b": 200
  },
  "hsl": {
    "h": 278.268,
    "s": 53.586,
    "l": 53.529
  },
  "oklch": {
    "l": 0.5644,
    "c": 0.19579,
    "h": 311
  },
  "luminance": 0.15805
}

Semantic roles & 50–950 ramp

primary
#9A49C8
secondary
#AFD29B
accent
#DD4B80
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9A49C8

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

Preview Lab → · Contrast checker → · Palette generator →

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