#9B7BD6#9B7BD6

#9B7BD6 is a light, vivid violet. Relative luminance 0.260; OKLCH L 65.1% C 0.135 H 298.8°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#9B7BD6
RGBrgb(155, 123, 214)
HSLhsl(261, 53%, 66%)
HSVhsv(261, 43%, 84%)
CMYKcmyk(27.6%, 42.5%, 0%, 16.1%)
CIE-LABlab(58.03, 31.40, -42.39)
CIE-LCHlch(58.03, 52.75, 306.53°)
OKLaboklab(65.08% 0.0652 -0.1186)
OKLCHoklch(65.08% 0.135 298.8)
XYZxyz(32.7353, 25.9893, 66.8971)
Luminance0.2599 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B7BD6 #B6D67B
analogous
#7B88D6 #9B7BD6 #C87BD6
triadic
#9B7BD6 #D69B7B #7BD69B
tetradic
#9B7BD6 #D67B88 #B6D67B #7BD6C8
square
#9B7BD6 #D67B88 #B6D67B #7BD6C8
split-complementary
#9B7BD6 #D6C87B #88D67B
monochromatic
#5B33A4 #784CC7 #9B7BD6 #BEAAE5 #E2D8F3

Accessibility & contrast

On white

3.39
#9B7BD6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#9B7BD6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B7BD6
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B7BD6#FFFFFF#000000##000000
##9B7BD61.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#618BD9
Deuteranopia (green-blind)
#688BD4
Tritanopia (blue-blind)
#8F8B9E
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #9b7bd6;
/* rgb */ color: rgb(155, 123, 214);
/* oklch */ color: oklch(65.1% 0.135 298.8);
Tailwind
colors: {
  custom: {
    50: '#baa1e3',
    500: '#9b7bd6',
    950: '#000000',
  },
}
SCSS
$custom: #9b7bd6;
$custom-light: #baa1e3;
$custom-dark: #000000;
JSON
{
  "hex": "#9b7bd6",
  "rgb": {
    "r": 155,
    "g": 123,
    "b": 214
  },
  "hsl": {
    "h": 261.099,
    "s": 52.601,
    "l": 66.078
  },
  "oklch": {
    "l": 0.65079,
    "c": 0.13533,
    "h": 298.8
  },
  "luminance": 0.2599
}

Semantic roles & 50–950 ramp

primary
#9B7BD6
secondary
#DBE5C7
accent
#C0258A
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#120F15
muted
#817E83

Preview Lab

Preview with #9B7BD6

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

Preview Lab → · Contrast checker → · Palette generator →

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