#9B3DD2#9B3DD2

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

Color values

HEX#9B3DD2
RGBrgb(155, 61, 210)
HSLhsl(278, 62%, 53%)
HSVhsv(278, 71%, 82%)
CMYKcmyk(26.2%, 71%, 0%, 17.6%)
CIE-LABlab(45.58, 62.51, -59.99)
CIE-LCHlch(45.58, 86.64, 316.18°)
OKLaboklab(55.86% 0.142 -0.1698)
OKLCHoklch(55.86% 0.221 309.9)
XYZxyz(26.8169, 14.9597, 62.4351)
Luminance0.1496 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B3DD2 #74D23D
analogous
#503DD2 #9B3DD2 #D23DBF
triadic
#9B3DD2 #D29B3D #3DD29B
tetradic
#9B3DD2 #D2503D #74D23D #3DBFD2
square
#9B3DD2 #D2503D #74D23D #3DBFD2
split-complementary
#9B3DD2 #BFD23D #3DD250
monochromatic
#561C79 #7A28AA #9B3DD2 #B56FDE #CEA0E9

Accessibility & contrast

On white

5.26
#9B3DD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#9B3DD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B3DD2
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B3DD2#FFFFFF#000000##FFFFFF
##9B3DD21.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9b3dd2;
/* rgb */ color: rgb(155, 61, 210);
/* oklch */ color: oklch(55.9% 0.221 309.9);
Tailwind
colors: {
  custom: {
    50: '#bd7ae1',
    500: '#9b3dd2',
    950: '#000000',
  },
}
SCSS
$custom: #9b3dd2;
$custom-light: #bd7ae1;
$custom-dark: #000000;
JSON
{
  "hex": "#9b3dd2",
  "rgb": {
    "r": 155,
    "g": 61,
    "b": 210
  },
  "hsl": {
    "h": 277.852,
    "s": 62.343,
    "l": 53.137
  },
  "oklch": {
    "l": 0.55858,
    "c": 0.22137,
    "h": 309.9
  },
  "luminance": 0.14959
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9B3DD2

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

Preview Lab → · Contrast checker → · Palette generator →

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