#9B7CF6#9B7CF6

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

Color values

HEX#9B7CF6
RGBrgb(155, 124, 246)
HSLhsl(255, 87%, 73%)
HSVhsv(255, 50%, 96%)
CMYKcmyk(37%, 49.6%, 0%, 3.5%)
CIE-LABlab(59.92, 39.00, -57.22)
CIE-LCHlch(59.92, 69.25, 304.27°)
OKLaboklab(67.04% 0.0679 -0.1619)
OKLCHoklch(67.04% 0.176 292.7)
XYZxyz(37.3554, 28.0368, 90.6144)
Luminance0.2804 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B7CF6 #D7F67C
analogous
#7C9AF6 #9B7CF6 #D87CF6
triadic
#9B7CF6 #F69B7C #7CF69B
tetradic
#9B7CF6 #F67C9A #D7F67C #7CF6D8
square
#9B7CF6 #F67C9A #D7F67C #7CF6D8
split-complementary
#9B7CF6 #F6D87C #9AF67C
monochromatic
#4710E8 #6F43F2 #9B7CF6 #C7B5FA #E9E2FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9B7CF6#FFFFFF#000000##000000
##9B7CF61.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)
#4D92FA
Deuteranopia (green-blind)
#528EF3
Tritanopia (blue-blind)
#8494AE
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #9b7cf6;
/* rgb */ color: rgb(155, 124, 246);
/* oklch */ color: oklch(67.0% 0.176 292.7);
Tailwind
colors: {
  custom: {
    50: '#bca2fa',
    500: '#9b7cf6',
    950: '#000000',
  },
}
SCSS
$custom: #9b7cf6;
$custom-light: #bca2fa;
$custom-dark: #000000;
JSON
{
  "hex": "#9b7cf6",
  "rgb": {
    "r": 155,
    "g": 124,
    "b": 246
  },
  "hsl": {
    "h": 255.246,
    "s": 87.143,
    "l": 72.549
  },
  "oklch": {
    "l": 0.67042,
    "c": 0.17553,
    "h": 292.7
  },
  "luminance": 0.28038
}

Semantic roles & 50–950 ramp

primary
#9B7CF6
secondary
#EDF5D6
accent
#E402AA
background
#FBFAFF
surface
#F7F3FF
border
#D0CDD7
text
#120F17
muted
#817F85

Preview Lab

Preview with #9B7CF6

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

Preview Lab → · Contrast checker → · Palette generator →

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