#9B39CD#9B39CD

#9B39CD is a mid, highly saturated violet. Relative luminance 0.143; OKLCH L 55.1% C 0.221 H 311.5°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#9B39CD
RGBrgb(155, 57, 205)
HSLhsl(280, 60%, 51%)
HSVhsv(280, 72%, 80%)
CMYKcmyk(24.4%, 72.2%, 0%, 19.6%)
CIE-LABlab(44.66, 63.08, -58.58)
CIE-LCHlch(44.66, 86.09, 317.12°)
OKLaboklab(55.1% 0.1466 -0.1657)
OKLCHoklch(55.1% 0.221 311.5)
XYZxyz(25.9981, 14.3033, 59.1370)
Luminance0.1430 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B39CD #6BCD39
analogous
#5139CD #9B39CD #CD39B5
triadic
#9B39CD #CD9B39 #39CD9B
tetradic
#9B39CD #CD5139 #6BCD39 #39B5CD
square
#9B39CD #CD5139 #6BCD39 #39B5CD
split-complementary
#9B39CD #B5CD39 #39CD51
monochromatic
#531C6F #7828A0 #9B39CD #B46AD9 #CC9BE6

Accessibility & contrast

On white

5.44
#9B39CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#9B39CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B39CD
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B39CD#FFFFFF#000000##FFFFFF
##9B39CD1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D1
Deuteranopia (green-blind)
#236BCA
Tritanopia (blue-blind)
#955A80
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9b39cd;
/* rgb */ color: rgb(155, 57, 205);
/* oklch */ color: oklch(55.1% 0.221 311.5);
Tailwind
colors: {
  custom: {
    50: '#bd78dd',
    500: '#9b39cd',
    950: '#000000',
  },
}
SCSS
$custom: #9b39cd;
$custom-light: #bd78dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9b39cd",
  "rgb": {
    "r": 155,
    "g": 57,
    "b": 205
  },
  "hsl": {
    "h": 279.73,
    "s": 59.677,
    "l": 51.373
  },
  "oklch": {
    "l": 0.55101,
    "c": 0.22123,
    "h": 311.5
  },
  "luminance": 0.14303
}

Semantic roles & 50–950 ramp

primary
#9B39CD
secondary
#A6D290
accent
#E3457A
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9B39CD

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

Preview Lab → · Contrast checker → · Palette generator →

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