#9A3CBB#9A3CBB

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

Color values

HEX#9A3CBB
RGBrgb(154, 60, 187)
HSLhsl(284, 51%, 48%)
HSVhsv(284, 68%, 73%)
CMYKcmyk(17.6%, 67.9%, 0%, 26.7%)
CIE-LABlab(43.79, 57.94, -49.54)
CIE-LCHlch(43.79, 76.23, 319.47°)
OKLaboklab(54.07% 0.1441 -0.1392)
OKLCHoklch(54.07% 0.2 316)
XYZxyz(23.9105, 13.6905, 48.3871)
Luminance0.1369 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A3CBB #5DBB3C
analogous
#5A3CBB #9A3CBB #BB3C9C
triadic
#9A3CBB #BB9A3C #3CBB9A
tetradic
#9A3CBB #BB5A3C #5DBB3C #3C9CBB
square
#9A3CBB #BB5A3C #5DBB3C #3C9CBB
split-complementary
#9A3CBB #9CBB3C #3CBB5A
monochromatic
#4E1E5E #742D8D #9A3CBB #B366CE #CA95DD

Accessibility & contrast

On white

5.62
#9A3CBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#9A3CBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A3CBB
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A3CBB#FFFFFF#000000##FFFFFF
##9A3CBB1.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062BF
Deuteranopia (green-blind)
#3B6AB8
Tritanopia (blue-blind)
#985577
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9a3cbb;
/* rgb */ color: rgb(154, 60, 187);
/* oklch */ color: oklch(54.1% 0.200 316.0);
Tailwind
colors: {
  custom: {
    50: '#bb79d0',
    500: '#9a3cbb',
    950: '#000000',
  },
}
SCSS
$custom: #9a3cbb;
$custom-light: #bb79d0;
$custom-dark: #000000;
JSON
{
  "hex": "#9a3cbb",
  "rgb": {
    "r": 154,
    "g": 60,
    "b": 187
  },
  "hsl": {
    "h": 284.409,
    "s": 51.417,
    "l": 48.431
  },
  "oklch": {
    "l": 0.5407,
    "c": 0.20034,
    "h": 316
  },
  "luminance": 0.1369
}

Semantic roles & 50–950 ramp

primary
#9A3CBB
secondary
#9BC88B
accent
#DB4D72
background
#FBF7FC
surface
#F7EEF9
border
#D0C9D2
text
#120A14
muted
#817C82

Preview Lab

Preview with #9A3CBB

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

Preview Lab → · Contrast checker → · Palette generator →

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