#9A39BB#9A39BB

#9A39BB is a mid, highly saturated purple. Relative luminance 0.134; OKLCH L 53.7% C 0.204 H 316.2°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#9A39BB
RGBrgb(154, 57, 187)
HSLhsl(285, 53%, 48%)
HSVhsv(285, 70%, 73%)
CMYKcmyk(17.6%, 69.5%, 0%, 26.7%)
CIE-LABlab(43.34, 59.20, -50.26)
CIE-LCHlch(43.34, 77.66, 319.67°)
OKLaboklab(53.75% 0.1473 -0.1413)
OKLCHoklch(53.75% 0.204 316.2)
XYZxyz(23.7578, 13.3851, 48.3362)
Luminance0.1338 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A39BB #5ABB39
analogous
#5939BB #9A39BB #BB399B
triadic
#9A39BB #BB9A39 #39BB9A
tetradic
#9A39BB #BB5939 #5ABB39 #399BBB
square
#9A39BB #BB5939 #5ABB39 #399BBB
split-complementary
#9A39BB #9BBB39 #39BB59
monochromatic
#4D1C5D #732B8C #9A39BB #B362CF #CA91DD

Accessibility & contrast

On white

5.71
#9A39BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#9A39BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A39BB
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A39BB#FFFFFF#000000##FFFFFF
##9A39BB1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BF
Deuteranopia (green-blind)
#3969B8
Tritanopia (blue-blind)
#985376
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9a39bb;
/* rgb */ color: rgb(154, 57, 187);
/* oklch */ color: oklch(53.7% 0.204 316.2);
Tailwind
colors: {
  custom: {
    50: '#bc77d0',
    500: '#9a39bb',
    950: '#000000',
  },
}
SCSS
$custom: #9a39bb;
$custom-light: #bc77d0;
$custom-dark: #000000;
JSON
{
  "hex": "#9a39bb",
  "rgb": {
    "r": 154,
    "g": 57,
    "b": 187
  },
  "hsl": {
    "h": 284.769,
    "s": 53.279,
    "l": 47.843
  },
  "oklch": {
    "l": 0.53749,
    "c": 0.20411,
    "h": 316.2
  },
  "luminance": 0.13384
}

Semantic roles & 50–950 ramp

primary
#9A39BB
secondary
#98C887
accent
#DD4B70
background
#FBF7FC
surface
#F7EEF9
border
#D0C9D2
text
#120914
muted
#817B82

Preview Lab

Preview with #9A39BB

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

Preview Lab → · Contrast checker → · Palette generator →

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