#9B6DED#9B6DED

#9B6DED is a light, vivid violet. Relative luminance 0.240; OKLCH L 64.0% C 0.186 H 297.5°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#9B6DED
RGBrgb(155, 109, 237)
HSLhsl(262, 78%, 68%)
HSVhsv(262, 54%, 93%)
CMYKcmyk(34.6%, 54%, 0%, 7.1%)
CIE-LABlab(56.11, 45.06, -58.33)
CIE-LCHlch(56.11, 73.71, 307.69°)
OKLaboklab(64.04% 0.0859 -0.1651)
OKLCHoklch(64.04% 0.186 297.5)
XYZxyz(34.2685, 24.0198, 82.9352)
Luminance0.2402 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B6DED #BFED6D
analogous
#6D7FED #9B6DED #DB6DED
triadic
#9B6DED #ED9B6D #6DED9B
tetradic
#9B6DED #ED6D7F #BFED6D #6DEDDB
square
#9B6DED #ED6D7F #BFED6D #6DEDDB
split-complementary
#9B6DED #EDDB6D #7FED6D
monochromatic
#5719C7 #7637E6 #9B6DED #C0A3F4 #E6DAFA

Accessibility & contrast

On white

3.62
#9B6DED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#9B6DED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B6DED
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B6DED#FFFFFF#000000##000000
##9B6DED1.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3687F1
Deuteranopia (green-blind)
#4585EA
Tritanopia (blue-blind)
#8987A3
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #9b6ded;
/* rgb */ color: rgb(155, 109, 237);
/* oklch */ color: oklch(64.0% 0.186 297.5);
Tailwind
colors: {
  custom: {
    50: '#bd98f3',
    500: '#9b6ded',
    950: '#000000',
  },
}
SCSS
$custom: #9b6ded;
$custom-light: #bd98f3;
$custom-dark: #000000;
JSON
{
  "hex": "#9b6ded",
  "rgb": {
    "r": 155,
    "g": 109,
    "b": 237
  },
  "hsl": {
    "h": 261.563,
    "s": 78.049,
    "l": 67.843
  },
  "oklch": {
    "l": 0.64043,
    "c": 0.18612,
    "h": 297.5
  },
  "luminance": 0.2402
}

Semantic roles & 50–950 ramp

primary
#9B6DED
secondary
#E0EFC7
accent
#DA0B90
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120E17
muted
#817E85

Preview Lab

Preview with #9B6DED

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

Preview Lab → · Contrast checker → · Palette generator →

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