#9D6FF7#9D6FF7

#9D6FF7 is a light, vivid violet. Relative luminance 0.253; OKLCH L 65.2% C 0.196 H 296.1°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#9D6FF7
RGBrgb(157, 111, 247)
HSLhsl(260, 89%, 70%)
HSVhsv(260, 55%, 97%)
CMYKcmyk(36.4%, 55.1%, 0%, 3.1%)
CIE-LABlab(57.32, 46.98, -61.93)
CIE-LCHlch(57.32, 77.73, 307.18°)
OKLaboklab(65.17% 0.0862 -0.1756)
OKLCHoklch(65.17% 0.196 296.1)
XYZxyz(36.3733, 25.2518, 90.9354)
Luminance0.2525 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D6FF7 #C9F76F
analogous
#6F85F7 #9D6FF7 #E16FF7
triadic
#9D6FF7 #F79D6F #6FF79D
tetradic
#9D6FF7 #F76F85 #C9F76F #6FF7E1
square
#9D6FF7 #F76F85 #C9F76F #6FF7E1
split-complementary
#9D6FF7 #F7E16F #85F76F
monochromatic
#540CDF #7635F4 #9D6FF7 #C4A9FA #EBE2FD

Accessibility & contrast

On white

3.47
#9D6FF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#9D6FF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D6FF7
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D6FF7#FFFFFF#000000##000000
##9D6FF71.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F8AFC
Deuteranopia (green-blind)
#3E88F4
Tritanopia (blue-blind)
#888BA8
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #9d6ff7;
/* rgb */ color: rgb(157, 111, 247);
/* oklch */ color: oklch(65.2% 0.196 296.1);
Tailwind
colors: {
  custom: {
    50: '#be9afb',
    500: '#9d6ff7',
    950: '#000000',
  },
}
SCSS
$custom: #9d6ff7;
$custom-light: #be9afb;
$custom-dark: #000000;
JSON
{
  "hex": "#9d6ff7",
  "rgb": {
    "r": 157,
    "g": 111,
    "b": 247
  },
  "hsl": {
    "h": 260.294,
    "s": 89.474,
    "l": 70.196
  },
  "oklch": {
    "l": 0.65174,
    "c": 0.19566,
    "h": 296.1
  },
  "luminance": 0.25252
}

Semantic roles & 50–950 ramp

primary
#9D6FF7
secondary
#E7F4CE
accent
#E60098
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #9D6FF7

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

Preview Lab → · Contrast checker → · Palette generator →

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