#9B3EAE#9B3EAE

#9B3EAE is a mid, vivid purple. Relative luminance 0.135; OKLCH L 53.6% C 0.186 H 320.5°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#9B3EAE
RGBrgb(155, 62, 174)
HSLhsl(290, 47%, 46%)
HSVhsv(290, 64%, 68%)
CMYKcmyk(10.9%, 64.4%, 0%, 31.8%)
CIE-LABlab(43.46, 54.72, -42.40)
CIE-LCHlch(43.46, 69.23, 322.23°)
OKLaboklab(53.62% 0.1434 -0.1183)
OKLCHoklch(53.62% 0.186 320.5)
XYZxyz(22.8793, 13.4709, 41.4312)
Luminance0.1347 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B3EAE #51AE3E
analogous
#633EAE #9B3EAE #AE3E89
triadic
#9B3EAE #AE9B3E #3EAE9B
tetradic
#9B3EAE #AE633E #51AE3E #3E89AE
square
#9B3EAE #AE633E #51AE3E #3E89AE
split-complementary
#9B3EAE #89AE3E #3EAE63
monochromatic
#4B1E54 #732E81 #9B3EAE #B662C7 #CB8FD7

Accessibility & contrast

On white

5.68
#9B3EAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#9B3EAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B3EAE
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B3EAE#FFFFFF#000000##FFFFFF
##9B3EAE1.005.683.695.68
#FFFFFF5.681.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F60B1
Deuteranopia (green-blind)
#486AAB
Tritanopia (blue-blind)
#9C5170
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9b3eae;
/* rgb */ color: rgb(155, 62, 174);
/* oklch */ color: oklch(53.6% 0.186 320.5);
Tailwind
colors: {
  custom: {
    50: '#bc7ac7',
    500: '#9b3eae',
    950: '#000000',
  },
}
SCSS
$custom: #9b3eae;
$custom-light: #bc7ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#9b3eae",
  "rgb": {
    "r": 155,
    "g": 62,
    "b": 174
  },
  "hsl": {
    "h": 289.821,
    "s": 47.458,
    "l": 46.275
  },
  "oklch": {
    "l": 0.53618,
    "c": 0.18588,
    "h": 320.5
  },
  "luminance": 0.1347
}

Semantic roles & 50–950 ramp

primary
#9B3EAE
secondary
#90C286
accent
#D75168
background
#FBF7FC
surface
#F7EEF8
border
#D0C9D1
text
#120A13
muted
#817C82

Preview Lab

Preview with #9B3EAE

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

Preview Lab → · Contrast checker → · Palette generator →

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