#9B3DD3#9B3DD3

#9B3DD3 is a mid, highly saturated violet. Relative luminance 0.150; OKLCH L 55.9% C 0.222 H 309.6°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#9B3DD3
RGBrgb(155, 61, 211)
HSLhsl(278, 63%, 53%)
HSVhsv(278, 71%, 83%)
CMYKcmyk(26.5%, 71.1%, 0%, 17.3%)
CIE-LABlab(45.65, 62.73, -60.45)
CIE-LCHlch(45.65, 87.11, 316.06°)
OKLaboklab(55.93% 0.1418 -0.1712)
OKLCHoklch(55.93% 0.222 309.6)
XYZxyz(26.9418, 15.0097, 63.0933)
Luminance0.1501 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B3DD3 #75D33D
analogous
#503DD3 #9B3DD3 #D33DC0
triadic
#9B3DD3 #D39B3D #3DD39B
tetradic
#9B3DD3 #D3503D #75D33D #3DC0D3
square
#9B3DD3 #D3503D #75D33D #3DC0D3
split-complementary
#9B3DD3 #C0D33D #3DD350
monochromatic
#571C7A #7A27AC #9B3DD3 #B56FDE #CEA1EA

Accessibility & contrast

On white

5.25
#9B3DD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#9B3DD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B3DD3
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B3DD3#FFFFFF#000000##FFFFFF
##9B3DD31.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9b3dd3;
/* rgb */ color: rgb(155, 61, 211);
/* oklch */ color: oklch(55.9% 0.222 309.6);
Tailwind
colors: {
  custom: {
    50: '#bd7be1',
    500: '#9b3dd3',
    950: '#000000',
  },
}
SCSS
$custom: #9b3dd3;
$custom-light: #bd7be1;
$custom-dark: #000000;
JSON
{
  "hex": "#9b3dd3",
  "rgb": {
    "r": 155,
    "g": 61,
    "b": 211
  },
  "hsl": {
    "h": 277.6,
    "s": 63.025,
    "l": 53.333
  },
  "oklch": {
    "l": 0.55929,
    "c": 0.22233,
    "h": 309.6
  },
  "luminance": 0.15009
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9B3DD3

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

Preview Lab → · Contrast checker → · Palette generator →

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