#9B39D7#9B39D7

#9B39D7 is a mid, highly saturated violet. Relative luminance 0.148; OKLCH L 55.8% C 0.231 H 309.0°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#9B39D7
RGBrgb(155, 57, 215)
HSLhsl(277, 66%, 53%)
HSVhsv(277, 73%, 84%)
CMYKcmyk(27.9%, 73.5%, 0%, 15.7%)
CIE-LABlab(45.36, 65.18, -63.21)
CIE-LCHlch(45.36, 90.80, 315.88°)
OKLaboklab(55.81% 0.145 -0.1793)
OKLCHoklch(55.81% 0.231 309)
XYZxyz(27.2439, 14.8016, 65.6986)
Luminance0.1480 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B39D7 #75D739
analogous
#4C39D7 #9B39D7 #D739C4
triadic
#9B39D7 #D79B39 #39D79B
tetradic
#9B39D7 #D74C39 #75D739 #39C4D7
square
#9B39D7 #D74C39 #75D739 #39C4D7
split-complementary
#9B39D7 #C4D739 #39D74C
monochromatic
#57197C #7A23AF #9B39D7 #B56CE1 #CE9FEC

Accessibility & contrast

On white

5.30
#9B39D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#9B39D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B39D7
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B39D7#FFFFFF#000000##FFFFFF
##9B39D71.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DB
Deuteranopia (green-blind)
#026DD4
Tritanopia (blue-blind)
#925E85
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9b39d7;
/* rgb */ color: rgb(155, 57, 215);
/* oklch */ color: oklch(55.8% 0.231 309.0);
Tailwind
colors: {
  custom: {
    50: '#be79e4',
    500: '#9b39d7',
    950: '#000000',
  },
}
SCSS
$custom: #9b39d7;
$custom-light: #be79e4;
$custom-dark: #000000;
JSON
{
  "hex": "#9b39d7",
  "rgb": {
    "r": 155,
    "g": 57,
    "b": 215
  },
  "hsl": {
    "h": 277.215,
    "s": 66.387,
    "l": 53.333
  },
  "oklch": {
    "l": 0.55814,
    "c": 0.23059,
    "h": 309
  },
  "luminance": 0.14801
}

Semantic roles & 50–950 ramp

primary
#9B39D7
secondary
#AED894
accent
#E93E7F
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #9B39D7

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

Preview Lab → · Contrast checker → · Palette generator →

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