#9A39B7#9A39B7

#9A39B7 is a mid, highly saturated purple. Relative luminance 0.132; OKLCH L 53.5% C 0.200 H 317.4°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#9A39B7
RGBrgb(154, 57, 183)
HSLhsl(286, 53%, 47%)
HSVhsv(286, 69%, 72%)
CMYKcmyk(15.8%, 68.9%, 0%, 28.2%)
CIE-LABlab(43.09, 58.40, -48.32)
CIE-LCHlch(43.09, 75.80, 320.40°)
OKLaboklab(53.49% 0.1475 -0.1356)
OKLCHoklch(53.49% 0.2 317.4)
XYZxyz(23.3356, 13.2162, 46.1123)
Luminance0.1321 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A39B7 #56B739
analogous
#5B39B7 #9A39B7 #B73995
triadic
#9A39B7 #B79A39 #39B79A
tetradic
#9A39B7 #B75B39 #56B739 #3995B7
square
#9A39B7 #B75B39 #56B739 #3995B7
split-complementary
#9A39B7 #95B739 #39B75B
monochromatic
#4B1C5A #732A88 #9A39B7 #B460CD #CA8EDC

Accessibility & contrast

On white

5.76
#9A39B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#9A39B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A39B7
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A39B7#FFFFFF#000000##FFFFFF
##9A39B71.005.763.645.76
#FFFFFF5.761.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BB
Deuteranopia (green-blind)
#3D69B4
Tritanopia (blue-blind)
#995174
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9a39b7;
/* rgb */ color: rgb(154, 57, 183);
/* oklch */ color: oklch(53.5% 0.200 317.4);
Tailwind
colors: {
  custom: {
    50: '#bb77cd',
    500: '#9a39b7',
    950: '#000000',
  },
}
SCSS
$custom: #9a39b7;
$custom-light: #bb77cd;
$custom-dark: #000000;
JSON
{
  "hex": "#9a39b7",
  "rgb": {
    "r": 154,
    "g": 57,
    "b": 183
  },
  "hsl": {
    "h": 286.19,
    "s": 52.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.5349,
    "c": 0.20041,
    "h": 317.4
  },
  "luminance": 0.13215
}

Semantic roles & 50–950 ramp

primary
#9A39B7
secondary
#94C785
accent
#DC4C6D
background
#FBF7FC
surface
#F7EEF9
border
#D0C9D2
text
#120913
muted
#817B82

Preview Lab

Preview with #9A39B7

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

Preview Lab → · Contrast checker → · Palette generator →

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