#9B7DF1#9B7DF1

#9B7DF1 is a light, vivid violet. Relative luminance 0.280; OKLCH L 66.9% C 0.168 H 293.3°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#9B7DF1
RGBrgb(155, 125, 241)
HSLhsl(256, 81%, 72%)
HSVhsv(256, 48%, 95%)
CMYKcmyk(35.7%, 48.1%, 0%, 5.5%)
CIE-LABlab(59.88, 37.12, -54.53)
CIE-LCHlch(59.88, 65.97, 304.24°)
OKLaboklab(66.92% 0.0662 -0.154)
OKLCHoklch(66.92% 0.168 293.3)
XYZxyz(36.7242, 27.9859, 86.6690)
Luminance0.2799 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B7DF1 #D3F17D
analogous
#7D99F1 #9B7DF1 #D57DF1
triadic
#9B7DF1 #F19B7D #7DF19B
tetradic
#9B7DF1 #F17D99 #D3F17D #7DF1D5
square
#9B7DF1 #F17D99 #D3F17D #7DF1D5
split-complementary
#9B7DF1 #F1D57D #99F17D
monochromatic
#4A18DC #7146EB #9B7DF1 #C6B4F7 #EAE3FC

Accessibility & contrast

On white

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

On black

6.60
#9B7DF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B7DF1
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B7DF1#FFFFFF#000000##000000
##9B7DF11.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5392F5
Deuteranopia (green-blind)
#578EEE
Tritanopia (blue-blind)
#8694AC
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #9b7df1;
/* rgb */ color: rgb(155, 125, 241);
/* oklch */ color: oklch(66.9% 0.168 293.3);
Tailwind
colors: {
  custom: {
    50: '#bca3f6',
    500: '#9b7df1',
    950: '#000000',
  },
}
SCSS
$custom: #9b7df1;
$custom-light: #bca3f6;
$custom-dark: #000000;
JSON
{
  "hex": "#9b7df1",
  "rgb": {
    "r": 155,
    "g": 125,
    "b": 241
  },
  "hsl": {
    "h": 255.517,
    "s": 80.556,
    "l": 71.765
  },
  "oklch": {
    "l": 0.66919,
    "c": 0.16761,
    "h": 293.3
  },
  "luminance": 0.27987
}

Semantic roles & 50–950 ramp

primary
#9B7DF1
secondary
#ECF4D6
accent
#DD09A6
background
#FBFAFF
surface
#F7F4FE
border
#D0CED6
text
#120F17
muted
#817F85

Preview Lab

Preview with #9B7DF1

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

Preview Lab → · Contrast checker → · Palette generator →

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