#9C6CED#9C6CED

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

Color values

HEX#9C6CED
RGBrgb(156, 108, 237)
HSLhsl(262, 78%, 68%)
HSVhsv(262, 54%, 93%)
CMYKcmyk(34.2%, 54.4%, 0%, 7.1%)
CIE-LABlab(55.99, 45.85, -58.50)
CIE-LCHlch(55.99, 74.33, 308.08°)
OKLaboklab(63.98% 0.0883 -0.1656)
OKLCHoklch(63.98% 0.188 298.1)
XYZxyz(34.3551, 23.9071, 82.9089)
Luminance0.2391 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C6CED #BDED6C
analogous
#6C7CED #9C6CED #DD6CED
triadic
#9C6CED #ED9C6C #6CED9C
tetradic
#9C6CED #ED6C7C #BDED6C #6CEDDD
square
#9C6CED #ED6C7C #BDED6C #6CEDDD
split-complementary
#9C6CED #EDDD6C #7CED6C
monochromatic
#5918C6 #7735E6 #9C6CED #C1A3F4 #E5D9FA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9C6CED#FFFFFF#000000##000000
##9C6CED1.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)
#3586F1
Deuteranopia (green-blind)
#4485EA
Tritanopia (blue-blind)
#8A86A2
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #9c6ced;
/* rgb */ color: rgb(156, 108, 237);
/* oklch */ color: oklch(64.0% 0.188 298.1);
Tailwind
colors: {
  custom: {
    50: '#bd97f3',
    500: '#9c6ced',
    950: '#000000',
  },
}
SCSS
$custom: #9c6ced;
$custom-light: #bd97f3;
$custom-dark: #000000;
JSON
{
  "hex": "#9c6ced",
  "rgb": {
    "r": 156,
    "g": 108,
    "b": 237
  },
  "hsl": {
    "h": 262.326,
    "s": 78.182,
    "l": 67.647
  },
  "oklch": {
    "l": 0.63983,
    "c": 0.1877,
    "h": 298.1
  },
  "luminance": 0.23907
}

Semantic roles & 50–950 ramp

primary
#9C6CED
secondary
#E0EEC6
accent
#DA0B8D
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#120E17
muted
#817E85

Preview Lab

Preview with #9C6CED

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

Preview Lab → · Contrast checker → · Palette generator →

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