#9A4AC8#9A4AC8

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

Color values

HEX#9A4AC8
RGBrgb(154, 74, 200)
HSLhsl(278, 53%, 54%)
HSVhsv(278, 63%, 78%)
CMYKcmyk(23%, 63%, 0%, 21.6%)
CIE-LABlab(46.89, 54.31, -52.12)
CIE-LCHlch(46.89, 75.27, 316.18°)
OKLaboklab(56.57% 0.1274 -0.1468)
OKLCHoklch(56.57% 0.194 310.9)
XYZxyz(26.1986, 15.9383, 56.3287)
Luminance0.1594 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A4AC8 #78C84A
analogous
#5B4AC8 #9A4AC8 #C84AB7
triadic
#9A4AC8 #C89A4A #4AC89A
tetradic
#9A4AC8 #C85B4A #78C84A #4AB7C8
square
#9A4AC8 #C85B4A #78C84A #4AB7C8
split-complementary
#9A4AC8 #B7C84A #4AC85B
monochromatic
#572374 #7A32A3 #9A4AC8 #B479D6 #CEA8E5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9A4AC8#FFFFFF#000000##FFFFFF
##9A4AC81.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)
#0A6BCC
Deuteranopia (green-blind)
#3D71C5
Tritanopia (blue-blind)
#946382
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9a4ac8;
/* rgb */ color: rgb(154, 74, 200);
/* oklch */ color: oklch(56.6% 0.194 310.9);
Tailwind
colors: {
  custom: {
    50: '#bb81d9',
    500: '#9a4ac8',
    950: '#000000',
  },
}
SCSS
$custom: #9a4ac8;
$custom-light: #bb81d9;
$custom-dark: #000000;
JSON
{
  "hex": "#9a4ac8",
  "rgb": {
    "r": 154,
    "g": 74,
    "b": 200
  },
  "hsl": {
    "h": 278.095,
    "s": 53.39,
    "l": 53.725
  },
  "oklch": {
    "l": 0.56566,
    "c": 0.1944,
    "h": 310.9
  },
  "luminance": 0.15938
}

Semantic roles & 50–950 ramp

primary
#9A4AC8
secondary
#B0D29C
accent
#DD4B80
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9A4AC8

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

Preview Lab → · Contrast checker → · Palette generator →

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