#9E54CE#9E54CE

#9E54CE is a mid, vivid violet. Relative luminance 0.181; OKLCH L 58.7% C 0.188 H 309.8°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#9E54CE
RGBrgb(158, 84, 206)
HSLhsl(276, 55%, 57%)
HSVhsv(276, 59%, 81%)
CMYKcmyk(23.3%, 59.2%, 0%, 19.2%)
CIE-LABlab(49.58, 51.65, -51.24)
CIE-LCHlch(49.58, 72.76, 315.23°)
OKLaboklab(58.74% 0.1202 -0.1442)
OKLCHoklch(58.74% 0.188 309.8)
XYZxyz(28.4093, 18.0665, 60.3712)
Luminance0.1807 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E54CE #84CE54
analogous
#6154CE #9E54CE #CE54C1
triadic
#9E54CE #CE9E54 #54CE9E
tetradic
#9E54CE #CE6154 #84CE54 #54C1CE
square
#9E54CE #CE6154 #84CE54 #54C1CE
split-complementary
#9E54CE #C1CE54 #54CE61
monochromatic
#5E2582 #8033B2 #9E54CE #B984DC #D4B3E9

Accessibility & contrast

On white

4.55
#9E54CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#9E54CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E54CE
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E54CE#FFFFFF#000000##000000
##9E54CE1.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2673D2
Deuteranopia (green-blind)
#4677CB
Tritanopia (blue-blind)
#986B89
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9e54ce;
/* rgb */ color: rgb(158, 84, 206);
/* oklch */ color: oklch(58.7% 0.188 309.8);
Tailwind
colors: {
  custom: {
    50: '#be88dd',
    500: '#9e54ce',
    950: '#000000',
  },
}
SCSS
$custom: #9e54ce;
$custom-light: #be88dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9e54ce",
  "rgb": {
    "r": 158,
    "g": 84,
    "b": 206
  },
  "hsl": {
    "h": 276.393,
    "s": 55.455,
    "l": 56.863
  },
  "oklch": {
    "l": 0.58739,
    "c": 0.18773,
    "h": 309.8
  },
  "luminance": 0.18066
}

Semantic roles & 50–950 ramp

primary
#9E54CE
secondary
#BAD8A6
accent
#DF4984
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #9E54CE

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

Preview Lab → · Contrast checker → · Palette generator →

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