#9B39D5#9B39D5

#9B39D5 is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 55.7% C 0.229 H 309.5°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#9B39D5
RGBrgb(155, 57, 213)
HSLhsl(278, 65%, 53%)
HSVhsv(278, 73%, 84%)
CMYKcmyk(27.2%, 73.2%, 0%, 16.5%)
CIE-LABlab(45.22, 64.76, -62.29)
CIE-LCHlch(45.22, 89.85, 316.11°)
OKLaboklab(55.67% 0.1454 -0.1766)
OKLCHoklch(55.67% 0.229 309.5)
XYZxyz(26.9885, 14.6994, 64.3534)
Luminance0.1470 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B39D5 #73D539
analogous
#4D39D5 #9B39D5 #D539C1
triadic
#9B39D5 #D59B39 #39D59B
tetradic
#9B39D5 #D54D39 #73D539 #39C1D5
square
#9B39D5 #D54D39 #73D539 #39C1D5
split-complementary
#9B39D5 #C1D539 #39D54D
monochromatic
#561A7A #7A25AC #9B39D5 #B46BE0 #CE9EEA

Accessibility & contrast

On white

5.33
#9B39D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#9B39D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B39D5
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B39D5#FFFFFF#000000##FFFFFF
##9B39D51.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D9
Deuteranopia (green-blind)
#0D6CD2
Tritanopia (blue-blind)
#925D84
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9b39d5;
/* rgb */ color: rgb(155, 57, 213);
/* oklch */ color: oklch(55.7% 0.229 309.5);
Tailwind
colors: {
  custom: {
    50: '#be79e3',
    500: '#9b39d5',
    950: '#000000',
  },
}
SCSS
$custom: #9b39d5;
$custom-light: #be79e3;
$custom-dark: #000000;
JSON
{
  "hex": "#9b39d5",
  "rgb": {
    "r": 155,
    "g": 57,
    "b": 213
  },
  "hsl": {
    "h": 277.692,
    "s": 65,
    "l": 52.941
  },
  "oklch": {
    "l": 0.55669,
    "c": 0.22872,
    "h": 309.5
  },
  "luminance": 0.14699
}

Semantic roles & 50–950 ramp

primary
#9B39D5
secondary
#ACD793
accent
#E8407E
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #9B39D5

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

Preview Lab → · Contrast checker → · Palette generator →

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