#9E54DE#9E54DE

#9E54DE is a mid, highly saturated violet. Relative luminance 0.189; OKLCH L 59.8% C 0.205 H 305.8°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#9E54DE
RGBrgb(158, 84, 222)
HSLhsl(272, 68%, 60%)
HSVhsv(272, 62%, 87%)
CMYKcmyk(28.8%, 62.2%, 0%, 12.9%)
CIE-LABlab(50.55, 55.28, -58.80)
CIE-LCHlch(50.55, 80.70, 313.23°)
OKLaboklab(59.76% 0.1198 -0.1664)
OKLCHoklch(59.76% 0.205 305.8)
XYZxyz(30.4528, 18.8839, 71.1337)
Luminance0.1888 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E54DE #94DE54
analogous
#5954DE #9E54DE #DE54D9
triadic
#9E54DE #DE9E54 #54DE9E
tetradic
#9E54DE #DE5954 #94DE54 #54D9DE
square
#9E54DE #DE5954 #94DE54 #54D9DE
split-complementary
#9E54DE #D9DE54 #54DE59
monochromatic
#601E9A #8028CD #9E54DE #BB87E8 #D8BBF2

Accessibility & contrast

On white

4.40
#9E54DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#9E54DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E54DE
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E54DE#FFFFFF#000000##000000
##9E54DE1.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E2
Deuteranopia (green-blind)
#3579DB
Tritanopia (blue-blind)
#937091
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9e54de;
/* rgb */ color: rgb(158, 84, 222);
/* oklch */ color: oklch(59.8% 0.205 305.8);
Tailwind
colors: {
  custom: {
    50: '#bf88e9',
    500: '#9e54de',
    950: '#000000',
  },
}
SCSS
$custom: #9e54de;
$custom-light: #bf88e9;
$custom-dark: #000000;
JSON
{
  "hex": "#9e54de",
  "rgb": {
    "r": 158,
    "g": 84,
    "b": 222
  },
  "hsl": {
    "h": 272.174,
    "s": 67.647,
    "l": 60
  },
  "oklch": {
    "l": 0.5976,
    "c": 0.20503,
    "h": 305.8
  },
  "luminance": 0.18884
}

Semantic roles & 50–950 ramp

primary
#9E54DE
secondary
#C5E1AC
accent
#EB3D8E
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #9E54DE

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

Preview Lab → · Contrast checker → · Palette generator →

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