#9A3BBB#9A3BBB

#9A3BBB is a mid, highly saturated purple. Relative luminance 0.136; OKLCH L 54.0% C 0.202 H 316.0°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#9A3BBB
RGBrgb(154, 59, 187)
HSLhsl(285, 52%, 48%)
HSVhsv(285, 68%, 73%)
CMYKcmyk(17.6%, 68.4%, 0%, 26.7%)
CIE-LABlab(43.63, 58.36, -49.79)
CIE-LCHlch(43.63, 76.71, 319.53°)
OKLaboklab(53.96% 0.1451 -0.1399)
OKLCHoklch(53.96% 0.202 316)
XYZxyz(23.8586, 13.5867, 48.3698)
Luminance0.1359 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A3BBB #5CBB3B
analogous
#5A3BBB #9A3BBB #BB3B9C
triadic
#9A3BBB #BB9A3B #3BBB9A
tetradic
#9A3BBB #BB5A3B #5CBB3B #3B9CBB
square
#9A3BBB #BB5A3B #5CBB3B #3B9CBB
split-complementary
#9A3BBB #9CBB3B #3BBB5A
monochromatic
#4D1E5E #742C8C #9A3BBB #B365CE #CA93DD

Accessibility & contrast

On white

5.65
#9A3BBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#9A3BBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A3BBB
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A3BBB#FFFFFF#000000##FFFFFF
##9A3BBB1.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9a3bbb;
/* rgb */ color: rgb(154, 59, 187);
/* oklch */ color: oklch(54.0% 0.202 316.0);
Tailwind
colors: {
  custom: {
    50: '#bb79d0',
    500: '#9a3bbb',
    950: '#000000',
  },
}
SCSS
$custom: #9a3bbb;
$custom-light: #bb79d0;
$custom-dark: #000000;
JSON
{
  "hex": "#9a3bbb",
  "rgb": {
    "r": 154,
    "g": 59,
    "b": 187
  },
  "hsl": {
    "h": 284.531,
    "s": 52.033,
    "l": 48.235
  },
  "oklch": {
    "l": 0.53962,
    "c": 0.20161,
    "h": 316
  },
  "luminance": 0.13586
}

Semantic roles & 50–950 ramp

primary
#9A3BBB
secondary
#9AC88A
accent
#DB4C71
background
#FBF7FC
surface
#F7EEF9
border
#D0C9D2
text
#120914
muted
#817B82

Preview Lab

Preview with #9A3BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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