#9B7BCF#9B7BCF

#9B7BCF is a light, vivid violet. Relative luminance 0.256; OKLCH L 64.7% C 0.126 H 300.5°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#9B7BCF
RGBrgb(155, 123, 207)
HSLhsl(263, 47%, 65%)
HSVhsv(263, 41%, 81%)
CMYKcmyk(25.1%, 40.6%, 0%, 18.8%)
CIE-LABlab(57.69, 29.69, -38.97)
CIE-LCHlch(57.69, 48.99, 307.30°)
OKLaboklab(64.72% 0.064 -0.1087)
OKLCHoklch(64.72% 0.126 300.5)
XYZxyz(31.8605, 25.6394, 62.2898)
Luminance0.2564 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B7BCF #AFCF7B
analogous
#7B85CF #9B7BCF #C57BCF
triadic
#9B7BCF #CF9B7B #7BCF9B
tetradic
#9B7BCF #CF7B85 #AFCF7B #7BCFC5
square
#9B7BCF #CF7B85 #AFCF7B #7BCFC5
split-complementary
#9B7BCF #CFC57B #85CF7B
monochromatic
#5C3798 #794EBF #9B7BCF #BDA8DF #DFD5F0

Accessibility & contrast

On white

3.43
#9B7BCF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#9B7BCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B7BCF
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B7BCF#FFFFFF#000000##000000
##9B7BCF1.003.436.136.13
#FFFFFF3.431.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#658AD2
Deuteranopia (green-blind)
#6C8ACD
Tritanopia (blue-blind)
#91899B
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #9b7bcf;
/* rgb */ color: rgb(155, 123, 207);
/* oklch */ color: oklch(64.7% 0.126 300.5);
Tailwind
colors: {
  custom: {
    50: '#baa1de',
    500: '#9b7bcf',
    950: '#000000',
  },
}
SCSS
$custom: #9b7bcf;
$custom-light: #baa1de;
$custom-dark: #000000;
JSON
{
  "hex": "#9b7bcf",
  "rgb": {
    "r": 155,
    "g": 123,
    "b": 207
  },
  "hsl": {
    "h": 262.857,
    "s": 46.667,
    "l": 64.706
  },
  "oklch": {
    "l": 0.64717,
    "c": 0.12608,
    "h": 300.5
  },
  "luminance": 0.25639
}

Semantic roles & 50–950 ramp

primary
#9B7BCF
secondary
#D6E1C4
accent
#BA2C84
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#120F15
muted
#817E83

Preview Lab

Preview with #9B7BCF

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

Preview Lab → · Contrast checker → · Palette generator →

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