#9B39B2#9B39B2

#9B39B2 is a mid, vivid purple. Relative luminance 0.131; OKLCH L 53.3% C 0.196 H 319.4°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#9B39B2
RGBrgb(155, 57, 178)
HSLhsl(289, 51%, 46%)
HSVhsv(289, 68%, 70%)
CMYKcmyk(12.9%, 68%, 0%, 30.2%)
CIE-LABlab(42.93, 57.64, -45.62)
CIE-LCHlch(42.93, 73.51, 321.64°)
OKLaboklab(53.31% 0.149 -0.1277)
OKLCHoklch(53.31% 0.196 319.4)
XYZxyz(23.0155, 13.1103, 43.4291)
Luminance0.1311 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B39B2 #50B239
analogous
#5E39B2 #9B39B2 #B2398C
triadic
#9B39B2 #B29B39 #39B29B
tetradic
#9B39B2 #B25E39 #50B239 #398CB2
square
#9B39B2 #B25E39 #50B239 #398CB2
split-complementary
#9B39B2 #8CB239 #39B25E
monochromatic
#4A1B55 #732A84 #9B39B2 #B65DCB #CB8BDA

Accessibility & contrast

On white

5.80
#9B39B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#9B39B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B39B2
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B39B2#FFFFFF#000000##FFFFFF
##9B39B21.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#065FB6
Deuteranopia (green-blind)
#4269AF
Tritanopia (blue-blind)
#9B4F71
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9b39b2;
/* rgb */ color: rgb(155, 57, 178);
/* oklch */ color: oklch(53.3% 0.196 319.4);
Tailwind
colors: {
  custom: {
    50: '#bc77ca',
    500: '#9b39b2',
    950: '#000000',
  },
}
SCSS
$custom: #9b39b2;
$custom-light: #bc77ca;
$custom-dark: #000000;
JSON
{
  "hex": "#9b39b2",
  "rgb": {
    "r": 155,
    "g": 57,
    "b": 178
  },
  "hsl": {
    "h": 288.595,
    "s": 51.489,
    "l": 46.078
  },
  "oklch": {
    "l": 0.53308,
    "c": 0.19624,
    "h": 319.4
  },
  "luminance": 0.13109
}

Semantic roles & 50–950 ramp

primary
#9B39B2
secondary
#8FC482
accent
#DB4D68
background
#FBF7FC
surface
#F7EEF8
border
#D0C9D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9B39B2

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

Preview Lab → · Contrast checker → · Palette generator →

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