#9A3BB2#9A3BB2

#9A3BB2 is a mid, vivid purple. Relative luminance 0.132; OKLCH L 53.4% C 0.193 H 318.9°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#9A3BB2
RGBrgb(154, 59, 178)
HSLhsl(288, 50%, 46%)
HSVhsv(288, 67%, 70%)
CMYKcmyk(13.5%, 66.9%, 0%, 30.2%)
CIE-LABlab(43.08, 56.57, -45.38)
CIE-LCHlch(43.08, 72.53, 321.26°)
OKLaboklab(53.39% 0.1456 -0.127)
OKLCHoklch(53.39% 0.193 318.9)
XYZxyz(22.9252, 13.2133, 43.4537)
Luminance0.1321 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A3BB2 #53B23B
analogous
#5F3BB2 #9A3BB2 #B23B8F
triadic
#9A3BB2 #B29A3B #3BB29A
tetradic
#9A3BB2 #B25F3B #53B23B #3B8FB2
square
#9A3BB2 #B25F3B #53B23B #3B8FB2
split-complementary
#9A3BB2 #8FB23B #3BB25F
monochromatic
#4A1D56 #722C84 #9A3BB2 #B560CA #CA8EDA

Accessibility & contrast

On white

5.77
#9A3BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#9A3BB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A3BB2
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A3BB2#FFFFFF#000000##FFFFFF
##9A3BB21.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D5FB6
Deuteranopia (green-blind)
#4269AF
Tritanopia (blue-blind)
#9A5072
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9a3bb2;
/* rgb */ color: rgb(154, 59, 178);
/* oklch */ color: oklch(53.4% 0.193 318.9);
Tailwind
colors: {
  custom: {
    50: '#bb78c9',
    500: '#9a3bb2',
    950: '#000000',
  },
}
SCSS
$custom: #9a3bb2;
$custom-light: #bb78c9;
$custom-dark: #000000;
JSON
{
  "hex": "#9a3bb2",
  "rgb": {
    "r": 154,
    "g": 59,
    "b": 178
  },
  "hsl": {
    "h": 287.899,
    "s": 50.211,
    "l": 46.471
  },
  "oklch": {
    "l": 0.53389,
    "c": 0.19321,
    "h": 318.9
  },
  "luminance": 0.13212
}

Semantic roles & 50–950 ramp

primary
#9A3BB2
secondary
#91C485
accent
#DA4E6A
background
#FBF7FC
surface
#F7EEF8
border
#D0C9D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9A3BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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