#9B3DD7#9B3DD7

#9B3DD7 is a mid, highly saturated violet. Relative luminance 0.152; OKLCH L 56.2% C 0.226 H 308.6°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#9B3DD7
RGBrgb(155, 61, 215)
HSLhsl(277, 66%, 54%)
HSVhsv(277, 72%, 84%)
CMYKcmyk(27.9%, 71.6%, 0%, 15.7%)
CIE-LABlab(45.92, 63.58, -62.30)
CIE-LCHlch(45.92, 89.01, 315.59°)
OKLaboklab(56.21% 0.1412 -0.1766)
OKLCHoklch(56.21% 0.226 308.6)
XYZxyz(27.4495, 15.2128, 65.7671)
Luminance0.1521 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B3DD7 #79D73D
analogous
#4E3DD7 #9B3DD7 #D73DC6
triadic
#9B3DD7 #D79B3D #3DD79B
tetradic
#9B3DD7 #D74E3D #79D73D #3DC6D7
square
#9B3DD7 #D74E3D #79D73D #3DC6D7
split-complementary
#9B3DD7 #C6D73D #3DD74E
monochromatic
#581A7F #7B25B2 #9B3DD7 #B570E1 #CFA2EC

Accessibility & contrast

On white

5.19
#9B3DD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#9B3DD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B3DD7
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B3DD7#FFFFFF#000000##FFFFFF
##9B3DD71.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DB
Deuteranopia (green-blind)
#116ED4
Tritanopia (blue-blind)
#926086
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9b3dd7;
/* rgb */ color: rgb(155, 61, 215);
/* oklch */ color: oklch(56.2% 0.226 308.6);
Tailwind
colors: {
  custom: {
    50: '#bd7be4',
    500: '#9b3dd7',
    950: '#000000',
  },
}
SCSS
$custom: #9b3dd7;
$custom-light: #bd7be4;
$custom-dark: #000000;
JSON
{
  "hex": "#9b3dd7",
  "rgb": {
    "r": 155,
    "g": 61,
    "b": 215
  },
  "hsl": {
    "h": 276.623,
    "s": 65.812,
    "l": 54.118
  },
  "oklch": {
    "l": 0.56213,
    "c": 0.22616,
    "h": 308.6
  },
  "luminance": 0.15212
}

Semantic roles & 50–950 ramp

primary
#9B3DD7
secondary
#B1D997
accent
#E93F81
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #9B3DD7

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

Preview Lab → · Contrast checker → · Palette generator →

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