#9A49CA#9A49CA

#9A49CA is a mid, vivid violet. Relative luminance 0.159; OKLCH L 56.6% C 0.198 H 310.5°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#9A49CA
RGBrgb(154, 73, 202)
HSLhsl(278, 55%, 54%)
HSVhsv(278, 64%, 79%)
CMYKcmyk(23.8%, 63.9%, 0%, 20.8%)
CIE-LABlab(46.84, 55.22, -53.35)
CIE-LCHlch(46.84, 76.79, 315.99°)
OKLaboklab(56.57% 0.1285 -0.1505)
OKLCHoklch(56.57% 0.198 310.5)
XYZxyz(26.3676, 15.8999, 57.5456)
Luminance0.1590 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A49CA #79CA49
analogous
#5A49CA #9A49CA #CA49BA
triadic
#9A49CA #CA9A49 #49CA9A
tetradic
#9A49CA #CA5A49 #79CA49 #49BACA
square
#9A49CA #CA5A49 #79CA49 #49BACA
split-complementary
#9A49CA #BACA49 #49CA5A
monochromatic
#572276 #7A30A6 #9A49CA #B478D8 #CFA8E6

Accessibility & contrast

On white

5.02
#9A49CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#9A49CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A49CA
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A49CA#FFFFFF#000000##FFFFFF
##9A49CA1.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BCE
Deuteranopia (green-blind)
#3970C7
Tritanopia (blue-blind)
#946383
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9a49ca;
/* rgb */ color: rgb(154, 73, 202);
/* oklch */ color: oklch(56.6% 0.198 310.5);
Tailwind
colors: {
  custom: {
    50: '#bb81db',
    500: '#9a49ca',
    950: '#000000',
  },
}
SCSS
$custom: #9a49ca;
$custom-light: #bb81db;
$custom-dark: #000000;
JSON
{
  "hex": "#9a49ca",
  "rgb": {
    "r": 154,
    "g": 73,
    "b": 202
  },
  "hsl": {
    "h": 277.674,
    "s": 54.894,
    "l": 53.922
  },
  "oklch": {
    "l": 0.56569,
    "c": 0.19785,
    "h": 310.5
  },
  "luminance": 0.15899
}

Semantic roles & 50–950 ramp

primary
#9A49CA
secondary
#B0D39C
accent
#DE4A81
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9A49CA

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

Preview Lab → · Contrast checker → · Palette generator →

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