#9B3DD6#9B3DD6

#9B3DD6 is a mid, highly saturated violet. Relative luminance 0.152; OKLCH L 56.1% C 0.225 H 308.9°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#9B3DD6
RGBrgb(155, 61, 214)
HSLhsl(277, 65%, 54%)
HSVhsv(277, 71%, 84%)
CMYKcmyk(27.6%, 71.5%, 0%, 16.1%)
CIE-LABlab(45.85, 63.37, -61.84)
CIE-LCHlch(45.85, 88.54, 315.70°)
OKLaboklab(56.14% 0.1414 -0.1753)
OKLCHoklch(56.14% 0.225 308.9)
XYZxyz(27.3214, 15.1616, 65.0925)
Luminance0.1516 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B3DD6 #78D63D
analogous
#4F3DD6 #9B3DD6 #D63DC4
triadic
#9B3DD6 #D69B3D #3DD69B
tetradic
#9B3DD6 #D64F3D #78D63D #3DC4D6
square
#9B3DD6 #D64F3D #78D63D #3DC4D6
split-complementary
#9B3DD6 #C4D63D #3DD64F
monochromatic
#581B7E #7B25B1 #9B3DD6 #B570E1 #CFA2EB

Accessibility & contrast

On white

5.21
#9B3DD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#9B3DD6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B3DD6
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B3DD6#FFFFFF#000000##FFFFFF
##9B3DD61.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DA
Deuteranopia (green-blind)
#156ED3
Tritanopia (blue-blind)
#926086
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9b3dd6;
/* rgb */ color: rgb(155, 61, 214);
/* oklch */ color: oklch(56.1% 0.225 308.9);
Tailwind
colors: {
  custom: {
    50: '#bd7be3',
    500: '#9b3dd6',
    950: '#000000',
  },
}
SCSS
$custom: #9b3dd6;
$custom-light: #bd7be3;
$custom-dark: #000000;
JSON
{
  "hex": "#9b3dd6",
  "rgb": {
    "r": 155,
    "g": 61,
    "b": 214
  },
  "hsl": {
    "h": 276.863,
    "s": 65.106,
    "l": 53.922
  },
  "oklch": {
    "l": 0.56141,
    "c": 0.2252,
    "h": 308.9
  },
  "luminance": 0.15161
}

Semantic roles & 50–950 ramp

primary
#9B3DD6
secondary
#B0D897
accent
#E84081
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #9B3DD6

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

Preview Lab → · Contrast checker → · Palette generator →

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