#9A3BBD#9A3BBD

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

Color values

HEX#9A3BBD
RGBrgb(154, 59, 189)
HSLhsl(284, 52%, 49%)
HSVhsv(284, 69%, 74%)
CMYKcmyk(18.5%, 68.8%, 0%, 25.9%)
CIE-LABlab(43.76, 58.77, -50.75)
CIE-LCHlch(43.76, 77.65, 319.18°)
OKLaboklab(54.09% 0.145 -0.1428)
OKLCHoklch(54.09% 0.203 315.4)
XYZxyz(24.0742, 13.6730, 49.5052)
Luminance0.1367 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A3BBD #5EBD3B
analogous
#593BBD #9A3BBD #BD3B9F
triadic
#9A3BBD #BD9A3B #3BBD9A
tetradic
#9A3BBD #BD593B #5EBD3B #3B9FBD
square
#9A3BBD #BD593B #5EBD3B #3B9FBD
split-complementary
#9A3BBD #9FBD3B #3BBD59
monochromatic
#4E1E60 #742C8E #9A3BBD #B366CF #CA95DE

Accessibility & contrast

On white

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

On black

3.73
#9A3BBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9A3BBD#FFFFFF#000000##FFFFFF
##9A3BBD1.005.623.735.62
#FFFFFF5.621.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C1
Deuteranopia (green-blind)
#396ABA
Tritanopia (blue-blind)
#975578
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9a3bbd;
/* rgb */ color: rgb(154, 59, 189);
/* oklch */ color: oklch(54.1% 0.203 315.4);
Tailwind
colors: {
  custom: {
    50: '#bb79d1',
    500: '#9a3bbd',
    950: '#000000',
  },
}
SCSS
$custom: #9a3bbd;
$custom-light: #bb79d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9a3bbd",
  "rgb": {
    "r": 154,
    "g": 59,
    "b": 189
  },
  "hsl": {
    "h": 283.846,
    "s": 52.419,
    "l": 48.627
  },
  "oklch": {
    "l": 0.54092,
    "c": 0.20349,
    "h": 315.4
  },
  "luminance": 0.13672
}

Semantic roles & 50–950 ramp

primary
#9A3BBD
secondary
#9BC98B
accent
#DC4C73
background
#FBF7FC
surface
#F7EEF9
border
#D0C9D2
text
#120914
muted
#817B82

Preview Lab

Preview with #9A3BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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