#9A3BB7#9A3BB7

#9A3BB7 is a mid, vivid purple. Relative luminance 0.134; OKLCH L 53.7% C 0.198 H 317.3°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#9A3BB7
RGBrgb(154, 59, 183)
HSLhsl(286, 51%, 47%)
HSVhsv(286, 68%, 72%)
CMYKcmyk(15.8%, 67.8%, 0%, 28.2%)
CIE-LABlab(43.39, 57.56, -47.84)
CIE-LCHlch(43.39, 74.85, 320.27°)
OKLaboklab(53.7% 0.1454 -0.1342)
OKLCHoklch(53.7% 0.198 317.3)
XYZxyz(23.4364, 13.4178, 46.1459)
Luminance0.1342 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A3BB7 #58B73B
analogous
#5C3BB7 #9A3BB7 #B73B96
triadic
#9A3BB7 #B79A3B #3BB79A
tetradic
#9A3BB7 #B75C3B #58B73B #3B96B7
square
#9A3BB7 #B75C3B #58B73B #3B96B7
split-complementary
#9A3BB7 #96B73B #3BB75C
monochromatic
#4C1D5A #732C89 #9A3BB7 #B463CD #CA91DC

Accessibility & contrast

On white

5.70
#9A3BB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#9A3BB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A3BB7
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A3BB7#FFFFFF#000000##FFFFFF
##9A3BB71.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BB
Deuteranopia (green-blind)
#3E69B4
Tritanopia (blue-blind)
#995274
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9a3bb7;
/* rgb */ color: rgb(154, 59, 183);
/* oklch */ color: oklch(53.7% 0.198 317.3);
Tailwind
colors: {
  custom: {
    50: '#bb78cd',
    500: '#9a3bb7',
    950: '#000000',
  },
}
SCSS
$custom: #9a3bb7;
$custom-light: #bb78cd;
$custom-dark: #000000;
JSON
{
  "hex": "#9a3bb7",
  "rgb": {
    "r": 154,
    "g": 59,
    "b": 183
  },
  "hsl": {
    "h": 285.968,
    "s": 51.24,
    "l": 47.451
  },
  "oklch": {
    "l": 0.53704,
    "c": 0.19786,
    "h": 317.3
  },
  "luminance": 0.13417
}

Semantic roles & 50–950 ramp

primary
#9A3BB7
secondary
#96C687
accent
#DB4D6E
background
#FBF7FC
surface
#F7EEF9
border
#D0C9D2
text
#120913
muted
#817B82

Preview Lab

Preview with #9A3BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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