#9B3DC7#9B3DC7

#9B3DC7 is a mid, highly saturated purple. Relative luminance 0.144; OKLCH L 55.1% C 0.211 H 312.8°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#9B3DC7
RGBrgb(155, 61, 199)
HSLhsl(281, 55%, 51%)
HSVhsv(281, 69%, 78%)
CMYKcmyk(22.1%, 69.3%, 0%, 22%)
CIE-LABlab(44.84, 60.19, -54.82)
CIE-LCHlch(44.84, 81.42, 317.67°)
OKLaboklab(55.1% 0.1433 -0.1547)
OKLCHoklch(55.1% 0.211 312.8)
XYZxyz(25.4933, 14.4303, 55.4642)
Luminance0.1443 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B3DC7 #69C73D
analogous
#563DC7 #9B3DC7 #C73DAE
triadic
#9B3DC7 #C79B3D #3DC79B
tetradic
#9B3DC7 #C7563D #69C73D #3DAEC7
square
#9B3DC7 #C7563D #69C73D #3DAEC7
split-complementary
#9B3DC7 #AEC73D #3DC756
monochromatic
#531F6B #772D9A #9B3DC7 #B36CD5 #CC9CE2

Accessibility & contrast

On white

5.40
#9B3DC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#9B3DC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B3DC7
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B3DC7#FFFFFF#000000##FFFFFF
##9B3DC71.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CB
Deuteranopia (green-blind)
#316CC4
Tritanopia (blue-blind)
#965A7E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9b3dc7;
/* rgb */ color: rgb(155, 61, 199);
/* oklch */ color: oklch(55.1% 0.211 312.8);
Tailwind
colors: {
  custom: {
    50: '#bd7ad9',
    500: '#9b3dc7',
    950: '#000000',
  },
}
SCSS
$custom: #9b3dc7;
$custom-light: #bd7ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#9b3dc7",
  "rgb": {
    "r": 155,
    "g": 61,
    "b": 199
  },
  "hsl": {
    "h": 280.87,
    "s": 55.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.55101,
    "c": 0.21084,
    "h": 312.8
  },
  "luminance": 0.1443
}

Semantic roles & 50–950 ramp

primary
#9B3DC7
secondary
#A5CE91
accent
#DF4979
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#120A15
muted
#817C83

Preview Lab

Preview with #9B3DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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