#9E54BC#9E54BC

#9E54BC is a mid, vivid purple. Relative luminance 0.172; OKLCH L 57.7% C 0.168 H 315.2°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#9E54BC
RGBrgb(158, 84, 188)
HSLhsl(283, 44%, 53%)
HSVhsv(283, 55%, 74%)
CMYKcmyk(16%, 55.3%, 0%, 26.3%)
CIE-LABlab(48.56, 47.72, -42.48)
CIE-LCHlch(48.56, 63.89, 318.33°)
OKLaboklab(57.67% 0.1195 -0.1186)
OKLCHoklch(57.67% 0.168 315.2)
XYZxyz(26.3465, 17.2414, 49.5073)
Luminance0.1724 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E54BC #72BC54
analogous
#6A54BC #9E54BC #BC54A6
triadic
#9E54BC #BC9E54 #54BC9E
tetradic
#9E54BC #BC6A54 #72BC54 #54A6BC
square
#9E54BC #BC6A54 #72BC54 #54A6BC
split-complementary
#9E54BC #A6BC54 #54BC6A
monochromatic
#592A6B #7D3B97 #9E54BC #B780CD #D0ACDE

Accessibility & contrast

On white

4.72
#9E54BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#9E54BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E54BC
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E54BC#FFFFFF#000000##FFFFFF
##9E54BC1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A6FBF
Deuteranopia (green-blind)
#5375B9
Tritanopia (blue-blind)
#9C6580
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9e54bc;
/* rgb */ color: rgb(158, 84, 188);
/* oklch */ color: oklch(57.7% 0.168 315.2);
Tailwind
colors: {
  custom: {
    50: '#bd87d0',
    500: '#9e54bc',
    950: '#000000',
  },
}
SCSS
$custom: #9e54bc;
$custom-light: #bd87d0;
$custom-dark: #000000;
JSON
{
  "hex": "#9e54bc",
  "rgb": {
    "r": 158,
    "g": 84,
    "b": 188
  },
  "hsl": {
    "h": 282.692,
    "s": 43.697,
    "l": 53.333
  },
  "oklch": {
    "l": 0.5767,
    "c": 0.1684,
    "h": 315.2
  },
  "luminance": 0.17241
}

Semantic roles & 50–950 ramp

primary
#9E54BC
secondary
#ACCCA0
accent
#D35479
background
#FBF8FC
surface
#F7F0F9
border
#D0CBD2
text
#120B14
muted
#817C82

Preview Lab

Preview with #9E54BC

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

Preview Lab → · Contrast checker → · Palette generator →

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