#9A3BB5#9A3BB5

#9A3BB5 is a mid, vivid purple. Relative luminance 0.133; OKLCH L 53.6% C 0.196 H 317.9°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#9A3BB5
RGBrgb(154, 59, 181)
HSLhsl(287, 51%, 47%)
HSVhsv(287, 67%, 71%)
CMYKcmyk(14.9%, 67.4%, 0%, 29%)
CIE-LABlab(43.26, 57.16, -46.86)
CIE-LCHlch(43.26, 73.92, 320.66°)
OKLaboklab(53.58% 0.1455 -0.1314)
OKLCHoklch(53.58% 0.196 317.9)
XYZxyz(23.2297, 13.3351, 45.0574)
Luminance0.1333 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A3BB5 #56B53B
analogous
#5D3BB5 #9A3BB5 #B53B93
triadic
#9A3BB5 #B59A3B #3BB59A
tetradic
#9A3BB5 #B55D3B #56B53B #3B93B5
square
#9A3BB5 #B55D3B #56B53B #3B93B5
split-complementary
#9A3BB5 #93B53B #3BB55D
monochromatic
#4B1D59 #732C87 #9A3BB5 #B462CC #CA90DB

Accessibility & contrast

On white

5.73
#9A3BB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#9A3BB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A3BB5
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A3BB5#FFFFFF#000000##FFFFFF
##9A3BB51.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0260B9
Deuteranopia (green-blind)
#4069B2
Tritanopia (blue-blind)
#995273
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9a3bb5;
/* rgb */ color: rgb(154, 59, 181);
/* oklch */ color: oklch(53.6% 0.196 317.9);
Tailwind
colors: {
  custom: {
    50: '#bb78cc',
    500: '#9a3bb5',
    950: '#000000',
  },
}
SCSS
$custom: #9a3bb5;
$custom-light: #bb78cc;
$custom-dark: #000000;
JSON
{
  "hex": "#9a3bb5",
  "rgb": {
    "r": 154,
    "g": 59,
    "b": 181
  },
  "hsl": {
    "h": 286.721,
    "s": 50.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.53577,
    "c": 0.196,
    "h": 317.9
  },
  "luminance": 0.13334
}

Semantic roles & 50–950 ramp

primary
#9A3BB5
secondary
#94C686
accent
#DA4D6D
background
#FBF7FC
surface
#F7EEF9
border
#D0C9D2
text
#120913
muted
#817B82

Preview Lab

Preview with #9A3BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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