#9A4ADD#9A4ADD

#9A4ADD is a mid, highly saturated violet. Relative luminance 0.170; OKLCH L 58.0% C 0.216 H 305.6°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#9A4ADD
RGBrgb(154, 74, 221)
HSLhsl(273, 68%, 58%)
HSVhsv(273, 67%, 87%)
CMYKcmyk(30.3%, 66.5%, 0%, 13.3%)
CIE-LABlab(48.25, 59.00, -61.97)
CIE-LCHlch(48.25, 85.57, 313.59°)
OKLaboklab(57.97% 0.1259 -0.1758)
OKLCHoklch(57.97% 0.216 305.6)
XYZxyz(28.8235, 16.9883, 70.1532)
Luminance0.1699 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A4ADD #8DDD4A
analogous
#504ADD #9A4ADD #DD4AD6
triadic
#9A4ADD #DD9A4A #4ADD9A
tetradic
#9A4ADD #DD504A #8DDD4A #4AD6DD
square
#9A4ADD #DD504A #8DDD4A #4AD6DD
split-complementary
#9A4ADD #D6DD4A #4ADD50
monochromatic
#5C1B91 #7C25C5 #9A4ADD #B77EE7 #D3B1F0

Accessibility & contrast

On white

4.78
#9A4ADD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#9A4ADD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A4ADD
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A4ADD#FFFFFF#000000##FFFFFF
##9A4ADD1.004.784.404.78
#FFFFFF4.781.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E1
Deuteranopia (green-blind)
#1E73DA
Tritanopia (blue-blind)
#8E6A8E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9a4add;
/* rgb */ color: rgb(154, 74, 221);
/* oklch */ color: oklch(58.0% 0.216 305.6);
Tailwind
colors: {
  custom: {
    50: '#bd82e8',
    500: '#9a4add',
    950: '#000000',
  },
}
SCSS
$custom: #9a4add;
$custom-light: #bd82e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9a4add",
  "rgb": {
    "r": 154,
    "g": 74,
    "b": 221
  },
  "hsl": {
    "h": 272.653,
    "s": 68.372,
    "l": 57.843
  },
  "oklch": {
    "l": 0.57971,
    "c": 0.21622,
    "h": 305.6
  },
  "luminance": 0.16988
}

Semantic roles & 50–950 ramp

primary
#9A4ADD
secondary
#BFDFA4
accent
#EB3D8C
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9A4ADD

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

Preview Lab → · Contrast checker → · Palette generator →

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