#9A3CBC#9A3CBC

#9A3CBC is a mid, highly saturated purple. Relative luminance 0.137; OKLCH L 54.1% C 0.201 H 315.7°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#9A3CBC
RGBrgb(154, 60, 188)
HSLhsl(284, 52%, 49%)
HSVhsv(284, 68%, 74%)
CMYKcmyk(18.1%, 68.1%, 0%, 26.3%)
CIE-LABlab(43.85, 58.14, -50.03)
CIE-LCHlch(43.85, 76.70, 319.29°)
OKLaboklab(54.14% 0.144 -0.1406)
OKLCHoklch(54.14% 0.201 315.7)
XYZxyz(24.0180, 13.7335, 48.9529)
Luminance0.1373 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A3CBC #5EBC3C
analogous
#5A3CBC #9A3CBC #BC3C9E
triadic
#9A3CBC #BC9A3C #3CBC9A
tetradic
#9A3CBC #BC5A3C #5EBC3C #3C9EBC
square
#9A3CBC #BC5A3C #5EBC3C #3C9EBC
split-complementary
#9A3CBC #9EBC3C #3CBC5A
monochromatic
#4E1E5F #742D8E #9A3CBC #B367CE #CA95DD

Accessibility & contrast

On white

5.61
#9A3CBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#9A3CBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A3CBC
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A3CBC#FFFFFF#000000##FFFFFF
##9A3CBC1.005.613.755.61
#FFFFFF5.611.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C0
Deuteranopia (green-blind)
#3A6AB9
Tritanopia (blue-blind)
#985577
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9a3cbc;
/* rgb */ color: rgb(154, 60, 188);
/* oklch */ color: oklch(54.1% 0.201 315.7);
Tailwind
colors: {
  custom: {
    50: '#bb79d1',
    500: '#9a3cbc',
    950: '#000000',
  },
}
SCSS
$custom: #9a3cbc;
$custom-light: #bb79d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9a3cbc",
  "rgb": {
    "r": 154,
    "g": 60,
    "b": 188
  },
  "hsl": {
    "h": 284.063,
    "s": 51.613,
    "l": 48.627
  },
  "oklch": {
    "l": 0.54135,
    "c": 0.20128,
    "h": 315.7
  },
  "luminance": 0.13733
}

Semantic roles & 50–950 ramp

primary
#9A3CBC
secondary
#9BC98B
accent
#DB4D73
background
#FBF7FC
surface
#F7EEF9
border
#D0C9D2
text
#120A14
muted
#817C82

Preview Lab

Preview with #9A3CBC

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

Preview Lab → · Contrast checker → · Palette generator →

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