#9D6BCD#9D6BCD

#9D6BCD is a light, vivid violet. Relative luminance 0.221; OKLCH L 62.1% C 0.150 H 306.0°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#9D6BCD
RGBrgb(157, 107, 205)
HSLhsl(271, 49%, 61%)
HSVhsv(271, 48%, 80%)
CMYKcmyk(23.4%, 47.8%, 0%, 19.6%)
CIE-LABlab(54.12, 38.85, -43.45)
CIE-LCHlch(54.12, 58.28, 311.80°)
OKLaboklab(62.05% 0.0885 -0.1216)
OKLCHoklch(62.05% 0.15 306)
XYZxyz(30.1795, 22.0915, 60.4200)
Luminance0.2209 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D6BCD #9BCD6B
analogous
#6C6BCD #9D6BCD #CD6BCC
triadic
#9D6BCD #CD9D6B #6BCD9D
tetradic
#9D6BCD #CD6C6B #9BCD6B #6BCCCD
square
#9D6BCD #CD6C6B #9BCD6B #6BCCCD
split-complementary
#9D6BCD #CCCD6B #6BCD6C
monochromatic
#60308E #7F3FBB #9D6BCD #BB99DC #DAC6EC

Accessibility & contrast

On white

3.88
#9D6BCD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#9D6BCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D6BCD
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D6BCD#FFFFFF#000000##000000
##9D6BCD1.003.885.425.42
#FFFFFF3.881.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5080D0
Deuteranopia (green-blind)
#5E82CA
Tritanopia (blue-blind)
#967C92
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #9d6bcd;
/* rgb */ color: rgb(157, 107, 205);
/* oklch */ color: oklch(62.1% 0.150 306.0);
Tailwind
colors: {
  custom: {
    50: '#bc96dd',
    500: '#9d6bcd',
    950: '#000000',
  },
}
SCSS
$custom: #9d6bcd;
$custom-light: #bc96dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9d6bcd",
  "rgb": {
    "r": 157,
    "g": 107,
    "b": 205
  },
  "hsl": {
    "h": 270.612,
    "s": 49.495,
    "l": 61.176
  },
  "oklch": {
    "l": 0.6205,
    "c": 0.15034,
    "h": 306
  },
  "luminance": 0.22091
}

Semantic roles & 50–950 ramp

primary
#9D6BCD
secondary
#CADCB8
accent
#BD2971
background
#FBF9FD
surface
#F7F2FB
border
#D0CCD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #9D6BCD

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

Preview Lab → · Contrast checker → · Palette generator →

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