#9D6BEC#9D6BEC

#9D6BEC is a light, vivid violet. Relative luminance 0.237; OKLCH L 63.9% C 0.188 H 298.9°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#9D6BEC
RGBrgb(157, 107, 236)
HSLhsl(263, 77%, 67%)
HSVhsv(263, 55%, 93%)
CMYKcmyk(33.5%, 54.7%, 0%, 7.5%)
CIE-LABlab(55.83, 46.38, -58.21)
CIE-LCHlch(55.83, 74.43, 308.55°)
OKLaboklab(63.86% 0.0908 -0.1647)
OKLCHoklch(63.86% 0.188 298.9)
XYZxyz(34.2990, 23.7393, 82.1157)
Luminance0.2374 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D6BEC #BAEC6B
analogous
#6B79EC #9D6BEC #DE6BEC
triadic
#9D6BEC #EC9D6B #6BEC9D
tetradic
#9D6BEC #EC6B79 #BAEC6B #6BECDE
square
#9D6BEC #EC6B79 #BAEC6B #6BECDE
split-complementary
#9D6BEC #ECDE6B #79EC6B
monochromatic
#5B19C4 #7935E5 #9D6BEC #C1A1F3 #E5D7FA

Accessibility & contrast

On white

3.65
#9D6BEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#9D6BEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D6BEC
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D6BEC#FFFFFF#000000##000000
##9D6BEC1.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3486F0
Deuteranopia (green-blind)
#4585E9
Tritanopia (blue-blind)
#8C85A1
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #9d6bec;
/* rgb */ color: rgb(157, 107, 236);
/* oklch */ color: oklch(63.9% 0.188 298.9);
Tailwind
colors: {
  custom: {
    50: '#be97f3',
    500: '#9d6bec',
    950: '#000000',
  },
}
SCSS
$custom: #9d6bec;
$custom-light: #be97f3;
$custom-dark: #000000;
JSON
{
  "hex": "#9d6bec",
  "rgb": {
    "r": 157,
    "g": 107,
    "b": 236
  },
  "hsl": {
    "h": 263.256,
    "s": 77.246,
    "l": 67.255
  },
  "oklch": {
    "l": 0.63863,
    "c": 0.18809,
    "h": 298.9
  },
  "luminance": 0.2374
}

Semantic roles & 50–950 ramp

primary
#9D6BEC
secondary
#DEEEC5
accent
#D90C8A
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#120D17
muted
#817E85

Preview Lab

Preview with #9D6BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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