#9B7BCE#9B7BCE

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

Color values

HEX#9B7BCE
RGBrgb(155, 123, 206)
HSLhsl(263, 46%, 65%)
HSVhsv(263, 40%, 81%)
CMYKcmyk(24.8%, 40.3%, 0%, 19.2%)
CIE-LABlab(57.65, 29.44, -38.48)
CIE-LCHlch(57.65, 48.45, 307.42°)
OKLaboklab(64.67% 0.0638 -0.1072)
OKLCHoklch(64.67% 0.125 300.7)
XYZxyz(31.7386, 25.5906, 61.6479)
Luminance0.2559 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B7BCE #AECE7B
analogous
#7B85CE #9B7BCE #C57BCE
triadic
#9B7BCE #CE9B7B #7BCE9B
tetradic
#9B7BCE #CE7B85 #AECE7B #7BCEC5
square
#9B7BCE #CE7B85 #AECE7B #7BCEC5
split-complementary
#9B7BCE #CEC57B #85CE7B
monochromatic
#5C3897 #794EBD #9B7BCE #BDA8DF #DFD4EF

Accessibility & contrast

On white

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

On black

6.12
#9B7BCE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B7BCE
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B7BCE#FFFFFF#000000##000000
##9B7BCE1.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#668AD1
Deuteranopia (green-blind)
#6C8ACC
Tritanopia (blue-blind)
#92899B
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #9b7bce;
/* rgb */ color: rgb(155, 123, 206);
/* oklch */ color: oklch(64.7% 0.125 300.7);
Tailwind
colors: {
  custom: {
    50: '#baa1dd',
    500: '#9b7bce',
    950: '#000000',
  },
}
SCSS
$custom: #9b7bce;
$custom-light: #baa1dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9b7bce",
  "rgb": {
    "r": 155,
    "g": 123,
    "b": 206
  },
  "hsl": {
    "h": 263.133,
    "s": 45.856,
    "l": 64.51
  },
  "oklch": {
    "l": 0.64667,
    "c": 0.12476,
    "h": 300.7
  },
  "luminance": 0.25591
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9B7BCE

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

Preview Lab → · Contrast checker → · Palette generator →

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