#9E54CF#9E54CF

#9E54CF is a mid, vivid violet. Relative luminance 0.181; OKLCH L 58.8% C 0.189 H 309.5°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#9E54CF
RGBrgb(158, 84, 207)
HSLhsl(276, 56%, 57%)
HSVhsv(276, 59%, 81%)
CMYKcmyk(23.7%, 59.4%, 0%, 18.8%)
CIE-LABlab(49.64, 51.87, -51.72)
CIE-LCHlch(49.64, 73.25, 315.08°)
OKLaboklab(58.8% 0.1202 -0.1456)
OKLCHoklch(58.8% 0.189 309.5)
XYZxyz(28.5312, 18.1153, 61.0130)
Luminance0.1812 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E54CF #85CF54
analogous
#6154CF #9E54CF #CF54C2
triadic
#9E54CF #CF9E54 #54CF9E
tetradic
#9E54CF #CF6154 #85CF54 #54C2CF
square
#9E54CF #CF6154 #85CF54 #54C2CF
split-complementary
#9E54CF #C2CF54 #54CF61
monochromatic
#5E2584 #8032B3 #9E54CF #B984DC #D4B4EA

Accessibility & contrast

On white

4.54
#9E54CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#9E54CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E54CF
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E54CF#FFFFFF#000000##000000
##9E54CF1.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2473D3
Deuteranopia (green-blind)
#4577CC
Tritanopia (blue-blind)
#976B8A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9e54cf;
/* rgb */ color: rgb(158, 84, 207);
/* oklch */ color: oklch(58.8% 0.189 309.5);
Tailwind
colors: {
  custom: {
    50: '#be88de',
    500: '#9e54cf',
    950: '#000000',
  },
}
SCSS
$custom: #9e54cf;
$custom-light: #be88de;
$custom-dark: #000000;
JSON
{
  "hex": "#9e54cf",
  "rgb": {
    "r": 158,
    "g": 84,
    "b": 207
  },
  "hsl": {
    "h": 276.098,
    "s": 56.164,
    "l": 57.059
  },
  "oklch": {
    "l": 0.58801,
    "c": 0.18881,
    "h": 309.5
  },
  "luminance": 0.18115
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9E54CF

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

Preview Lab → · Contrast checker → · Palette generator →

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