#9D6CED#9D6CED

#9D6CED is a light, vivid violet. Relative luminance 0.240; OKLCH L 64.1% C 0.188 H 298.5°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#9D6CED
RGBrgb(157, 108, 237)
HSLhsl(263, 78%, 68%)
HSVhsv(263, 54%, 93%)
CMYKcmyk(33.8%, 54.4%, 0%, 7.1%)
CIE-LABlab(56.10, 46.08, -58.34)
CIE-LCHlch(56.10, 74.34, 308.31°)
OKLaboklab(64.08% 0.0896 -0.1651)
OKLCHoklch(64.08% 0.188 298.5)
XYZxyz(34.5495, 24.0073, 82.9180)
Luminance0.2401 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D6CED #BCED6C
analogous
#6C7BED #9D6CED #DE6CED
triadic
#9D6CED #ED9D6C #6CED9D
tetradic
#9D6CED #ED6C7B #BCED6C #6CEDDE
square
#9D6CED #ED6C7B #BCED6C #6CEDDE
split-complementary
#9D6CED #EDDE6C #7BED6C
monochromatic
#5A18C6 #7935E6 #9D6CED #C1A3F4 #E6D9FA

Accessibility & contrast

On white

3.62
#9D6CED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#9D6CED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D6CED
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D6CED#FFFFFF#000000##000000
##9D6CED1.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3587F1
Deuteranopia (green-blind)
#4585EA
Tritanopia (blue-blind)
#8C86A2
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #9d6ced;
/* rgb */ color: rgb(157, 108, 237);
/* oklch */ color: oklch(64.1% 0.188 298.5);
Tailwind
colors: {
  custom: {
    50: '#be97f3',
    500: '#9d6ced',
    950: '#000000',
  },
}
SCSS
$custom: #9d6ced;
$custom-light: #be97f3;
$custom-dark: #000000;
JSON
{
  "hex": "#9d6ced",
  "rgb": {
    "r": 157,
    "g": 108,
    "b": 237
  },
  "hsl": {
    "h": 262.791,
    "s": 78.182,
    "l": 67.647
  },
  "oklch": {
    "l": 0.64081,
    "c": 0.18784,
    "h": 298.5
  },
  "luminance": 0.24008
}

Semantic roles & 50–950 ramp

primary
#9D6CED
secondary
#DFEEC6
accent
#DA0B8C
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#120E17
muted
#817E85

Preview Lab

Preview with #9D6CED

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

Preview Lab → · Contrast checker → · Palette generator →

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