#9C54CC#9C54CC

#9C54CC is a mid, vivid violet. Relative luminance 0.178; OKLCH L 58.4% C 0.185 H 309.5°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#9C54CC
RGBrgb(156, 84, 204)
HSLhsl(276, 54%, 56%)
HSVhsv(276, 59%, 80%)
CMYKcmyk(23.5%, 58.8%, 0%, 20%)
CIE-LABlab(49.21, 50.71, -50.69)
CIE-LCHlch(49.21, 71.70, 315.01°)
OKLaboklab(58.38% 0.1177 -0.1426)
OKLCHoklch(58.38% 0.185 309.5)
XYZxyz(27.7776, 17.7687, 59.0814)
Luminance0.1777 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C54CC #84CC54
analogous
#6054CC #9C54CC #CC54C0
triadic
#9C54CC #CC9C54 #54CC9C
tetradic
#9C54CC #CC6054 #84CC54 #54C0CC
square
#9C54CC #CC6054 #84CC54 #54C0CC
split-complementary
#9C54CC #C0CC54 #54CC60
monochromatic
#5C2680 #7E34AF #9C54CC #B783DA #D3B2E8

Accessibility & contrast

On white

4.61
#9C54CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#9C54CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9C54CC
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C54CC#FFFFFF#000000##FFFFFF
##9C54CC1.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2772D0
Deuteranopia (green-blind)
#4676C9
Tritanopia (blue-blind)
#956B88
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9c54cc;
/* rgb */ color: rgb(156, 84, 204);
/* oklch */ color: oklch(58.4% 0.185 309.5);
Tailwind
colors: {
  custom: {
    50: '#bc87dc',
    500: '#9c54cc',
    950: '#000000',
  },
}
SCSS
$custom: #9c54cc;
$custom-light: #bc87dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9c54cc",
  "rgb": {
    "r": 156,
    "g": 84,
    "b": 204
  },
  "hsl": {
    "h": 276,
    "s": 54.054,
    "l": 56.471
  },
  "oklch": {
    "l": 0.58384,
    "c": 0.18491,
    "h": 309.5
  },
  "luminance": 0.17768
}

Semantic roles & 50–950 ramp

primary
#9C54CC
secondary
#B9D7A5
accent
#DD4A85
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #9C54CC

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

Preview Lab → · Contrast checker → · Palette generator →

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