#9A49CB#9A49CB

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

Color values

HEX#9A49CB
RGBrgb(154, 73, 203)
HSLhsl(277, 56%, 54%)
HSVhsv(277, 64%, 80%)
CMYKcmyk(24.1%, 64%, 0%, 20.4%)
CIE-LABlab(46.91, 55.44, -53.83)
CIE-LCHlch(46.91, 77.27, 315.85°)
OKLaboklab(56.64% 0.1284 -0.1519)
OKLCHoklch(56.64% 0.199 310.2)
XYZxyz(26.4864, 15.9475, 58.1712)
Luminance0.1595 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A49CB #7ACB49
analogous
#5949CB #9A49CB #CB49BB
triadic
#9A49CB #CB9A49 #49CB9A
tetradic
#9A49CB #CB5949 #7ACB49 #49BBCB
square
#9A49CB #CB5949 #7ACB49 #49BBCB
split-complementary
#9A49CB #BBCB49 #49CB59
monochromatic
#572277 #7A30A7 #9A49CB #B479D9 #CFA8E6

Accessibility & contrast

On white

5.01
#9A49CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#9A49CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A49CB
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A49CB#FFFFFF#000000##FFFFFF
##9A49CB1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CCF
Deuteranopia (green-blind)
#3871C8
Tritanopia (blue-blind)
#936384
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9a49cb;
/* rgb */ color: rgb(154, 73, 203);
/* oklch */ color: oklch(56.6% 0.199 310.2);
Tailwind
colors: {
  custom: {
    50: '#bb81db',
    500: '#9a49cb',
    950: '#000000',
  },
}
SCSS
$custom: #9a49cb;
$custom-light: #bb81db;
$custom-dark: #000000;
JSON
{
  "hex": "#9a49cb",
  "rgb": {
    "r": 154,
    "g": 73,
    "b": 203
  },
  "hsl": {
    "h": 277.385,
    "s": 55.556,
    "l": 54.118
  },
  "oklch": {
    "l": 0.56635,
    "c": 0.19889,
    "h": 310.2
  },
  "luminance": 0.15947
}

Semantic roles & 50–950 ramp

primary
#9A49CB
secondary
#B1D49C
accent
#DF4981
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9A49CB

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

Preview Lab → · Contrast checker → · Palette generator →

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