#9C5BD2#9C5BD2

#9C5BD2 is a mid, vivid violet. Relative luminance 0.192; OKLCH L 59.7% C 0.181 H 307.0°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#9C5BD2
RGBrgb(156, 91, 210)
HSLhsl(273, 57%, 59%)
HSVhsv(273, 57%, 82%)
CMYKcmyk(25.7%, 56.7%, 0%, 17.6%)
CIE-LABlab(50.92, 48.46, -51.39)
CIE-LCHlch(50.92, 70.63, 313.32°)
OKLaboklab(59.75% 0.1089 -0.1447)
OKLCHoklch(59.75% 0.181 307)
XYZxyz(29.0818, 19.2035, 63.1349)
Luminance0.1920 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C5BD2 #91D25B
analogous
#615BD2 #9C5BD2 #D25BCD
triadic
#9C5BD2 #D29C5B #5BD29C
tetradic
#9C5BD2 #D2615B #91D25B #5BCDD2
square
#9C5BD2 #D2615B #91D25B #5BCDD2
split-complementary
#9C5BD2 #CDD25B #5BD261
monochromatic
#5E268C #7E34BC #9C5BD2 #B98BDF #D6BBEC

Accessibility & contrast

On white

4.34
#9C5BD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#9C5BD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C5BD2
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C5BD2#FFFFFF#000000##000000
##9C5BD21.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F77D6
Deuteranopia (green-blind)
#487ACF
Tritanopia (blue-blind)
#94718E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #9c5bd2;
/* rgb */ color: rgb(156, 91, 210);
/* oklch */ color: oklch(59.7% 0.181 307.0);
Tailwind
colors: {
  custom: {
    50: '#bc8ce0',
    500: '#9c5bd2',
    950: '#000000',
  },
}
SCSS
$custom: #9c5bd2;
$custom-light: #bc8ce0;
$custom-dark: #000000;
JSON
{
  "hex": "#9c5bd2",
  "rgb": {
    "r": 156,
    "g": 91,
    "b": 210
  },
  "hsl": {
    "h": 272.773,
    "s": 56.938,
    "l": 59.02
  },
  "oklch": {
    "l": 0.59747,
    "c": 0.18112,
    "h": 307
  },
  "luminance": 0.19203
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9C5BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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