#9B39D2#9B39D2

#9B39D2 is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 55.5% C 0.226 H 310.2°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#9B39D2
RGBrgb(155, 57, 210)
HSLhsl(278, 63%, 52%)
HSVhsv(278, 73%, 82%)
CMYKcmyk(26.2%, 72.9%, 0%, 17.6%)
CIE-LABlab(45.01, 64.13, -60.91)
CIE-LCHlch(45.01, 88.44, 316.47°)
OKLaboklab(55.45% 0.1458 -0.1725)
OKLCHoklch(55.45% 0.226 310.2)
XYZxyz(26.6113, 14.5485, 62.3666)
Luminance0.1455 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B39D2 #70D239
analogous
#4E39D2 #9B39D2 #D239BD
triadic
#9B39D2 #D29B39 #39D29B
tetradic
#9B39D2 #D24E39 #70D239 #39BDD2
square
#9B39D2 #D24E39 #70D239 #39BDD2
split-complementary
#9B39D2 #BDD239 #39D24E
monochromatic
#551B76 #7926A8 #9B39D2 #B46BDD #CD9DE9

Accessibility & contrast

On white

5.37
#9B39D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#9B39D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B39D2
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B39D2#FFFFFF#000000##FFFFFF
##9B39D21.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D6
Deuteranopia (green-blind)
#176CCF
Tritanopia (blue-blind)
#935C83
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9b39d2;
/* rgb */ color: rgb(155, 57, 210);
/* oklch */ color: oklch(55.5% 0.226 310.2);
Tailwind
colors: {
  custom: {
    50: '#bd78e1',
    500: '#9b39d2',
    950: '#000000',
  },
}
SCSS
$custom: #9b39d2;
$custom-light: #bd78e1;
$custom-dark: #000000;
JSON
{
  "hex": "#9b39d2",
  "rgb": {
    "r": 155,
    "g": 57,
    "b": 210
  },
  "hsl": {
    "h": 278.431,
    "s": 62.963,
    "l": 52.353
  },
  "oklch": {
    "l": 0.55454,
    "c": 0.2259,
    "h": 310.2
  },
  "luminance": 0.14548
}

Semantic roles & 50–950 ramp

primary
#9B39D2
secondary
#AAD592
accent
#E6427D
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9B39D2

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

Preview Lab → · Contrast checker → · Palette generator →

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