#9C6BED#9C6BED

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

Color values

HEX#9C6BED
RGBrgb(156, 107, 237)
HSLhsl(263, 78%, 67%)
HSVhsv(263, 55%, 93%)
CMYKcmyk(34.2%, 54.9%, 0%, 7.1%)
CIE-LABlab(55.78, 46.39, -58.84)
CIE-LCHlch(55.78, 74.93, 308.25°)
OKLaboklab(63.83% 0.0896 -0.1666)
OKLCHoklch(63.83% 0.189 298.3)
XYZxyz(34.2503, 23.6973, 82.8739)
Luminance0.2370 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C6BED #BCED6B
analogous
#6B7BED #9C6BED #DD6BED
triadic
#9C6BED #ED9C6B #6BED9C
tetradic
#9C6BED #ED6B7B #BCED6B #6BEDDD
square
#9C6BED #ED6B7B #BCED6B #6BEDDD
split-complementary
#9C6BED #EDDD6B #7BED6B
monochromatic
#5918C6 #7834E6 #9C6BED #C0A2F4 #E5D8FA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9C6BED#FFFFFF#000000##000000
##9C6BED1.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)
#3286F1
Deuteranopia (green-blind)
#4384EA
Tritanopia (blue-blind)
#8A85A2
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #9c6bed;
/* rgb */ color: rgb(156, 107, 237);
/* oklch */ color: oklch(63.8% 0.189 298.3);
Tailwind
colors: {
  custom: {
    50: '#bd97f3',
    500: '#9c6bed',
    950: '#000000',
  },
}
SCSS
$custom: #9c6bed;
$custom-light: #bd97f3;
$custom-dark: #000000;
JSON
{
  "hex": "#9c6bed",
  "rgb": {
    "r": 156,
    "g": 107,
    "b": 237
  },
  "hsl": {
    "h": 262.615,
    "s": 78.313,
    "l": 67.451
  },
  "oklch": {
    "l": 0.63827,
    "c": 0.18916,
    "h": 298.3
  },
  "luminance": 0.23698
}

Semantic roles & 50–950 ramp

primary
#9C6BED
secondary
#DFEEC6
accent
#DB0B8C
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#120D17
muted
#817E85

Preview Lab

Preview with #9C6BED

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

Preview Lab → · Contrast checker → · Palette generator →

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