#9B3FD7#9B3FD7

#9B3FD7 is a mid, highly saturated violet. Relative luminance 0.154; OKLCH L 56.4% C 0.224 H 308.5°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#9B3FD7
RGBrgb(155, 63, 215)
HSLhsl(276, 66%, 55%)
HSVhsv(276, 71%, 84%)
CMYKcmyk(27.9%, 70.7%, 0%, 15.7%)
CIE-LABlab(46.22, 62.75, -61.82)
CIE-LCHlch(46.22, 88.09, 315.43°)
OKLaboklab(56.42% 0.1393 -0.1752)
OKLCHoklch(56.42% 0.224 308.5)
XYZxyz(27.5583, 15.4303, 65.8034)
Luminance0.1543 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B3FD7 #7BD73F
analogous
#4F3FD7 #9B3FD7 #D73FC7
triadic
#9B3FD7 #D79B3F #3FD79B
tetradic
#9B3FD7 #D74F3F #7BD73F #3FC7D7
square
#9B3FD7 #D74F3F #7BD73F #3FC7D7
split-complementary
#9B3FD7 #C7D73F #3FD74F
monochromatic
#591B81 #7B25B3 #9B3FD7 #B572E2 #D0A4EC

Accessibility & contrast

On white

5.14
#9B3FD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#9B3FD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B3FD7
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B3FD7#FFFFFF#000000##FFFFFF
##9B3FD71.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADB
Deuteranopia (green-blind)
#166FD4
Tritanopia (blue-blind)
#926287
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9b3fd7;
/* rgb */ color: rgb(155, 63, 215);
/* oklch */ color: oklch(56.4% 0.224 308.5);
Tailwind
colors: {
  custom: {
    50: '#bd7ce4',
    500: '#9b3fd7',
    950: '#000000',
  },
}
SCSS
$custom: #9b3fd7;
$custom-light: #bd7ce4;
$custom-dark: #000000;
JSON
{
  "hex": "#9b3fd7",
  "rgb": {
    "r": 155,
    "g": 63,
    "b": 215
  },
  "hsl": {
    "h": 276.316,
    "s": 65.517,
    "l": 54.51
  },
  "oklch": {
    "l": 0.56421,
    "c": 0.22386,
    "h": 308.5
  },
  "luminance": 0.1543
}

Semantic roles & 50–950 ramp

primary
#9B3FD7
secondary
#B2D999
accent
#E83F82
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #9B3FD7

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

Preview Lab → · Contrast checker → · Palette generator →

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