#9D6DEC#9D6DEC

#9D6DEC is a light, vivid violet. Relative luminance 0.242; OKLCH L 64.2% C 0.185 H 298.5°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#9D6DEC
RGBrgb(157, 109, 236)
HSLhsl(263, 77%, 68%)
HSVhsv(263, 54%, 93%)
CMYKcmyk(33.5%, 53.8%, 0%, 7.5%)
CIE-LABlab(56.25, 45.28, -57.53)
CIE-LCHlch(56.25, 73.22, 308.21°)
OKLaboklab(64.18% 0.0883 -0.1627)
OKLCHoklch(64.18% 0.185 298.5)
XYZxyz(34.5099, 24.1611, 82.1860)
Luminance0.2416 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D6DEC #BCEC6D
analogous
#6D7CEC #9D6DEC #DC6DEC
triadic
#9D6DEC #EC9D6D #6DEC9D
tetradic
#9D6DEC #EC6D7C #BCEC6D #6DECDC
square
#9D6DEC #EC6D7C #BCEC6D #6DECDC
split-complementary
#9D6DEC #ECDC6D #7CEC6D
monochromatic
#5A1AC5 #7937E5 #9D6DEC #C1A3F3 #E6D9FA

Accessibility & contrast

On white

3.60
#9D6DEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#9D6DEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D6DEC
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D6DEC#FFFFFF#000000##000000
##9D6DEC1.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3987F0
Deuteranopia (green-blind)
#4886E9
Tritanopia (blue-blind)
#8C86A2
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #9d6dec;
/* rgb */ color: rgb(157, 109, 236);
/* oklch */ color: oklch(64.2% 0.185 298.5);
Tailwind
colors: {
  custom: {
    50: '#be98f3',
    500: '#9d6dec',
    950: '#000000',
  },
}
SCSS
$custom: #9d6dec;
$custom-light: #be98f3;
$custom-dark: #000000;
JSON
{
  "hex": "#9d6dec",
  "rgb": {
    "r": 157,
    "g": 109,
    "b": 236
  },
  "hsl": {
    "h": 262.677,
    "s": 76.97,
    "l": 67.647
  },
  "oklch": {
    "l": 0.64175,
    "c": 0.18516,
    "h": 298.5
  },
  "luminance": 0.24162
}

Semantic roles & 50–950 ramp

primary
#9D6DEC
secondary
#DFEEC7
accent
#D90C8C
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#120E17
muted
#817E85

Preview Lab

Preview with #9D6DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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