#9B7BFA#9B7BFA

#9B7BFA is a light, vivid violet. Relative luminance 0.280; OKLCH L 67.1% C 0.182 H 292.4°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#9B7BFA
RGBrgb(155, 123, 250)
HSLhsl(255, 93%, 73%)
HSVhsv(255, 51%, 98%)
CMYKcmyk(38%, 50.8%, 0%, 2%)
CIE-LABlab(59.92, 40.62, -59.43)
CIE-LCHlch(59.92, 71.98, 304.35°)
OKLaboklab(67.11% 0.0694 -0.1684)
OKLCHoklch(67.11% 0.182 292.4)
XYZxyz(37.8512, 28.0357, 93.8411)
Luminance0.2804 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B7BFA #DAFA7B
analogous
#7B9AFA #9B7BFA #DA7BFA
triadic
#9B7BFA #FA9B7B #7BFA9B
tetradic
#9B7BFA #FA7B9A #DAFA7B #7BFADA
square
#9B7BFA #FA7B9A #DAFA7B #7BFADA
split-complementary
#9B7BFA #FADA7B #9AFA7B
monochromatic
#4409F1 #6E40F8 #9B7BFA #C8B6FC #E9E2FE

Accessibility & contrast

On white

3.18
#9B7BFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.61
#9B7BFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B7BFA
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B7BFA#FFFFFF#000000##000000
##9B7BFA1.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4792FE
Deuteranopia (green-blind)
#4C8EF7
Tritanopia (blue-blind)
#8395AF
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #9b7bfa;
/* rgb */ color: rgb(155, 123, 250);
/* oklch */ color: oklch(67.1% 0.182 292.4);
Tailwind
colors: {
  custom: {
    50: '#bda2fd',
    500: '#9b7bfa',
    950: '#000000',
  },
}
SCSS
$custom: #9b7bfa;
$custom-light: #bda2fd;
$custom-dark: #000000;
JSON
{
  "hex": "#9b7bfa",
  "rgb": {
    "r": 155,
    "g": 123,
    "b": 250
  },
  "hsl": {
    "h": 255.118,
    "s": 92.701,
    "l": 73.137
  },
  "oklch": {
    "l": 0.67114,
    "c": 0.1821,
    "h": 292.4
  },
  "luminance": 0.28037
}

Semantic roles & 50–950 ramp

primary
#9B7BFA
secondary
#EEF6D5
accent
#E600AC
background
#FCFAFF
surface
#F8F3FF
border
#D1CDD7
text
#120F18
muted
#817F86

Preview Lab

Preview with #9B7BFA

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

Preview Lab → · Contrast checker → · Palette generator →

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