#9C5CD2#9C5CD2

#9C5CD2 is a mid, vivid violet. Relative luminance 0.194; OKLCH L 59.9% C 0.180 H 306.8°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#9C5CD2
RGBrgb(156, 92, 210)
HSLhsl(273, 57%, 59%)
HSVhsv(273, 56%, 82%)
CMYKcmyk(25.7%, 56.2%, 0%, 17.6%)
CIE-LABlab(51.12, 47.93, -51.07)
CIE-LCHlch(51.12, 70.04, 313.18°)
OKLaboklab(59.89% 0.1076 -0.1438)
OKLCHoklch(59.89% 0.18 306.8)
XYZxyz(29.1679, 19.3757, 63.1636)
Luminance0.1938 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C5CD2 #92D25C
analogous
#615CD2 #9C5CD2 #D25CCD
triadic
#9C5CD2 #D29C5C #5CD29C
tetradic
#9C5CD2 #D2615C #92D25C #5CCDD2
square
#9C5CD2 #D2615C #92D25C #5CCDD2
split-complementary
#9C5CD2 #CDD25C #5CD261
monochromatic
#5E278D #7E34BD #9C5CD2 #B98CDF #D6BCEC

Accessibility & contrast

On white

4.31
#9C5CD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#9C5CD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C5CD2
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C5CD2#FFFFFF#000000##000000
##9C5CD21.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3178D6
Deuteranopia (green-blind)
#497ACF
Tritanopia (blue-blind)
#94728E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #9c5cd2;
/* rgb */ color: rgb(156, 92, 210);
/* oklch */ color: oklch(59.9% 0.180 306.8);
Tailwind
colors: {
  custom: {
    50: '#bc8de0',
    500: '#9c5cd2',
    950: '#000000',
  },
}
SCSS
$custom: #9c5cd2;
$custom-light: #bc8de0;
$custom-dark: #000000;
JSON
{
  "hex": "#9c5cd2",
  "rgb": {
    "r": 156,
    "g": 92,
    "b": 210
  },
  "hsl": {
    "h": 272.542,
    "s": 56.731,
    "l": 59.216
  },
  "oklch": {
    "l": 0.59893,
    "c": 0.17961,
    "h": 306.8
  },
  "luminance": 0.19375
}

Semantic roles & 50–950 ramp

primary
#9C5CD2
secondary
#C3DCAE
accent
#E0488D
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #9C5CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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