#9E54E8#9E54E8

#9E54E8 is a mid, highly saturated violet. Relative luminance 0.194; OKLCH L 60.4% C 0.216 H 303.5°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#9E54E8
RGBrgb(158, 84, 232)
HSLhsl(270, 76%, 62%)
HSVhsv(270, 64%, 91%)
CMYKcmyk(31.9%, 63.8%, 0%, 9%)
CIE-LABlab(51.19, 57.60, -63.41)
CIE-LCHlch(51.19, 85.67, 312.25°)
OKLaboklab(60.43% 0.1192 -0.1799)
OKLCHoklch(60.43% 0.216 303.5)
XYZxyz(31.8330, 19.4360, 78.4028)
Luminance0.1944 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E54E8 #9EE854
analogous
#5454E8 #9E54E8 #E854E8
triadic
#9E54E8 #E89E54 #54E89E
tetradic
#9E54E8 #E85454 #9EE854 #54E8E8
square
#9E54E8 #E85454 #9EE854 #54E8E8
split-complementary
#9E54E8 #E8E854 #54E854
monochromatic
#6117AB #7F1EE1 #9E54E8 #BD8AEF #DBC0F7

Accessibility & contrast

On white

4.30
#9E54E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#9E54E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E54E8
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E54E8#FFFFFF#000000##000000
##9E54E81.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078ED
Deuteranopia (green-blind)
#247AE5
Tritanopia (blue-blind)
#907497
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #9e54e8;
/* rgb */ color: rgb(158, 84, 232);
/* oklch */ color: oklch(60.4% 0.216 303.5);
Tailwind
colors: {
  custom: {
    50: '#bf88f0',
    500: '#9e54e8',
    950: '#000000',
  },
}
SCSS
$custom: #9e54e8;
$custom-light: #bf88f0;
$custom-dark: #000000;
JSON
{
  "hex": "#9e54e8",
  "rgb": {
    "r": 158,
    "g": 84,
    "b": 232
  },
  "hsl": {
    "h": 270,
    "s": 76.289,
    "l": 61.961
  },
  "oklch": {
    "l": 0.60429,
    "c": 0.21582,
    "h": 303.5
  },
  "luminance": 0.19436
}

Semantic roles & 50–950 ramp

primary
#9E54E8
secondary
#CCE7B1
accent
#D80D73
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #9E54E8

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

Preview Lab → · Contrast checker → · Palette generator →

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