#9C54CF#9C54CF

#9C54CF is a mid, vivid violet. Relative luminance 0.179; OKLCH L 58.6% C 0.188 H 308.7°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#9C54CF
RGBrgb(156, 84, 207)
HSLhsl(275, 56%, 57%)
HSVhsv(275, 59%, 81%)
CMYKcmyk(24.6%, 59.4%, 0%, 18.8%)
CIE-LABlab(49.39, 51.39, -52.13)
CIE-LCHlch(49.39, 73.20, 314.59°)
OKLaboklab(58.57% 0.1177 -0.1469)
OKLCHoklch(58.57% 0.188 308.7)
XYZxyz(28.1409, 17.9140, 60.9947)
Luminance0.1791 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C54CF #87CF54
analogous
#5F54CF #9C54CF #CF54C4
triadic
#9C54CF #CF9C54 #54CF9C
tetradic
#9C54CF #CF5F54 #87CF54 #54C4CF
square
#9C54CF #CF5F54 #87CF54 #54C4CF
split-complementary
#9C54CF #C4CF54 #54CF5F
monochromatic
#5C2584 #7E32B3 #9C54CF #B884DC #D3B4EA

Accessibility & contrast

On white

4.58
#9C54CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#9C54CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C54CF
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C54CF#FFFFFF#000000##000000
##9C54CF1.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2272D3
Deuteranopia (green-blind)
#4376CC
Tritanopia (blue-blind)
#956C8A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9c54cf;
/* rgb */ color: rgb(156, 84, 207);
/* oklch */ color: oklch(58.6% 0.188 308.7);
Tailwind
colors: {
  custom: {
    50: '#bd88de',
    500: '#9c54cf',
    950: '#000000',
  },
}
SCSS
$custom: #9c54cf;
$custom-light: #bd88de;
$custom-dark: #000000;
JSON
{
  "hex": "#9c54cf",
  "rgb": {
    "r": 156,
    "g": 84,
    "b": 207
  },
  "hsl": {
    "h": 275.122,
    "s": 56.164,
    "l": 57.059
  },
  "oklch": {
    "l": 0.5857,
    "c": 0.18818,
    "h": 308.7
  },
  "luminance": 0.17914
}

Semantic roles & 50–950 ramp

primary
#9C54CF
secondary
#BBD8A6
accent
#DF4887
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #9C54CF

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

Preview Lab → · Contrast checker → · Palette generator →

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