#9B7BFD#9B7BFD

#9B7BFD is a light, vivid violet. Relative luminance 0.282; OKLCH L 67.3% C 0.186 H 292.0°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#9B7BFD
RGBrgb(155, 123, 253)
HSLhsl(255, 97%, 74%)
HSVhsv(255, 51%, 99%)
CMYKcmyk(38.7%, 51.4%, 0%, 0.8%)
CIE-LABlab(60.09, 41.41, -60.81)
CIE-LCHlch(60.09, 73.57, 304.25°)
OKLaboklab(67.3% 0.0696 -0.1724)
OKLCHoklch(67.3% 0.186 292)
XYZxyz(38.3254, 28.2253, 96.3382)
Luminance0.2823 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B7BFD #DDFD7B
analogous
#7B9CFD #9B7BFD #DC7BFD
triadic
#9B7BFD #FD9B7B #7BFD9B
tetradic
#9B7BFD #FD7B9C #DDFD7B #7BFDDC
square
#9B7BFD #FD7B9C #DDFD7B #7BFDDC
split-complementary
#9B7BFD #FDDC7B #9CFD7B
monochromatic
#4004FA #6D3FFC #9B7BFD #C9B7FE #E8E1FF

Accessibility & contrast

On white

3.16
#9B7BFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.65
#9B7BFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B7BFD
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B7BFD#FFFFFF#000000##000000
##9B7BFD1.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4493FF
Deuteranopia (green-blind)
#498EFA
Tritanopia (blue-blind)
#8196B1
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #9b7bfd;
/* rgb */ color: rgb(155, 123, 253);
/* oklch */ color: oklch(67.3% 0.186 292.0);
Tailwind
colors: {
  custom: {
    50: '#bda2ff',
    500: '#9b7bfd',
    950: '#000000',
  },
}
SCSS
$custom: #9b7bfd;
$custom-light: #bda2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#9b7bfd",
  "rgb": {
    "r": 155,
    "g": 123,
    "b": 253
  },
  "hsl": {
    "h": 254.769,
    "s": 97.015,
    "l": 73.725
  },
  "oklch": {
    "l": 0.67296,
    "c": 0.18592,
    "h": 292
  },
  "luminance": 0.28226
}

Semantic roles & 50–950 ramp

primary
#9B7BFD
secondary
#EEF7D4
accent
#E600AD
background
#FCFAFF
surface
#F8F3FF
border
#D1CDD7
text
#120F18
muted
#817F86

Preview Lab

Preview with #9B7BFD

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

Preview Lab → · Contrast checker → · Palette generator →

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