#9E54EF#9E54EF

#9E54EF is a mid, highly saturated violet. Relative luminance 0.198; OKLCH L 60.9% C 0.223 H 302.1°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#9E54EF
RGBrgb(158, 84, 239)
HSLhsl(269, 83%, 63%)
HSVhsv(269, 65%, 94%)
CMYKcmyk(33.9%, 64.9%, 0%, 6.3%)
CIE-LABlab(51.66, 59.25, -66.59)
CIE-LCHlch(51.66, 89.14, 311.66°)
OKLaboklab(60.91% 0.1186 -0.1893)
OKLCHoklch(60.91% 0.223 302.1)
XYZxyz(32.8472, 19.8417, 83.7439)
Luminance0.1984 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E54EF #A5EF54
analogous
#5457EF #9E54EF #EB54EF
triadic
#9E54EF #EF9E54 #54EF9E
tetradic
#9E54EF #EF5457 #A5EF54 #54EFEB
square
#9E54EF #EF5457 #A5EF54 #54EFEB
split-complementary
#9E54EF #EFEB54 #57EF54
monochromatic
#6111B7 #7E1CEA #9E54EF #BE8CF4 #DDC4F9

Accessibility & contrast

On white

4.23
#9E54EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#9E54EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E54EF
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E54EF#FFFFFF#000000##000000
##9E54EF1.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF4
Deuteranopia (green-blind)
#107AEC
Tritanopia (blue-blind)
#8D779A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #9e54ef;
/* rgb */ color: rgb(158, 84, 239);
/* oklch */ color: oklch(60.9% 0.223 302.1);
Tailwind
colors: {
  custom: {
    50: '#c088f5',
    500: '#9e54ef',
    950: '#000000',
  },
}
SCSS
$custom: #9e54ef;
$custom-light: #c088f5;
$custom-dark: #000000;
JSON
{
  "hex": "#9e54ef",
  "rgb": {
    "r": 158,
    "g": 84,
    "b": 239
  },
  "hsl": {
    "h": 268.645,
    "s": 82.888,
    "l": 63.333
  },
  "oklch": {
    "l": 0.6091,
    "c": 0.22335,
    "h": 302.1
  },
  "luminance": 0.19842
}

Semantic roles & 50–950 ramp

primary
#9E54EF
secondary
#D1EBB4
accent
#DF0678
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#130C17
muted
#827D85

Preview Lab

Preview with #9E54EF

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

Preview Lab → · Contrast checker → · Palette generator →

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