#9B3CD7#9B3CD7

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

Color values

HEX#9B3CD7
RGBrgb(155, 60, 215)
HSLhsl(277, 66%, 54%)
HSVhsv(277, 72%, 84%)
CMYKcmyk(27.9%, 72.1%, 0%, 15.7%)
CIE-LABlab(45.78, 63.99, -62.53)
CIE-LCHlch(45.78, 89.47, 315.66°)
OKLaboklab(56.11% 0.1422 -0.1773)
OKLCHoklch(56.11% 0.227 308.7)
XYZxyz(27.3967, 15.1071, 65.7495)
Luminance0.1511 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B3CD7 #78D73C
analogous
#4E3CD7 #9B3CD7 #D73CC6
triadic
#9B3CD7 #D79B3C #3CD79B
tetradic
#9B3CD7 #D74E3C #78D73C #3CC6D7
square
#9B3CD7 #D74E3C #78D73C #3CC6D7
split-complementary
#9B3CD7 #C6D73C #3CD74E
monochromatic
#581A7F #7B24B1 #9B3CD7 #B56FE1 #CFA2EC

Accessibility & contrast

On white

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

On black

4.02
#9B3CD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9B3CD7#FFFFFF#000000##FFFFFF
##9B3CD71.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DB
Deuteranopia (green-blind)
#0E6DD4
Tritanopia (blue-blind)
#926086
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9b3cd7;
/* rgb */ color: rgb(155, 60, 215);
/* oklch */ color: oklch(56.1% 0.227 308.7);
Tailwind
colors: {
  custom: {
    50: '#bd7ae4',
    500: '#9b3cd7',
    950: '#000000',
  },
}
SCSS
$custom: #9b3cd7;
$custom-light: #bd7ae4;
$custom-dark: #000000;
JSON
{
  "hex": "#9b3cd7",
  "rgb": {
    "r": 155,
    "g": 60,
    "b": 215
  },
  "hsl": {
    "h": 276.774,
    "s": 65.957,
    "l": 53.922
  },
  "oklch": {
    "l": 0.56111,
    "c": 0.22729,
    "h": 308.7
  },
  "luminance": 0.15107
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9B3CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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