#9B39CE#9B39CE

#9B39CE is a mid, highly saturated violet. Relative luminance 0.144; OKLCH L 55.2% C 0.222 H 311.2°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#9B39CE
RGBrgb(155, 57, 206)
HSLhsl(279, 60%, 52%)
HSVhsv(279, 72%, 81%)
CMYKcmyk(24.8%, 72.3%, 0%, 19.2%)
CIE-LABlab(44.73, 63.29, -59.05)
CIE-LCHlch(44.73, 86.56, 316.98°)
OKLaboklab(55.17% 0.1464 -0.1671)
OKLCHoklch(55.17% 0.222 311.2)
XYZxyz(26.1192, 14.3517, 59.7748)
Luminance0.1435 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B39CE #6CCE39
analogous
#5139CE #9B39CE #CE39B7
triadic
#9B39CE #CE9B39 #39CE9B
tetradic
#9B39CE #CE5139 #6CCE39 #39B7CE
square
#9B39CE #CE5139 #6CCE39 #39B7CE
split-complementary
#9B39CE #B7CE39 #39CE51
monochromatic
#541C71 #7828A2 #9B39CE #B46ADA #CD9BE6

Accessibility & contrast

On white

5.43
#9B39CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#9B39CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B39CE
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B39CE#FFFFFF#000000##FFFFFF
##9B39CE1.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D2
Deuteranopia (green-blind)
#216CCB
Tritanopia (blue-blind)
#945B80
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9b39ce;
/* rgb */ color: rgb(155, 57, 206);
/* oklch */ color: oklch(55.2% 0.222 311.2);
Tailwind
colors: {
  custom: {
    50: '#bd78de',
    500: '#9b39ce',
    950: '#000000',
  },
}
SCSS
$custom: #9b39ce;
$custom-light: #bd78de;
$custom-dark: #000000;
JSON
{
  "hex": "#9b39ce",
  "rgb": {
    "r": 155,
    "g": 57,
    "b": 206
  },
  "hsl": {
    "h": 279.463,
    "s": 60.324,
    "l": 51.569
  },
  "oklch": {
    "l": 0.55171,
    "c": 0.22216,
    "h": 311.2
  },
  "luminance": 0.14351
}

Semantic roles & 50–950 ramp

primary
#9B39CE
secondary
#A7D291
accent
#E3447B
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9B39CE

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

Preview Lab → · Contrast checker → · Palette generator →

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