#9B4DAF#9B4DAF

#9B4DAF is a mid, vivid purple. Relative luminance 0.154; OKLCH L 55.6% C 0.165 H 319.1°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#9B4DAF
RGBrgb(155, 77, 175)
HSLhsl(288, 39%, 49%)
HSVhsv(288, 56%, 69%)
CMYKcmyk(11.4%, 56%, 0%, 31.4%)
CIE-LABlab(46.14, 47.78, -38.75)
CIE-LCHlch(46.14, 61.52, 320.96°)
OKLaboklab(55.58% 0.1243 -0.1078)
OKLCHoklch(55.58% 0.165 319.1)
XYZxyz(23.9083, 15.3724, 42.2569)
Luminance0.1537 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B4DAF #61AF4D
analogous
#6A4DAF #9B4DAF #AF4D92
triadic
#9B4DAF #AF9B4D #4DAF9B
tetradic
#9B4DAF #AF6A4D #61AF4D #4D92AF
square
#9B4DAF #AF6A4D #61AF4D #4D92AF
split-complementary
#9B4DAF #92AF4D #4DAF6A
monochromatic
#50285A #753A85 #9B4DAF #B376C3 #CBA1D6

Accessibility & contrast

On white

5.15
#9B4DAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#9B4DAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B4DAF
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B4DAF#FFFFFF#000000##FFFFFF
##9B4DAF1.005.154.075.15
#FFFFFF5.151.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3868B2
Deuteranopia (green-blind)
#5370AC
Tritanopia (blue-blind)
#9B5C77
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9b4daf;
/* rgb */ color: rgb(155, 77, 175);
/* oklch */ color: oklch(55.6% 0.165 319.1);
Tailwind
colors: {
  custom: {
    50: '#bb82c7',
    500: '#9b4daf',
    950: '#000000',
  },
}
SCSS
$custom: #9b4daf;
$custom-light: #bb82c7;
$custom-dark: #000000;
JSON
{
  "hex": "#9b4daf",
  "rgb": {
    "r": 155,
    "g": 77,
    "b": 175
  },
  "hsl": {
    "h": 287.755,
    "s": 38.889,
    "l": 49.412
  },
  "oklch": {
    "l": 0.55584,
    "c": 0.16452,
    "h": 319.1
  },
  "luminance": 0.15371
}

Semantic roles & 50–950 ramp

primary
#9B4DAF
secondary
#9FC395
accent
#CF5971
background
#FBF8FC
surface
#F7EFF8
border
#D0CAD1
text
#120B13
muted
#817C82

Preview Lab

Preview with #9B4DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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