#9B3DD1#9B3DD1

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

Color values

HEX#9B3DD1
RGBrgb(155, 61, 209)
HSLhsl(278, 62%, 53%)
HSVhsv(278, 71%, 82%)
CMYKcmyk(25.8%, 70.8%, 0%, 18%)
CIE-LABlab(45.51, 62.30, -59.52)
CIE-LCHlch(45.51, 86.16, 316.31°)
OKLaboklab(55.79% 0.1421 -0.1685)
OKLCHoklch(55.79% 0.22 310.1)
XYZxyz(26.6927, 14.9101, 61.7810)
Luminance0.1491 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B3DD1 #73D13D
analogous
#513DD1 #9B3DD1 #D13DBD
triadic
#9B3DD1 #D19B3D #3DD19B
tetradic
#9B3DD1 #D1513D #73D13D #3DBDD1
square
#9B3DD1 #D1513D #73D13D #3DBDD1
split-complementary
#9B3DD1 #BDD13D #3DD151
monochromatic
#561C77 #7A28A9 #9B3DD1 #B46EDD #CEA0E8

Accessibility & contrast

On white

5.27
#9B3DD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9B3DD1
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B3DD1#FFFFFF#000000##FFFFFF
##9B3DD11.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D5
Deuteranopia (green-blind)
#216DCE
Tritanopia (blue-blind)
#945E83
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9b3dd1;
/* rgb */ color: rgb(155, 61, 209);
/* oklch */ color: oklch(55.8% 0.220 310.1);
Tailwind
colors: {
  custom: {
    50: '#bd7ae0',
    500: '#9b3dd1',
    950: '#000000',
  },
}
SCSS
$custom: #9b3dd1;
$custom-light: #bd7ae0;
$custom-dark: #000000;
JSON
{
  "hex": "#9b3dd1",
  "rgb": {
    "r": 155,
    "g": 61,
    "b": 209
  },
  "hsl": {
    "h": 278.108,
    "s": 61.667,
    "l": 52.941
  },
  "oklch": {
    "l": 0.55788,
    "c": 0.22041,
    "h": 310.1
  },
  "luminance": 0.14909
}

Semantic roles & 50–950 ramp

primary
#9B3DD1
secondary
#ACD595
accent
#E5437E
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9B3DD1

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

Preview Lab → · Contrast checker → · Palette generator →

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