#9A6CED#9A6CED

#9A6CED is a light, vivid violet. Relative luminance 0.237; OKLCH L 63.8% C 0.187 H 297.2°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#9A6CED
RGBrgb(154, 108, 237)
HSLhsl(261, 78%, 68%)
HSVhsv(261, 54%, 93%)
CMYKcmyk(35%, 54.4%, 0%, 7.1%)
CIE-LABlab(55.80, 45.37, -58.83)
CIE-LCHlch(55.80, 74.30, 307.64°)
OKLaboklab(63.79% 0.0858 -0.1666)
OKLCHoklch(63.79% 0.187 297.2)
XYZxyz(33.9712, 23.7091, 82.8909)
Luminance0.2371 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A6CED #BFED6C
analogous
#6C7FED #9A6CED #DA6CED
triadic
#9A6CED #ED9A6C #6CED9A
tetradic
#9A6CED #ED6C7F #BFED6C #6CEDDA
square
#9A6CED #ED6C7F #BFED6C #6CEDDA
split-complementary
#9A6CED #EDDA6C #7FED6C
monochromatic
#5618C6 #7535E6 #9A6CED #BFA3F4 #E5D9FA

Accessibility & contrast

On white

3.66
#9A6CED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#9A6CED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A6CED
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A6CED#FFFFFF#000000##000000
##9A6CED1.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3386F1
Deuteranopia (green-blind)
#4284EA
Tritanopia (blue-blind)
#8786A2
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #9a6ced;
/* rgb */ color: rgb(154, 108, 237);
/* oklch */ color: oklch(63.8% 0.187 297.2);
Tailwind
colors: {
  custom: {
    50: '#bc97f3',
    500: '#9a6ced',
    950: '#000000',
  },
}
SCSS
$custom: #9a6ced;
$custom-light: #bc97f3;
$custom-dark: #000000;
JSON
{
  "hex": "#9a6ced",
  "rgb": {
    "r": 154,
    "g": 108,
    "b": 237
  },
  "hsl": {
    "h": 261.395,
    "s": 78.182,
    "l": 67.647
  },
  "oklch": {
    "l": 0.6379,
    "c": 0.18745,
    "h": 297.2
  },
  "luminance": 0.2371
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9A6CED

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

Preview Lab → · Contrast checker → · Palette generator →

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