#9D5CC7#9D5CC7

#9D5CC7 is a mid, vivid violet. Relative luminance 0.189; OKLCH L 59.4% C 0.167 H 310.3°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#9D5CC7
RGBrgb(157, 92, 199)
HSLhsl(276, 49%, 57%)
HSVhsv(276, 54%, 78%)
CMYKcmyk(21.1%, 53.8%, 0%, 22%)
CIE-LABlab(50.62, 45.67, -45.56)
CIE-LCHlch(50.62, 64.51, 315.07°)
OKLaboklab(59.35% 0.1083 -0.1277)
OKLCHoklch(59.35% 0.167 310.3)
XYZxyz(28.0387, 18.9464, 56.2017)
Luminance0.1895 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D5CC7 #86C75C
analogous
#685CC7 #9D5CC7 #C75CBB
triadic
#9D5CC7 #C79D5C #5CC79D
tetradic
#9D5CC7 #C7685C #86C75C #5CBBC7
square
#9D5CC7 #C7685C #86C75C #5CBBC7
split-complementary
#9D5CC7 #BBC75C #5CC768
monochromatic
#5D2B7D #7F3BAB #9D5CC7 #B88AD7 #D4B7E6

Accessibility & contrast

On white

4.38
#9D5CC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#9D5CC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D5CC7
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D5CC7#FFFFFF#000000##000000
##9D5CC71.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D75CB
Deuteranopia (green-blind)
#537AC4
Tritanopia (blue-blind)
#986F89
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9d5cc7;
/* rgb */ color: rgb(157, 92, 199);
/* oklch */ color: oklch(59.4% 0.167 310.3);
Tailwind
colors: {
  custom: {
    50: '#bc8cd8',
    500: '#9d5cc7',
    950: '#000000',
  },
}
SCSS
$custom: #9d5cc7;
$custom-light: #bc8cd8;
$custom-dark: #000000;
JSON
{
  "hex": "#9d5cc7",
  "rgb": {
    "r": 157,
    "g": 92,
    "b": 199
  },
  "hsl": {
    "h": 276.449,
    "s": 48.858,
    "l": 57.059
  },
  "oklch": {
    "l": 0.59353,
    "c": 0.16744,
    "h": 310.3
  },
  "luminance": 0.18946
}

Semantic roles & 50–950 ramp

primary
#9D5CC7
secondary
#BBD5AA
accent
#D84F85
background
#FBF8FD
surface
#F7F0FA
border
#D0CBD3
text
#120C14
muted
#817D83

Preview Lab

Preview with #9D5CC7

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

Preview Lab → · Contrast checker → · Palette generator →

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