#9A4ACA#9A4ACA

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

Color values

HEX#9A4ACA
RGBrgb(154, 74, 202)
HSLhsl(278, 55%, 54%)
HSVhsv(278, 63%, 79%)
CMYKcmyk(23.8%, 63.4%, 0%, 20.8%)
CIE-LABlab(47.02, 54.75, -53.07)
CIE-LCHlch(47.02, 76.25, 315.89°)
OKLaboklab(56.69% 0.1273 -0.1496)
OKLCHoklch(56.69% 0.196 310.4)
XYZxyz(26.4338, 16.0324, 57.5677)
Luminance0.1603 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A4ACA #7ACA4A
analogous
#5A4ACA #9A4ACA #CA4ABA
triadic
#9A4ACA #CA9A4A #4ACA9A
tetradic
#9A4ACA #CA5A4A #7ACA4A #4ABACA
square
#9A4ACA #CA5A4A #7ACA4A #4ABACA
split-complementary
#9A4ACA #BACA4A #4ACA5A
monochromatic
#572377 #7A31A6 #9A4ACA #B479D8 #CFA9E6

Accessibility & contrast

On white

4.99
#9A4ACA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#9A4ACA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A4ACA
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A4ACA#FFFFFF#000000##FFFFFF
##9A4ACA1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#016CCE
Deuteranopia (green-blind)
#3A71C7
Tritanopia (blue-blind)
#946383
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9a4aca;
/* rgb */ color: rgb(154, 74, 202);
/* oklch */ color: oklch(56.7% 0.196 310.4);
Tailwind
colors: {
  custom: {
    50: '#bb81db',
    500: '#9a4aca',
    950: '#000000',
  },
}
SCSS
$custom: #9a4aca;
$custom-light: #bb81db;
$custom-dark: #000000;
JSON
{
  "hex": "#9a4aca",
  "rgb": {
    "r": 154,
    "g": 74,
    "b": 202
  },
  "hsl": {
    "h": 277.5,
    "s": 54.701,
    "l": 54.118
  },
  "oklch": {
    "l": 0.56695,
    "c": 0.19648,
    "h": 310.4
  },
  "luminance": 0.16032
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9A4ACA

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

Preview Lab → · Contrast checker → · Palette generator →

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