#9C6DEC#9C6DEC

#9C6DEC is a light, vivid violet. Relative luminance 0.241; OKLCH L 64.1% C 0.185 H 298.1°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#9C6DEC
RGBrgb(156, 109, 236)
HSLhsl(262, 77%, 68%)
HSVhsv(262, 54%, 93%)
CMYKcmyk(33.9%, 53.8%, 0%, 7.5%)
CIE-LABlab(56.15, 45.04, -57.70)
CIE-LCHlch(56.15, 73.20, 307.98°)
OKLaboklab(64.08% 0.0871 -0.1633)
OKLCHoklch(64.08% 0.185 298.1)
XYZxyz(34.3155, 24.0609, 82.1769)
Luminance0.2406 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C6DEC #BDEC6D
analogous
#6D7DEC #9C6DEC #DC6DEC
triadic
#9C6DEC #EC9C6D #6DEC9C
tetradic
#9C6DEC #EC6D7D #BDEC6D #6DECDC
square
#9C6DEC #EC6D7D #BDEC6D #6DECDC
split-complementary
#9C6DEC #ECDC6D #7DEC6D
monochromatic
#591AC5 #7737E5 #9C6DEC #C1A3F3 #E5D9FA

Accessibility & contrast

On white

3.61
#9C6DEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#9C6DEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C6DEC
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C6DEC#FFFFFF#000000##000000
##9C6DEC1.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3887F0
Deuteranopia (green-blind)
#4785E9
Tritanopia (blue-blind)
#8A86A2
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #9c6dec;
/* rgb */ color: rgb(156, 109, 236);
/* oklch */ color: oklch(64.1% 0.185 298.1);
Tailwind
colors: {
  custom: {
    50: '#bd98f3',
    500: '#9c6dec',
    950: '#000000',
  },
}
SCSS
$custom: #9c6dec;
$custom-light: #bd98f3;
$custom-dark: #000000;
JSON
{
  "hex": "#9c6dec",
  "rgb": {
    "r": 156,
    "g": 109,
    "b": 236
  },
  "hsl": {
    "h": 262.205,
    "s": 76.97,
    "l": 67.647
  },
  "oklch": {
    "l": 0.64078,
    "c": 0.18503,
    "h": 298.1
  },
  "luminance": 0.24061
}

Semantic roles & 50–950 ramp

primary
#9C6DEC
secondary
#E0EEC7
accent
#D90C8D
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#120E17
muted
#817E85

Preview Lab

Preview with #9C6DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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