#9E54CD#9E54CD

#9E54CD is a mid, vivid violet. Relative luminance 0.180; OKLCH L 58.7% C 0.187 H 310.1°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#9E54CD
RGBrgb(158, 84, 205)
HSLhsl(277, 55%, 57%)
HSVhsv(277, 59%, 80%)
CMYKcmyk(22.9%, 59%, 0%, 19.6%)
CIE-LABlab(49.52, 51.42, -50.76)
CIE-LCHlch(49.52, 72.26, 315.37°)
OKLaboklab(58.68% 0.1202 -0.1428)
OKLCHoklch(58.68% 0.187 310.1)
XYZxyz(28.2882, 18.0181, 59.7334)
Luminance0.1802 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E54CD #83CD54
analogous
#6254CD #9E54CD #CD54C0
triadic
#9E54CD #CD9E54 #54CD9E
tetradic
#9E54CD #CD6254 #83CD54 #54C0CD
square
#9E54CD #CD6254 #83CD54 #54C0CD
split-complementary
#9E54CD #C0CD54 #54CD62
monochromatic
#5D2681 #8034B0 #9E54CD #B983DB #D4B3E9

Accessibility & contrast

On white

4.56
#9E54CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#9E54CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E54CD
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E54CD#FFFFFF#000000##000000
##9E54CD1.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2772D1
Deuteranopia (green-blind)
#4777CA
Tritanopia (blue-blind)
#986B89
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9e54cd;
/* rgb */ color: rgb(158, 84, 205);
/* oklch */ color: oklch(58.7% 0.187 310.1);
Tailwind
colors: {
  custom: {
    50: '#be88dd',
    500: '#9e54cd',
    950: '#000000',
  },
}
SCSS
$custom: #9e54cd;
$custom-light: #be88dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9e54cd",
  "rgb": {
    "r": 158,
    "g": 84,
    "b": 205
  },
  "hsl": {
    "h": 276.694,
    "s": 54.751,
    "l": 56.667
  },
  "oklch": {
    "l": 0.58677,
    "c": 0.18666,
    "h": 310.1
  },
  "luminance": 0.18018
}

Semantic roles & 50–950 ramp

primary
#9E54CD
secondary
#B9D7A6
accent
#DE4A83
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #9E54CD

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

Preview Lab → · Contrast checker → · Palette generator →

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