#9B7DFD#9B7DFD

#9B7DFD is a light, vivid violet. Relative luminance 0.287; OKLCH L 67.6% C 0.183 H 291.5°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#9B7DFD
RGBrgb(155, 125, 253)
HSLhsl(254, 97%, 74%)
HSVhsv(254, 51%, 99%)
CMYKcmyk(38.7%, 50.6%, 0%, 0.8%)
CIE-LABlab(60.54, 40.28, -60.09)
CIE-LCHlch(60.54, 72.35, 303.83°)
OKLaboklab(67.63% 0.0672 -0.1703)
OKLCHoklch(67.63% 0.183 291.5)
XYZxyz(38.5760, 28.7266, 96.4218)
Luminance0.2873 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B7DFD #DFFD7D
analogous
#7D9FFD #9B7DFD #DB7DFD
triadic
#9B7DFD #FD9B7D #7DFD9B
tetradic
#9B7DFD #FD7D9F #DFFD7D #7DFDDB
square
#9B7DFD #FD7D9F #DFFD7D #7DFDDB
split-complementary
#9B7DFD #FDDB7D #9FFD7D
monochromatic
#3E04FB #6D41FC #9B7DFD #C9B9FE #E8E1FF

Accessibility & contrast

On white

3.11
#9B7DFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.75
#9B7DFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B7DFD
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B7DFD#FFFFFF#000000##000000
##9B7DFD1.003.116.756.75
#FFFFFF3.111.0021.0021.00
#0000006.7521.001.001.00
##0000006.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4894FF
Deuteranopia (green-blind)
#4C8FFA
Tritanopia (blue-blind)
#8197B1
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #9b7dfd;
/* rgb */ color: rgb(155, 125, 253);
/* oklch */ color: oklch(67.6% 0.183 291.5);
Tailwind
colors: {
  custom: {
    50: '#bda3ff',
    500: '#9b7dfd',
    950: '#000000',
  },
}
SCSS
$custom: #9b7dfd;
$custom-light: #bda3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#9b7dfd",
  "rgb": {
    "r": 155,
    "g": 125,
    "b": 253
  },
  "hsl": {
    "h": 254.063,
    "s": 96.97,
    "l": 74.118
  },
  "oklch": {
    "l": 0.6763,
    "c": 0.18307,
    "h": 291.5
  },
  "luminance": 0.28728
}

Semantic roles & 50–950 ramp

primary
#9B7DFD
secondary
#EFF7D4
accent
#E600B0
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#120F18
muted
#817F86

Preview Lab

Preview with #9B7DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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