#9B39CF#9B39CF

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

Color values

HEX#9B39CF
RGBrgb(155, 57, 207)
HSLhsl(279, 61%, 52%)
HSVhsv(279, 72%, 81%)
CMYKcmyk(25.1%, 72.5%, 0%, 18.8%)
CIE-LABlab(44.80, 63.50, -59.52)
CIE-LCHlch(44.80, 87.03, 316.85°)
OKLaboklab(55.24% 0.1463 -0.1684)
OKLCHoklch(55.24% 0.223 311)
XYZxyz(26.2410, 14.4004, 60.4166)
Luminance0.1440 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B39CF #6DCF39
analogous
#5039CF #9B39CF #CF39B8
triadic
#9B39CF #CF9B39 #39CF9B
tetradic
#9B39CF #CF5039 #6DCF39 #39B8CF
square
#9B39CF #CF5039 #6DCF39 #39B8CF
split-complementary
#9B39CF #B8CF39 #39CF50
monochromatic
#541C72 #7828A3 #9B39CF #B46ADB #CD9CE7

Accessibility & contrast

On white

5.41
#9B39CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#9B39CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B39CF
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B39CF#FFFFFF#000000##FFFFFF
##9B39CF1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D3
Deuteranopia (green-blind)
#1F6CCC
Tritanopia (blue-blind)
#945B81
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9b39cf;
/* rgb */ color: rgb(155, 57, 207);
/* oklch */ color: oklch(55.2% 0.223 311.0);
Tailwind
colors: {
  custom: {
    50: '#bd78de',
    500: '#9b39cf',
    950: '#000000',
  },
}
SCSS
$custom: #9b39cf;
$custom-light: #bd78de;
$custom-dark: #000000;
JSON
{
  "hex": "#9b39cf",
  "rgb": {
    "r": 155,
    "g": 57,
    "b": 207
  },
  "hsl": {
    "h": 279.2,
    "s": 60.976,
    "l": 51.765
  },
  "oklch": {
    "l": 0.55241,
    "c": 0.2231,
    "h": 311
  },
  "luminance": 0.144
}

Semantic roles & 50–950 ramp

primary
#9B39CF
secondary
#A8D391
accent
#E4447B
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9B39CF

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

Preview Lab → · Contrast checker → · Palette generator →

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