#9C54D8#9C54D8

#9C54D8 is a mid, vivid violet. Relative luminance 0.184; OKLCH L 59.1% C 0.198 H 306.4°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#9C54D8
RGBrgb(156, 84, 216)
HSLhsl(273, 63%, 59%)
HSVhsv(273, 61%, 85%)
CMYKcmyk(27.8%, 61.1%, 0%, 15.3%)
CIE-LABlab(49.94, 53.44, -56.39)
CIE-LCHlch(49.94, 77.69, 313.46°)
OKLaboklab(59.14% 0.1175 -0.1594)
OKLCHoklch(59.14% 0.198 306.4)
XYZxyz(29.2727, 18.3667, 66.9554)
Luminance0.1837 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C54D8 #90D854
analogous
#5A54D8 #9C54D8 #D854D2
triadic
#9C54D8 #D89C54 #54D89C
tetradic
#9C54D8 #D85A54 #90D854 #54D2D8
square
#9C54D8 #D85A54 #90D854 #54D2D8
split-complementary
#9C54D8 #D2D854 #54D85A
monochromatic
#5E2191 #7E2CC2 #9C54D8 #B986E3 #D6B8EF

Accessibility & contrast

On white

4.49
#9C54D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.67
#9C54D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C54D8
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C54D8#FFFFFF#000000##000000
##9C54D81.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0B74DC
Deuteranopia (green-blind)
#3A77D5
Tritanopia (blue-blind)
#926F8E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9c54d8;
/* rgb */ color: rgb(156, 84, 216);
/* oklch */ color: oklch(59.1% 0.198 306.4);
Tailwind
colors: {
  custom: {
    50: '#bd88e5',
    500: '#9c54d8',
    950: '#000000',
  },
}
SCSS
$custom: #9c54d8;
$custom-light: #bd88e5;
$custom-dark: #000000;
JSON
{
  "hex": "#9c54d8",
  "rgb": {
    "r": 156,
    "g": 84,
    "b": 216
  },
  "hsl": {
    "h": 272.727,
    "s": 62.857,
    "l": 58.824
  },
  "oklch": {
    "l": 0.59143,
    "c": 0.19799,
    "h": 306.4
  },
  "luminance": 0.18366
}

Semantic roles & 50–950 ramp

primary
#9C54D8
secondary
#C2DEAA
accent
#E6428C
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9C54D8

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

Preview Lab → · Contrast checker → · Palette generator →

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