#9D6DFB#9D6DFB

#9D6DFB is a light, highly saturated violet. Relative luminance 0.251; OKLCH L 65.1% C 0.203 H 295.8°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#9D6DFB
RGBrgb(157, 109, 251)
HSLhsl(260, 95%, 71%)
HSVhsv(260, 57%, 98%)
CMYKcmyk(37.5%, 56.6%, 0%, 1.6%)
CIE-LABlab(57.14, 49.09, -64.43)
CIE-LCHlch(57.14, 81.00, 307.30°)
OKLaboklab(65.12% 0.0886 -0.183)
OKLCHoklch(65.12% 0.203 295.8)
XYZxyz(36.7814, 25.0697, 94.1492)
Luminance0.2507 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D6DFB #CBFB6D
analogous
#6D84FB #9D6DFB #E46DFB
triadic
#9D6DFB #FB9D6D #6DFB9D
tetradic
#9D6DFB #FB6D84 #CBFB6D #6DFBE4
square
#9D6DFB #FB6D84 #CBFB6D #6DFBE4
split-complementary
#9D6DFB #FBE46D #84FB6D
monochromatic
#5206E7 #7531F9 #9D6DFB #C5A9FD #EBE1FE

Accessibility & contrast

On white

3.49
#9D6DFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D6DFB#FFFFFF#000000##000000
##9D6DFB1.003.496.016.01
#FFFFFF3.491.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#208AFF
Deuteranopia (green-blind)
#3587F8
Tritanopia (blue-blind)
#868BAA
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #9d6dfb;
/* rgb */ color: rgb(157, 109, 251);
/* oklch */ color: oklch(65.1% 0.203 295.8);
Tailwind
colors: {
  custom: {
    50: '#bf98fd',
    500: '#9d6dfb',
    950: '#000000',
  },
}
SCSS
$custom: #9d6dfb;
$custom-light: #bf98fd;
$custom-dark: #000000;
JSON
{
  "hex": "#9d6dfb",
  "rgb": {
    "r": 157,
    "g": 109,
    "b": 251
  },
  "hsl": {
    "h": 260.282,
    "s": 94.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.65122,
    "c": 0.20331,
    "h": 295.8
  },
  "luminance": 0.2507
}

Semantic roles & 50–950 ramp

primary
#9D6DFB
secondary
#E8F5CF
accent
#E60098
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #9D6DFB

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

Preview Lab → · Contrast checker → · Palette generator →

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