#9A3CB2#9A3CB2

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

Color values

HEX#9A3CB2
RGBrgb(154, 60, 178)
HSLhsl(288, 50%, 47%)
HSVhsv(288, 66%, 70%)
CMYKcmyk(13.5%, 66.3%, 0%, 30.2%)
CIE-LABlab(43.24, 56.14, -45.14)
CIE-LCHlch(43.24, 72.04, 321.20°)
OKLaboklab(53.5% 0.1444 -0.1263)
OKLCHoklch(53.5% 0.192 318.8)
XYZxyz(22.9771, 13.3171, 43.4710)
Luminance0.1332 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A3CB2 #54B23C
analogous
#5F3CB2 #9A3CB2 #B23C8F
triadic
#9A3CB2 #B29A3C #3CB29A
tetradic
#9A3CB2 #B25F3C #54B23C #3C8FB2
square
#9A3CB2 #B25F3C #54B23C #3C8FB2
split-complementary
#9A3CB2 #8FB23C #3CB25F
monochromatic
#4B1D56 #722D84 #9A3CB2 #B561CA #CA8FD9

Accessibility & contrast

On white

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

On black

3.66
#9A3CB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9A3CB2#FFFFFF#000000##FFFFFF
##9A3CB21.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1160B5
Deuteranopia (green-blind)
#4369AF
Tritanopia (blue-blind)
#9A5172
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9a3cb2;
/* rgb */ color: rgb(154, 60, 178);
/* oklch */ color: oklch(53.5% 0.192 318.8);
Tailwind
colors: {
  custom: {
    50: '#bb79c9',
    500: '#9a3cb2',
    950: '#000000',
  },
}
SCSS
$custom: #9a3cb2;
$custom-light: #bb79c9;
$custom-dark: #000000;
JSON
{
  "hex": "#9a3cb2",
  "rgb": {
    "r": 154,
    "g": 60,
    "b": 178
  },
  "hsl": {
    "h": 287.797,
    "s": 49.58,
    "l": 46.667
  },
  "oklch": {
    "l": 0.535,
    "c": 0.19188,
    "h": 318.8
  },
  "luminance": 0.13316
}

Semantic roles & 50–950 ramp

primary
#9A3CB2
secondary
#92C486
accent
#D94F6B
background
#FBF7FC
surface
#F7EEF8
border
#D0C9D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9A3CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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