#9D6DF6#9D6DF6

#9D6DF6 is a light, vivid violet. Relative luminance 0.248; OKLCH L 64.8% C 0.197 H 296.7°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#9D6DF6
RGBrgb(157, 109, 246)
HSLhsl(261, 88%, 70%)
HSVhsv(261, 56%, 96%)
CMYKcmyk(36.2%, 55.7%, 0%, 3.5%)
CIE-LABlab(56.84, 47.81, -62.15)
CIE-LCHlch(56.84, 78.41, 307.57°)
OKLaboklab(64.8% 0.0886 -0.1763)
OKLCHoklch(64.8% 0.197 296.7)
XYZxyz(36.0036, 24.7586, 90.0529)
Luminance0.2476 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D6DF6 #C6F66D
analogous
#6D82F6 #9D6DF6 #E26DF6
triadic
#9D6DF6 #F69D6D #6DF69D
tetradic
#9D6DF6 #F66D82 #C6F66D #6DF6E2
square
#9D6DF6 #F66D82 #C6F66D #6DF6E2
split-complementary
#9D6DF6 #F6E26D #82F66D
monochromatic
#560EDB #7633F2 #9D6DF6 #C4A7FA #EAE0FD

Accessibility & contrast

On white

3.53
#9D6DF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#9D6DF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D6DF6
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D6DF6#FFFFFF#000000##000000
##9D6DF61.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A89FB
Deuteranopia (green-blind)
#3C87F3
Tritanopia (blue-blind)
#8889A7
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #9d6df6;
/* rgb */ color: rgb(157, 109, 246);
/* oklch */ color: oklch(64.8% 0.197 296.7);
Tailwind
colors: {
  custom: {
    50: '#bf98fa',
    500: '#9d6df6',
    950: '#000000',
  },
}
SCSS
$custom: #9d6df6;
$custom-light: #bf98fa;
$custom-dark: #000000;
JSON
{
  "hex": "#9d6df6",
  "rgb": {
    "r": 157,
    "g": 109,
    "b": 246
  },
  "hsl": {
    "h": 261.022,
    "s": 88.387,
    "l": 69.608
  },
  "oklch": {
    "l": 0.64801,
    "c": 0.19728,
    "h": 296.7
  },
  "luminance": 0.24759
}

Semantic roles & 50–950 ramp

primary
#9D6DF6
secondary
#E5F3CC
accent
#E50195
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #9D6DF6

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

Preview Lab → · Contrast checker → · Palette generator →

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