#9C54E5#9C54E5

#9C54E5 is a mid, highly saturated violet. Relative luminance 0.191; OKLCH L 60.0% C 0.212 H 303.4°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#9C54E5
RGBrgb(156, 84, 229)
HSLhsl(270, 74%, 61%)
HSVhsv(270, 63%, 90%)
CMYKcmyk(31.9%, 63.3%, 0%, 10.2%)
CIE-LABlab(50.76, 56.47, -62.42)
CIE-LCHlch(50.76, 84.18, 312.13°)
OKLaboklab(60.01% 0.1168 -0.1771)
OKLCHoklch(60.01% 0.212 303.4)
XYZxyz(31.0202, 19.0658, 76.1594)
Luminance0.1907 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C54E5 #9DE554
analogous
#5455E5 #9C54E5 #E454E5
triadic
#9C54E5 #E59C54 #54E59C
tetradic
#9C54E5 #E55455 #9DE554 #54E5E4
square
#9C54E5 #E55455 #9DE554 #54E5E4
split-complementary
#9C54E5 #E5E454 #55E554
monochromatic
#5F19A5 #7D21DB #9C54E5 #BB89ED #DABEF5

Accessibility & contrast

On white

4.36
#9C54E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#9C54E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C54E5
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C54E5#FFFFFF#000000##000000
##9C54E51.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077E9
Deuteranopia (green-blind)
#2679E2
Tritanopia (blue-blind)
#8E7395
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #9c54e5;
/* rgb */ color: rgb(156, 84, 229);
/* oklch */ color: oklch(60.0% 0.212 303.4);
Tailwind
colors: {
  custom: {
    50: '#be88ee',
    500: '#9c54e5',
    950: '#000000',
  },
}
SCSS
$custom: #9c54e5;
$custom-light: #be88ee;
$custom-dark: #000000;
JSON
{
  "hex": "#9c54e5",
  "rgb": {
    "r": 156,
    "g": 84,
    "b": 229
  },
  "hsl": {
    "h": 269.793,
    "s": 73.604,
    "l": 61.373
  },
  "oklch": {
    "l": 0.60005,
    "c": 0.21216,
    "h": 303.4
  },
  "luminance": 0.19066
}

Semantic roles & 50–950 ramp

primary
#9C54E5
secondary
#CBE6AF
accent
#D61073
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #9C54E5

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

Preview Lab → · Contrast checker → · Palette generator →

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