#9B6CC7#9B6CC7

#9B6CC7 is a mid, vivid violet. Relative luminance 0.218; OKLCH L 61.7% C 0.141 H 306.5°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#9B6CC7
RGBrgb(155, 108, 199)
HSLhsl(271, 45%, 60%)
HSVhsv(271, 46%, 78%)
CMYKcmyk(22.1%, 45.7%, 0%, 22%)
CIE-LABlab(53.83, 36.33, -40.50)
CIE-LCHlch(53.83, 54.40, 311.89°)
OKLaboklab(61.69% 0.0838 -0.113)
OKLCHoklch(61.69% 0.141 306.5)
XYZxyz(29.1869, 21.8175, 56.6954)
Luminance0.2182 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B6CC7 #98C76C
analogous
#6D6CC7 #9B6CC7 #C76CC6
triadic
#9B6CC7 #C79B6C #6CC79B
tetradic
#9B6CC7 #C76D6C #98C76C #6CC6C7
square
#9B6CC7 #C76D6C #98C76C #6CC6C7
split-complementary
#9B6CC7 #C6C76C #6CC76D
monochromatic
#5E3386 #7D44B2 #9B6CC7 #B998D8 #D7C5E9

Accessibility & contrast

On white

3.92
#9B6CC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#9B6CC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B6CC7
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B6CC7#FFFFFF#000000##000000
##9B6CC71.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#557FCA
Deuteranopia (green-blind)
#6181C5
Tritanopia (blue-blind)
#947B90
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #9b6cc7;
/* rgb */ color: rgb(155, 108, 199);
/* oklch */ color: oklch(61.7% 0.141 306.5);
Tailwind
colors: {
  custom: {
    50: '#ba97d8',
    500: '#9b6cc7',
    950: '#000000',
  },
}
SCSS
$custom: #9b6cc7;
$custom-light: #ba97d8;
$custom-dark: #000000;
JSON
{
  "hex": "#9b6cc7",
  "rgb": {
    "r": 155,
    "g": 108,
    "b": 199
  },
  "hsl": {
    "h": 270.989,
    "s": 44.828,
    "l": 60.196
  },
  "oklch": {
    "l": 0.61686,
    "c": 0.14072,
    "h": 306.5
  },
  "luminance": 0.21817
}

Semantic roles & 50–950 ramp

primary
#9B6CC7
secondary
#C7D9B6
accent
#B82E70
background
#FBF9FD
surface
#F6F2FA
border
#D0CCD3
text
#120D14
muted
#817E83

Preview Lab

Preview with #9B6CC7

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

Preview Lab → · Contrast checker → · Palette generator →

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