#9A39BD#9A39BD

#9A39BD is a mid, highly saturated purple. Relative luminance 0.135; OKLCH L 53.9% C 0.206 H 315.6°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#9A39BD
RGBrgb(154, 57, 189)
HSLhsl(284, 54%, 48%)
HSVhsv(284, 70%, 74%)
CMYKcmyk(18.5%, 69.8%, 0%, 25.9%)
CIE-LABlab(43.47, 59.60, -51.23)
CIE-LCHlch(43.47, 78.59, 319.32°)
OKLaboklab(53.88% 0.1471 -0.1441)
OKLCHoklch(53.88% 0.206 315.6)
XYZxyz(23.9734, 13.4713, 49.4716)
Luminance0.1347 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A39BD #5CBD39
analogous
#5839BD #9A39BD #BD399E
triadic
#9A39BD #BD9A39 #39BD9A
tetradic
#9A39BD #BD5839 #5CBD39 #399EBD
square
#9A39BD #BD5839 #5CBD39 #399EBD
split-complementary
#9A39BD #9EBD39 #39BD58
monochromatic
#4D1D5F #742B8E #9A39BD #B363D0 #CA92DE

Accessibility & contrast

On white

5.68
#9A39BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#9A39BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A39BD
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A39BD#FFFFFF#000000##FFFFFF
##9A39BD1.005.683.695.68
#FFFFFF5.681.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C1
Deuteranopia (green-blind)
#3769BA
Tritanopia (blue-blind)
#975477
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9a39bd;
/* rgb */ color: rgb(154, 57, 189);
/* oklch */ color: oklch(53.9% 0.206 315.6);
Tailwind
colors: {
  custom: {
    50: '#bc78d2',
    500: '#9a39bd',
    950: '#000000',
  },
}
SCSS
$custom: #9a39bd;
$custom-light: #bc78d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9a39bd",
  "rgb": {
    "r": 154,
    "g": 57,
    "b": 189
  },
  "hsl": {
    "h": 284.091,
    "s": 53.659,
    "l": 48.235
  },
  "oklch": {
    "l": 0.53881,
    "c": 0.20596,
    "h": 315.6
  },
  "luminance": 0.1347
}

Semantic roles & 50–950 ramp

primary
#9A39BD
secondary
#9AC989
accent
#DD4B72
background
#FBF7FC
surface
#F7EEF9
border
#D0C9D2
text
#120914
muted
#817B82

Preview Lab

Preview with #9A39BD

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

Preview Lab → · Contrast checker → · Palette generator →

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