#9B3CD3#9B3CD3

#9B3CD3 is a mid, highly saturated violet. Relative luminance 0.149; OKLCH L 55.8% C 0.223 H 309.7°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#9B3CD3
RGBrgb(155, 60, 211)
HSLhsl(278, 63%, 53%)
HSVhsv(278, 72%, 83%)
CMYKcmyk(26.5%, 71.6%, 0%, 17.3%)
CIE-LABlab(45.50, 63.14, -60.69)
CIE-LCHlch(45.50, 87.57, 316.13°)
OKLaboklab(55.83% 0.1428 -0.1719)
OKLCHoklch(55.83% 0.223 309.7)
XYZxyz(26.8890, 14.9040, 63.0757)
Luminance0.1490 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B3CD3 #74D33C
analogous
#4F3CD3 #9B3CD3 #D33CC0
triadic
#9B3CD3 #D39B3C #3CD39B
tetradic
#9B3CD3 #D34F3C #74D33C #3CC0D3
square
#9B3CD3 #D34F3C #74D33C #3CC0D3
split-complementary
#9B3CD3 #C0D33C #3CD34F
monochromatic
#561B79 #7A27AB #9B3CD3 #B56EDE #CEA0EA

Accessibility & contrast

On white

5.28
#9B3CD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#9B3CD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B3CD3
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B3CD3#FFFFFF#000000##FFFFFF
##9B3CD31.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D7
Deuteranopia (green-blind)
#1B6DD0
Tritanopia (blue-blind)
#935E84
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9b3cd3;
/* rgb */ color: rgb(155, 60, 211);
/* oklch */ color: oklch(55.8% 0.223 309.7);
Tailwind
colors: {
  custom: {
    50: '#bd7ae1',
    500: '#9b3cd3',
    950: '#000000',
  },
}
SCSS
$custom: #9b3cd3;
$custom-light: #bd7ae1;
$custom-dark: #000000;
JSON
{
  "hex": "#9b3cd3",
  "rgb": {
    "r": 155,
    "g": 60,
    "b": 211
  },
  "hsl": {
    "h": 277.748,
    "s": 63.18,
    "l": 53.137
  },
  "oklch": {
    "l": 0.55826,
    "c": 0.22348,
    "h": 309.7
  },
  "luminance": 0.14903
}

Semantic roles & 50–950 ramp

primary
#9B3CD3
secondary
#ADD695
accent
#E6427F
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9B3CD3

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

Preview Lab → · Contrast checker → · Palette generator →

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