#9B4ACC#9B4ACC

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

Color values

HEX#9B4ACC
RGBrgb(155, 74, 204)
HSLhsl(277, 56%, 55%)
HSVhsv(277, 64%, 80%)
CMYKcmyk(24%, 63.7%, 0%, 20%)
CIE-LABlab(47.27, 55.41, -53.81)
CIE-LCHlch(47.27, 77.24, 315.84°)
OKLaboklab(56.95% 0.1285 -0.1518)
OKLCHoklch(56.95% 0.199 310.2)
XYZxyz(26.8633, 16.2263, 58.8319)
Luminance0.1623 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B4ACC #7BCC4A
analogous
#5A4ACC #9B4ACC #CC4ABC
triadic
#9B4ACC #CC9B4A #4ACC9B
tetradic
#9B4ACC #CC5A4A #7BCC4A #4ABCCC
square
#9B4ACC #CC5A4A #7BCC4A #4ABCCC
split-complementary
#9B4ACC #BCCC4A #4ACC5A
monochromatic
#592279 #7B30A9 #9B4ACC #B57AD9 #D0A9E7

Accessibility & contrast

On white

4.95
#9B4ACC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#9B4ACC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B4ACC
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B4ACC#FFFFFF#000000##FFFFFF
##9B4ACC1.004.954.254.95
#FFFFFF4.951.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD0
Deuteranopia (green-blind)
#3A71C9
Tritanopia (blue-blind)
#946484
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9b4acc;
/* rgb */ color: rgb(155, 74, 204);
/* oklch */ color: oklch(56.9% 0.199 310.2);
Tailwind
colors: {
  custom: {
    50: '#bc81dc',
    500: '#9b4acc',
    950: '#000000',
  },
}
SCSS
$custom: #9b4acc;
$custom-light: #bc81dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9b4acc",
  "rgb": {
    "r": 155,
    "g": 74,
    "b": 204
  },
  "hsl": {
    "h": 277.385,
    "s": 56.034,
    "l": 54.51
  },
  "oklch": {
    "l": 0.56945,
    "c": 0.19887,
    "h": 310.2
  },
  "luminance": 0.16226
}

Semantic roles & 50–950 ramp

primary
#9B4ACC
secondary
#B2D49D
accent
#DF4881
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9B4ACC

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

Preview Lab → · Contrast checker → · Palette generator →

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