#9D6DF7#9D6DF7

#9D6DF7 is a light, vivid violet. Relative luminance 0.248; OKLCH L 64.9% C 0.199 H 296.5°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#9D6DF7
RGBrgb(157, 109, 247)
HSLhsl(261, 90%, 70%)
HSVhsv(261, 56%, 97%)
CMYKcmyk(36.4%, 55.9%, 0%, 3.1%)
CIE-LABlab(56.90, 48.07, -62.61)
CIE-LCHlch(56.90, 78.93, 307.52°)
OKLaboklab(64.86% 0.0886 -0.1776)
OKLCHoklch(64.86% 0.199 296.5)
XYZxyz(36.1575, 24.8202, 90.8634)
Luminance0.2482 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D6DF7 #C7F76D
analogous
#6D82F7 #9D6DF7 #E26DF7
triadic
#9D6DF7 #F79D6D #6DF79D
tetradic
#9D6DF7 #F76D82 #C7F76D #6DF7E2
square
#9D6DF7 #F76D82 #C7F76D #6DF7E2
split-complementary
#9D6DF7 #F7E26D #82F76D
monochromatic
#550CDD #7633F4 #9D6DF7 #C4A7FA #EBE1FD

Accessibility & contrast

On white

3.52
#9D6DF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#9D6DF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D6DF7
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D6DF7#FFFFFF#000000##000000
##9D6DF71.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2989FC
Deuteranopia (green-blind)
#3B87F4
Tritanopia (blue-blind)
#888AA8
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #9d6df7;
/* rgb */ color: rgb(157, 109, 247);
/* oklch */ color: oklch(64.9% 0.199 296.5);
Tailwind
colors: {
  custom: {
    50: '#bf98fb',
    500: '#9d6df7',
    950: '#000000',
  },
}
SCSS
$custom: #9d6df7;
$custom-light: #bf98fb;
$custom-dark: #000000;
JSON
{
  "hex": "#9d6df7",
  "rgb": {
    "r": 157,
    "g": 109,
    "b": 247
  },
  "hsl": {
    "h": 260.87,
    "s": 89.61,
    "l": 69.804
  },
  "oklch": {
    "l": 0.64864,
    "c": 0.1985,
    "h": 296.5
  },
  "luminance": 0.24821
}

Semantic roles & 50–950 ramp

primary
#9D6DF7
secondary
#E6F3CC
accent
#E60096
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #9D6DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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