#9D6CEB#9D6CEB

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

Color values

HEX#9D6CEB
RGBrgb(157, 108, 235)
HSLhsl(263, 76%, 67%)
HSVhsv(263, 54%, 92%)
CMYKcmyk(33.2%, 54%, 0%, 7.8%)
CIE-LABlab(55.98, 45.58, -57.41)
CIE-LCHlch(55.98, 73.30, 308.45°)
OKLaboklab(63.96% 0.0895 -0.1624)
OKLCHoklch(63.96% 0.185 298.9)
XYZxyz(34.2589, 23.8910, 81.3877)
Luminance0.2389 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D6CEB #BAEB6C
analogous
#6C7AEB #9D6CEB #DD6CEB
triadic
#9D6CEB #EB9D6C #6CEB9D
tetradic
#9D6CEB #EB6C7A #BAEB6C #6CEBDD
square
#9D6CEB #EB6C7A #BAEB6C #6CEBDD
split-complementary
#9D6CEB #EBDD6C #7AEB6C
monochromatic
#5B1AC2 #7936E4 #9D6CEB #C1A2F2 #E5D8FA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D6CEB#FFFFFF#000000##000000
##9D6CEB1.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)
#3886EF
Deuteranopia (green-blind)
#4785E8
Tritanopia (blue-blind)
#8C85A1
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #9d6ceb;
/* rgb */ color: rgb(157, 108, 235);
/* oklch */ color: oklch(64.0% 0.185 298.9);
Tailwind
colors: {
  custom: {
    50: '#be97f2',
    500: '#9d6ceb',
    950: '#000000',
  },
}
SCSS
$custom: #9d6ceb;
$custom-light: #be97f2;
$custom-dark: #000000;
JSON
{
  "hex": "#9d6ceb",
  "rgb": {
    "r": 157,
    "g": 108,
    "b": 235
  },
  "hsl": {
    "h": 263.15,
    "s": 76.048,
    "l": 67.255
  },
  "oklch": {
    "l": 0.63957,
    "c": 0.18541,
    "h": 298.9
  },
  "luminance": 0.23891
}

Semantic roles & 50–950 ramp

primary
#9D6CEB
secondary
#DEEDC5
accent
#D80D8A
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#120E17
muted
#817E85

Preview Lab

Preview with #9D6CEB

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

Preview Lab → · Contrast checker → · Palette generator →

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