#9B4AC8#9B4AC8

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

Color values

HEX#9B4AC8
RGBrgb(155, 74, 200)
HSLhsl(279, 53%, 54%)
HSVhsv(279, 63%, 78%)
CMYKcmyk(22.5%, 63%, 0%, 21.6%)
CIE-LABlab(47.02, 54.54, -51.90)
CIE-LCHlch(47.02, 75.29, 316.42°)
OKLaboklab(56.69% 0.1287 -0.1462)
OKLCHoklch(56.69% 0.195 311.4)
XYZxyz(26.3898, 16.0369, 56.3376)
Luminance0.1604 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B4AC8 #77C84A
analogous
#5C4AC8 #9B4AC8 #C84AB6
triadic
#9B4AC8 #C89B4A #4AC89B
tetradic
#9B4AC8 #C85C4A #77C84A #4AB6C8
square
#9B4AC8 #C85C4A #77C84A #4AB6C8
split-complementary
#9B4AC8 #B6C84A #4AC85C
monochromatic
#572374 #7B32A3 #9B4AC8 #B579D6 #CFA8E5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9B4AC8#FFFFFF#000000##FFFFFF
##9B4AC81.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)
#0C6CCC
Deuteranopia (green-blind)
#3E71C5
Tritanopia (blue-blind)
#966282
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9b4ac8;
/* rgb */ color: rgb(155, 74, 200);
/* oklch */ color: oklch(56.7% 0.195 311.4);
Tailwind
colors: {
  custom: {
    50: '#bc81d9',
    500: '#9b4ac8',
    950: '#000000',
  },
}
SCSS
$custom: #9b4ac8;
$custom-light: #bc81d9;
$custom-dark: #000000;
JSON
{
  "hex": "#9b4ac8",
  "rgb": {
    "r": 155,
    "g": 74,
    "b": 200
  },
  "hsl": {
    "h": 278.571,
    "s": 53.39,
    "l": 53.725
  },
  "oklch": {
    "l": 0.56688,
    "c": 0.19474,
    "h": 311.4
  },
  "luminance": 0.16036
}

Semantic roles & 50–950 ramp

primary
#9B4AC8
secondary
#AFD29C
accent
#DD4B7F
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9B4AC8

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

Preview Lab → · Contrast checker → · Palette generator →

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