#9A49CC#9A49CC

#9A49CC is a mid, vivid violet. Relative luminance 0.160; OKLCH L 56.7% C 0.200 H 310.0°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#9A49CC
RGBrgb(154, 73, 204)
HSLhsl(277, 56%, 54%)
HSVhsv(277, 64%, 80%)
CMYKcmyk(24.5%, 64.2%, 0%, 20%)
CIE-LABlab(46.97, 55.66, -54.30)
CIE-LCHlch(46.97, 77.76, 315.71°)
OKLaboklab(56.7% 0.1284 -0.1532)
OKLCHoklch(56.7% 0.2 310)
XYZxyz(26.6059, 15.9953, 58.8008)
Luminance0.1600 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A49CC #7BCC49
analogous
#5949CC #9A49CC #CC49BD
triadic
#9A49CC #CC9A49 #49CC9A
tetradic
#9A49CC #CC5949 #7BCC49 #49BDCC
square
#9A49CC #CC5949 #7BCC49 #49BDCC
split-complementary
#9A49CC #BDCC49 #49CC59
monochromatic
#582279 #7A2FA9 #9A49CC #B579D9 #CFA9E7

Accessibility & contrast

On white

5.00
#9A49CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#9A49CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A49CC
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A49CC#FFFFFF#000000##FFFFFF
##9A49CC1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD0
Deuteranopia (green-blind)
#3771C9
Tritanopia (blue-blind)
#936384
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9a49cc;
/* rgb */ color: rgb(154, 73, 204);
/* oklch */ color: oklch(56.7% 0.200 310.0);
Tailwind
colors: {
  custom: {
    50: '#bc81dc',
    500: '#9a49cc',
    950: '#000000',
  },
}
SCSS
$custom: #9a49cc;
$custom-light: #bc81dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9a49cc",
  "rgb": {
    "r": 154,
    "g": 73,
    "b": 204
  },
  "hsl": {
    "h": 277.099,
    "s": 56.223,
    "l": 54.314
  },
  "oklch": {
    "l": 0.567,
    "c": 0.19992,
    "h": 310
  },
  "luminance": 0.15995
}

Semantic roles & 50–950 ramp

primary
#9A49CC
secondary
#B2D49D
accent
#E04882
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9A49CC

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

Preview Lab → · Contrast checker → · Palette generator →

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