#9A3CB3#9A3CB3

#9A3CB3 is a mid, vivid purple. Relative luminance 0.134; OKLCH L 53.6% C 0.193 H 318.5°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#9A3CB3
RGBrgb(154, 60, 179)
HSLhsl(287, 50%, 47%)
HSVhsv(287, 66%, 70%)
CMYKcmyk(14%, 66.5%, 0%, 29.8%)
CIE-LABlab(43.30, 56.34, -45.63)
CIE-LCHlch(43.30, 72.50, 321.00°)
OKLaboklab(53.56% 0.1444 -0.1278)
OKLCHoklch(53.56% 0.193 318.5)
XYZxyz(23.0779, 13.3574, 44.0017)
Luminance0.1336 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A3CB3 #55B33C
analogous
#5F3CB3 #9A3CB3 #B33C91
triadic
#9A3CB3 #B39A3C #3CB39A
tetradic
#9A3CB3 #B35F3C #55B33C #3C91B3
square
#9A3CB3 #B35F3C #55B33C #3C91B3
split-complementary
#9A3CB3 #91B33C #3CB35F
monochromatic
#4B1D57 #732D85 #9A3CB3 #B462CA #CA90DA

Accessibility & contrast

On white

5.72
#9A3CB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9A3CB3
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A3CB3#FFFFFF#000000##FFFFFF
##9A3CB31.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E60B7
Deuteranopia (green-blind)
#4269B0
Tritanopia (blue-blind)
#9A5172
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9a3cb3;
/* rgb */ color: rgb(154, 60, 179);
/* oklch */ color: oklch(53.6% 0.193 318.5);
Tailwind
colors: {
  custom: {
    50: '#bb79ca',
    500: '#9a3cb3',
    950: '#000000',
  },
}
SCSS
$custom: #9a3cb3;
$custom-light: #bb79ca;
$custom-dark: #000000;
JSON
{
  "hex": "#9a3cb3",
  "rgb": {
    "r": 154,
    "g": 60,
    "b": 179
  },
  "hsl": {
    "h": 287.395,
    "s": 49.791,
    "l": 46.863
  },
  "oklch": {
    "l": 0.53562,
    "c": 0.19282,
    "h": 318.5
  },
  "luminance": 0.13356
}

Semantic roles & 50–950 ramp

primary
#9A3CB3
secondary
#93C586
accent
#D94E6C
background
#FBF7FC
surface
#F7EEF8
border
#D0C9D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9A3CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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