#9D6EF7#9D6EF7

#9D6EF7 is a light, vivid violet. Relative luminance 0.250; OKLCH L 65.0% C 0.197 H 296.3°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#9D6EF7
RGBrgb(157, 110, 247)
HSLhsl(261, 90%, 70%)
HSVhsv(261, 55%, 97%)
CMYKcmyk(36.4%, 55.5%, 0%, 3.1%)
CIE-LABlab(57.11, 47.52, -62.27)
CIE-LCHlch(57.11, 78.33, 307.35°)
OKLaboklab(65.02% 0.0874 -0.1766)
OKLCHoklch(65.02% 0.197 296.3)
XYZxyz(36.2648, 25.0347, 90.8992)
Luminance0.2504 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D6EF7 #C8F76E
analogous
#6E84F7 #9D6EF7 #E16EF7
triadic
#9D6EF7 #F79D6E #6EF79D
tetradic
#9D6EF7 #F76E84 #C8F76E #6EF7E1
square
#9D6EF7 #F76E84 #C8F76E #6EF7E1
split-complementary
#9D6EF7 #F7E16E #84F76E
monochromatic
#540CDE #7634F4 #9D6EF7 #C4A8FA #EBE2FD

Accessibility & contrast

On white

3.50
#9D6EF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#9D6EF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D6EF7
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D6EF7#FFFFFF#000000##000000
##9D6EF71.003.506.016.01
#FFFFFF3.501.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C8AFC
Deuteranopia (green-blind)
#3D87F4
Tritanopia (blue-blind)
#888AA8
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #9d6ef7;
/* rgb */ color: rgb(157, 110, 247);
/* oklch */ color: oklch(65.0% 0.197 296.3);
Tailwind
colors: {
  custom: {
    50: '#bf99fb',
    500: '#9d6ef7',
    950: '#000000',
  },
}
SCSS
$custom: #9d6ef7;
$custom-light: #bf99fb;
$custom-dark: #000000;
JSON
{
  "hex": "#9d6ef7",
  "rgb": {
    "r": 157,
    "g": 110,
    "b": 247
  },
  "hsl": {
    "h": 260.584,
    "s": 89.542,
    "l": 70
  },
  "oklch": {
    "l": 0.65019,
    "c": 0.19708,
    "h": 296.3
  },
  "luminance": 0.25035
}

Semantic roles & 50–950 ramp

primary
#9D6EF7
secondary
#E6F4CD
accent
#E60097
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #9D6EF7

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

Preview Lab → · Contrast checker → · Palette generator →

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