#9B7DF5#9B7DF5

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

Color values

HEX#9B7DF5
RGBrgb(155, 125, 245)
HSLhsl(255, 86%, 73%)
HSVhsv(255, 49%, 96%)
CMYKcmyk(36.7%, 49%, 0%, 3.9%)
CIE-LABlab(60.09, 38.17, -56.40)
CIE-LCHlch(60.09, 68.10, 304.09°)
OKLaboklab(67.15% 0.0666 -0.1595)
OKLCHoklch(67.15% 0.173 292.7)
XYZxyz(37.3283, 28.2275, 89.8502)
Luminance0.2823 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B7DF5 #D7F57D
analogous
#7D9BF5 #9B7DF5 #D77DF5
triadic
#9B7DF5 #F59B7D #7DF59B
tetradic
#9B7DF5 #F57D9B #D7F57D #7DF5D7
square
#9B7DF5 #F57D9B #D7F57D #7DF5D7
split-complementary
#9B7DF5 #F5D77D #9BF57D
monochromatic
#4712E6 #6F44F1 #9B7DF5 #C7B6F9 #E9E3FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9B7DF5#FFFFFF#000000##000000
##9B7DF51.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)
#4F92F9
Deuteranopia (green-blind)
#548FF2
Tritanopia (blue-blind)
#8495AE
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #9b7df5;
/* rgb */ color: rgb(155, 125, 245);
/* oklch */ color: oklch(67.2% 0.173 292.7);
Tailwind
colors: {
  custom: {
    50: '#bca3f9',
    500: '#9b7df5',
    950: '#000000',
  },
}
SCSS
$custom: #9b7df5;
$custom-light: #bca3f9;
$custom-dark: #000000;
JSON
{
  "hex": "#9b7df5",
  "rgb": {
    "r": 155,
    "g": 125,
    "b": 245
  },
  "hsl": {
    "h": 255,
    "s": 85.714,
    "l": 72.549
  },
  "oklch": {
    "l": 0.67153,
    "c": 0.17279,
    "h": 292.7
  },
  "luminance": 0.28228
}

Semantic roles & 50–950 ramp

primary
#9B7DF5
secondary
#EDF5D6
accent
#E203AA
background
#FBFAFF
surface
#F7F4FF
border
#D0CED7
text
#120F17
muted
#817F85

Preview Lab

Preview with #9B7DF5

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

Preview Lab → · Contrast checker → · Palette generator →

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