#9B3FD1#9B3FD1

#9B3FD1 is a mid, highly saturated violet. Relative luminance 0.151; OKLCH L 56.0% C 0.218 H 310.0°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#9B3FD1
RGBrgb(155, 63, 209)
HSLhsl(278, 61%, 53%)
HSVhsv(278, 70%, 82%)
CMYKcmyk(25.8%, 69.9%, 0%, 18%)
CIE-LABlab(45.81, 61.46, -59.04)
CIE-LCHlch(45.81, 85.22, 316.15°)
OKLaboklab(56% 0.1401 -0.1671)
OKLCHoklch(56% 0.218 310)
XYZxyz(26.8014, 15.1276, 61.8173)
Luminance0.1513 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B3FD1 #75D13F
analogous
#523FD1 #9B3FD1 #D13FBE
triadic
#9B3FD1 #D19B3F #3FD19B
tetradic
#9B3FD1 #D1523F #75D13F #3FBED1
square
#9B3FD1 #D1523F #75D13F #3FBED1
split-complementary
#9B3FD1 #BED13F #3FD152
monochromatic
#571D79 #7A29AA #9B3FD1 #B570DD #CEA2E9

Accessibility & contrast

On white

5.22
#9B3FD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9B3FD1
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B3FD1#FFFFFF#000000##FFFFFF
##9B3FD11.005.224.035.22
#FFFFFF5.221.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D5
Deuteranopia (green-blind)
#246ECE
Tritanopia (blue-blind)
#935F84
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9b3fd1;
/* rgb */ color: rgb(155, 63, 209);
/* oklch */ color: oklch(56.0% 0.218 310.0);
Tailwind
colors: {
  custom: {
    50: '#bd7be0',
    500: '#9b3fd1',
    950: '#000000',
  },
}
SCSS
$custom: #9b3fd1;
$custom-light: #bd7be0;
$custom-dark: #000000;
JSON
{
  "hex": "#9b3fd1",
  "rgb": {
    "r": 155,
    "g": 63,
    "b": 209
  },
  "hsl": {
    "h": 277.808,
    "s": 61.345,
    "l": 53.333
  },
  "oklch": {
    "l": 0.56,
    "c": 0.21805,
    "h": 310
  },
  "luminance": 0.15127
}

Semantic roles & 50–950 ramp

primary
#9B3FD1
secondary
#AED597
accent
#E4437F
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9B3FD1

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

Preview Lab → · Contrast checker → · Palette generator →

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