#9A6DED#9A6DED

#9A6DED is a light, vivid violet. Relative luminance 0.239; OKLCH L 63.9% C 0.186 H 297.1°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#9A6DED
RGBrgb(154, 109, 237)
HSLhsl(261, 78%, 68%)
HSVhsv(261, 54%, 93%)
CMYKcmyk(35%, 54%, 0%, 7.1%)
CIE-LABlab(56.01, 44.82, -58.49)
CIE-LCHlch(56.01, 73.69, 307.46°)
OKLaboklab(63.95% 0.0846 -0.1656)
OKLCHoklch(63.95% 0.186 297.1)
XYZxyz(34.0773, 23.9212, 82.9262)
Luminance0.2392 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A6DED #C0ED6D
analogous
#6D80ED #9A6DED #DA6DED
triadic
#9A6DED #ED9A6D #6DED9A
tetradic
#9A6DED #ED6D80 #C0ED6D #6DEDDA
square
#9A6DED #ED6D80 #C0ED6D #6DEDDA
split-complementary
#9A6DED #EDDA6D #80ED6D
monochromatic
#5619C7 #7437E6 #9A6DED #C0A3F4 #E5DAFA

Accessibility & contrast

On white

3.63
#9A6DED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#9A6DED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A6DED
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A6DED#FFFFFF#000000##000000
##9A6DED1.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9a6ded;
/* rgb */ color: rgb(154, 109, 237);
/* oklch */ color: oklch(63.9% 0.186 297.1);
Tailwind
colors: {
  custom: {
    50: '#bc98f3',
    500: '#9a6ded',
    950: '#000000',
  },
}
SCSS
$custom: #9a6ded;
$custom-light: #bc98f3;
$custom-dark: #000000;
JSON
{
  "hex": "#9a6ded",
  "rgb": {
    "r": 154,
    "g": 109,
    "b": 237
  },
  "hsl": {
    "h": 261.094,
    "s": 78.049,
    "l": 67.843
  },
  "oklch": {
    "l": 0.63948,
    "c": 0.186,
    "h": 297.1
  },
  "luminance": 0.23922
}

Semantic roles & 50–950 ramp

primary
#9A6DED
secondary
#E1EFC7
accent
#DA0B91
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120E17
muted
#817E85

Preview Lab

Preview with #9A6DED

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

Preview Lab → · Contrast checker → · Palette generator →

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