#9B39CA#9B39CA

#9B39CA is a mid, highly saturated purple. Relative luminance 0.142; OKLCH L 54.9% C 0.218 H 312.3°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#9B39CA
RGBrgb(155, 57, 202)
HSLhsl(281, 58%, 51%)
HSVhsv(281, 72%, 79%)
CMYKcmyk(23.3%, 71.8%, 0%, 20.8%)
CIE-LABlab(44.46, 62.46, -57.18)
CIE-LCHlch(44.46, 84.68, 317.53°)
OKLaboklab(54.89% 0.147 -0.1616)
OKLCHoklch(54.89% 0.218 312.3)
XYZxyz(25.6394, 14.1598, 57.2481)
Luminance0.1416 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B39CA #68CA39
analogous
#5239CA #9B39CA #CA39B0
triadic
#9B39CA #CA9B39 #39CA9B
tetradic
#9B39CA #CA5239 #68CA39 #39B0CA
square
#9B39CA #CA5239 #68CA39 #39B0CA
split-complementary
#9B39CA #B0CA39 #39CA52
monochromatic
#521D6C #772A9C #9B39CA #B369D7 #CC9AE4

Accessibility & contrast

On white

5.48
#9B39CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#9B39CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B39CA
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B39CA#FFFFFF#000000##FFFFFF
##9B39CA1.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CE
Deuteranopia (green-blind)
#286BC7
Tritanopia (blue-blind)
#96597E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9b39ca;
/* rgb */ color: rgb(155, 57, 202);
/* oklch */ color: oklch(54.9% 0.218 312.3);
Tailwind
colors: {
  custom: {
    50: '#bd78db',
    500: '#9b39ca',
    950: '#000000',
  },
}
SCSS
$custom: #9b39ca;
$custom-light: #bd78db;
$custom-dark: #000000;
JSON
{
  "hex": "#9b39ca",
  "rgb": {
    "r": 155,
    "g": 57,
    "b": 202
  },
  "hsl": {
    "h": 280.552,
    "s": 57.769,
    "l": 50.784
  },
  "oklch": {
    "l": 0.54892,
    "c": 0.21842,
    "h": 312.3
  },
  "luminance": 0.14159
}

Semantic roles & 50–950 ramp

primary
#9B39CA
secondary
#A4D08F
accent
#E14779
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9B39CA

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

Preview Lab → · Contrast checker → · Palette generator →

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