#9D6FD5#9D6FD5

#9D6FD5 is a light, vivid violet. Relative luminance 0.233; OKLCH L 63.2% C 0.154 H 303.1°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#9D6FD5
RGBrgb(157, 111, 213)
HSLhsl(267, 55%, 64%)
HSVhsv(267, 48%, 84%)
CMYKcmyk(26.3%, 47.9%, 0%, 16.5%)
CIE-LABlab(55.42, 38.51, -45.93)
CIE-LCHlch(55.42, 59.94, 309.98°)
OKLaboklab(63.15% 0.0839 -0.1288)
OKLCHoklch(63.15% 0.154 303.1)
XYZxyz(31.5967, 23.3411, 65.7786)
Luminance0.2334 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D6FD5 #A7D56F
analogous
#6F74D5 #9D6FD5 #D06FD5
triadic
#9D6FD5 #D59D6F #6FD59D
tetradic
#9D6FD5 #D56F74 #A7D56F #6FD5D0
square
#9D6FD5 #D56F74 #A7D56F #6FD5D0
split-complementary
#9D6FD5 #D5D06F #74D56F
monochromatic
#5F2E9C #7D40C7 #9D6FD5 #BD9EE3 #DDCEF1

Accessibility & contrast

On white

3.70
#9D6FD5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#9D6FD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D6FD5
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D6FD5#FFFFFF#000000##000000
##9D6FD51.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5184D9
Deuteranopia (green-blind)
#5D85D2
Tritanopia (blue-blind)
#938198
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #9d6fd5;
/* rgb */ color: rgb(157, 111, 213);
/* oklch */ color: oklch(63.2% 0.154 303.1);
Tailwind
colors: {
  custom: {
    50: '#bc99e2',
    500: '#9d6fd5',
    950: '#000000',
  },
}
SCSS
$custom: #9d6fd5;
$custom-light: #bc99e2;
$custom-dark: #000000;
JSON
{
  "hex": "#9d6fd5",
  "rgb": {
    "r": 157,
    "g": 111,
    "b": 213
  },
  "hsl": {
    "h": 267.059,
    "s": 54.839,
    "l": 63.529
  },
  "oklch": {
    "l": 0.63153,
    "c": 0.15375,
    "h": 303.1
  },
  "luminance": 0.23341
}

Semantic roles & 50–950 ramp

primary
#9D6FD5
secondary
#D2E2BE
accent
#C2237B
background
#FBF9FD
surface
#F7F2FB
border
#D0CCD4
text
#120E15
muted
#817E83

Preview Lab

Preview with #9D6FD5

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

Preview Lab → · Contrast checker → · Palette generator →

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