#9C50CD#9C50CD

#9C50CD is a mid, vivid violet. Relative luminance 0.172; OKLCH L 57.9% C 0.192 H 309.7°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#9C50CD
RGBrgb(156, 80, 205)
HSLhsl(276, 56%, 56%)
HSVhsv(276, 61%, 80%)
CMYKcmyk(23.9%, 61%, 0%, 19.6%)
CIE-LABlab(48.53, 52.95, -52.36)
CIE-LCHlch(48.53, 74.47, 315.32°)
OKLaboklab(57.9% 0.1226 -0.1475)
OKLCHoklch(57.9% 0.192 309.7)
XYZxyz(27.5963, 17.2135, 59.6146)
Luminance0.1721 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C50CD #81CD50
analogous
#5D50CD #9C50CD #CD50BF
triadic
#9C50CD #CD9C50 #50CD9C
tetradic
#9C50CD #CD5D50 #81CD50 #50BFCD
square
#9C50CD #CD5D50 #81CD50 #50BFCD
split-complementary
#9C50CD #BFCD50 #50CD5D
monochromatic
#5B247E #7D32AE #9C50CD #B780DB #D2AFE8

Accessibility & contrast

On white

4.73
#9C50CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#9C50CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C50CD
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C50CD#FFFFFF#000000##FFFFFF
##9C50CD1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1970D1
Deuteranopia (green-blind)
#4074CA
Tritanopia (blue-blind)
#956887
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9c50cd;
/* rgb */ color: rgb(156, 80, 205);
/* oklch */ color: oklch(57.9% 0.192 309.7);
Tailwind
colors: {
  custom: {
    50: '#bd85dd',
    500: '#9c50cd',
    950: '#000000',
  },
}
SCSS
$custom: #9c50cd;
$custom-light: #bd85dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9c50cd",
  "rgb": {
    "r": 156,
    "g": 80,
    "b": 205
  },
  "hsl": {
    "h": 276.48,
    "s": 55.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.57903,
    "c": 0.19182,
    "h": 309.7
  },
  "luminance": 0.17213
}

Semantic roles & 50–950 ramp

primary
#9C50CD
secondary
#B7D6A2
accent
#DF4984
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9C50CD

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

Preview Lab → · Contrast checker → · Palette generator →

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