#9B39DA#9B39DA

#9B39DA is a mid, highly saturated violet. Relative luminance 0.150; OKLCH L 56.0% C 0.233 H 308.2°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#9B39DA
RGBrgb(155, 57, 218)
HSLhsl(277, 69%, 54%)
HSVhsv(277, 74%, 85%)
CMYKcmyk(28.9%, 73.9%, 0%, 14.5%)
CIE-LABlab(45.58, 65.82, -64.58)
CIE-LCHlch(45.58, 92.21, 315.55°)
OKLaboklab(56.03% 0.1445 -0.1833)
OKLCHoklch(56.03% 0.233 308.2)
XYZxyz(27.6330, 14.9572, 67.7474)
Luminance0.1496 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B39DA #78DA39
analogous
#4B39DA #9B39DA #DA39C9
triadic
#9B39DA #DA9B39 #39DA9B
tetradic
#9B39DA #DA4B39 #78DA39 #39C9DA
square
#9B39DA #DA4B39 #78DA39 #39C9DA
split-complementary
#9B39DA #C9DA39 #39DA4B
monochromatic
#581881 #7B22B4 #9B39DA #B56DE4 #CFA0ED

Accessibility & contrast

On white

5.26
#9B39DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#9B39DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B39DA
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B39DA#FFFFFF#000000##FFFFFF
##9B39DA1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DF
Deuteranopia (green-blind)
#006DD7
Tritanopia (blue-blind)
#916087
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9b39da;
/* rgb */ color: rgb(155, 57, 218);
/* oklch */ color: oklch(56.0% 0.233 308.2);
Tailwind
colors: {
  custom: {
    50: '#be79e6',
    500: '#9b39da',
    950: '#000000',
  },
}
SCSS
$custom: #9b39da;
$custom-light: #be79e6;
$custom-dark: #000000;
JSON
{
  "hex": "#9b39da",
  "rgb": {
    "r": 155,
    "g": 57,
    "b": 218
  },
  "hsl": {
    "h": 276.522,
    "s": 68.511,
    "l": 53.922
  },
  "oklch": {
    "l": 0.56033,
    "c": 0.2334,
    "h": 308.2
  },
  "luminance": 0.14957
}

Semantic roles & 50–950 ramp

primary
#9B39DA
secondary
#B0DA95
accent
#EB3C81
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #9B39DA

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

Preview Lab → · Contrast checker → · Palette generator →

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