#9B4AC2#9B4AC2

#9B4AC2 is a mid, vivid purple. Relative luminance 0.158; OKLCH L 56.3% C 0.189 H 313.1°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#9B4AC2
RGBrgb(155, 74, 194)
HSLhsl(281, 50%, 53%)
HSVhsv(281, 62%, 76%)
CMYKcmyk(20.1%, 61.9%, 0%, 23.9%)
CIE-LABlab(46.66, 53.24, -49.01)
CIE-LCHlch(46.66, 72.37, 317.37°)
OKLaboklab(56.31% 0.1288 -0.1377)
OKLCHoklch(56.31% 0.189 313.1)
XYZxyz(25.7023, 15.7619, 52.7169)
Luminance0.1576 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B4AC2 #71C24A
analogous
#5F4AC2 #9B4AC2 #C24AAD
triadic
#9B4AC2 #C29B4A #4AC29B
tetradic
#9B4AC2 #C25F4A #71C24A #4AADC2
square
#9B4AC2 #C25F4A #71C24A #4AADC2
split-complementary
#9B4AC2 #ADC24A #4AC25F
monochromatic
#55256D #79349B #9B4AC2 #B478D1 #CEA6E1

Accessibility & contrast

On white

5.06
#9B4AC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#9B4AC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B4AC2
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B4AC2#FFFFFF#000000##FFFFFF
##9B4AC21.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C6AC6
Deuteranopia (green-blind)
#4370BF
Tritanopia (blue-blind)
#97607F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9b4ac2;
/* rgb */ color: rgb(155, 74, 194);
/* oklch */ color: oklch(56.3% 0.189 313.1);
Tailwind
colors: {
  custom: {
    50: '#bc81d5',
    500: '#9b4ac2',
    950: '#000000',
  },
}
SCSS
$custom: #9b4ac2;
$custom-light: #bc81d5;
$custom-dark: #000000;
JSON
{
  "hex": "#9b4ac2",
  "rgb": {
    "r": 155,
    "g": 74,
    "b": 194
  },
  "hsl": {
    "h": 280.5,
    "s": 49.587,
    "l": 52.549
  },
  "oklch": {
    "l": 0.56309,
    "c": 0.18856,
    "h": 313.1
  },
  "luminance": 0.15761
}

Semantic roles & 50–950 ramp

primary
#9B4AC2
secondary
#ABCE9A
accent
#D94F7C
background
#FBF8FD
surface
#F7EFFA
border
#D0CAD3
text
#120B14
muted
#817C83

Preview Lab

Preview with #9B4AC2

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

Preview Lab → · Contrast checker → · Palette generator →

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