#9B7BF9#9B7BF9

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

Color values

HEX#9B7BF9
RGBrgb(155, 123, 249)
HSLhsl(255, 91%, 73%)
HSVhsv(255, 51%, 98%)
CMYKcmyk(37.8%, 50.6%, 0%, 2.4%)
CIE-LABlab(59.86, 40.35, -58.97)
CIE-LCHlch(59.86, 71.46, 304.38°)
OKLaboklab(67.05% 0.0693 -0.167)
OKLCHoklch(67.05% 0.181 292.5)
XYZxyz(37.6949, 27.9731, 93.0175)
Luminance0.2797 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B7BF9 #D9F97B
analogous
#7B9AF9 #9B7BF9 #DA7BF9
triadic
#9B7BF9 #F99B7B #7BF99B
tetradic
#9B7BF9 #F97B9A #D9F97B #7BF9DA
square
#9B7BF9 #F97B9A #D9F97B #7BF9DA
split-complementary
#9B7BF9 #F9DA7B #9AF97B
monochromatic
#450BEF #6F40F6 #9B7BF9 #C7B6FC #E9E2FE

Accessibility & contrast

On white

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

On black

6.59
#9B7BF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B7BF9
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B7BF9#FFFFFF#000000##000000
##9B7BF91.003.186.596.59
#FFFFFF3.181.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4892FD
Deuteranopia (green-blind)
#4D8EF6
Tritanopia (blue-blind)
#8395AF
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #9b7bf9;
/* rgb */ color: rgb(155, 123, 249);
/* oklch */ color: oklch(67.1% 0.181 292.5);
Tailwind
colors: {
  custom: {
    50: '#bda2fc',
    500: '#9b7bf9',
    950: '#000000',
  },
}
SCSS
$custom: #9b7bf9;
$custom-light: #bda2fc;
$custom-dark: #000000;
JSON
{
  "hex": "#9b7bf9",
  "rgb": {
    "r": 155,
    "g": 123,
    "b": 249
  },
  "hsl": {
    "h": 255.238,
    "s": 91.304,
    "l": 72.941
  },
  "oklch": {
    "l": 0.67054,
    "c": 0.18083,
    "h": 292.5
  },
  "luminance": 0.27974
}

Semantic roles & 50–950 ramp

primary
#9B7BF9
secondary
#EEF6D5
accent
#E600AB
background
#FCFAFF
surface
#F8F3FF
border
#D1CDD7
text
#120F17
muted
#817F85

Preview Lab

Preview with #9B7BF9

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

Preview Lab → · Contrast checker → · Palette generator →

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