#9D54EA#9D54EA

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

Color values

HEX#9D54EA
RGBrgb(157, 84, 234)
HSLhsl(269, 78%, 62%)
HSVhsv(269, 64%, 92%)
CMYKcmyk(32.9%, 64.1%, 0%, 8.2%)
CIE-LABlab(51.21, 57.86, -64.52)
CIE-LCHlch(51.21, 86.66, 311.89°)
OKLaboklab(60.46% 0.1177 -0.1832)
OKLCHoklch(60.46% 0.218 302.7)
XYZxyz(31.9228, 19.4492, 79.8982)
Luminance0.1945 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D54EA #A1EA54
analogous
#5456EA #9D54EA #E854EA
triadic
#9D54EA #EA9D54 #54EA9D
tetradic
#9D54EA #EA5456 #A1EA54 #54EAE8
square
#9D54EA #EA5456 #A1EA54 #54EAE8
split-complementary
#9D54EA #EAE854 #56EA54
monochromatic
#6015AE #7E1DE3 #9D54EA #BC8BF1 #DBC1F7

Accessibility & contrast

On white

4.29
#9D54EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D54EA#FFFFFF#000000##000000
##9D54EA1.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079EF
Deuteranopia (green-blind)
#1D7AE7
Tritanopia (blue-blind)
#8E7598
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #9d54ea;
/* rgb */ color: rgb(157, 84, 234);
/* oklch */ color: oklch(60.5% 0.218 302.7);
Tailwind
colors: {
  custom: {
    50: '#bf88f2',
    500: '#9d54ea',
    950: '#000000',
  },
}
SCSS
$custom: #9d54ea;
$custom-light: #bf88f2;
$custom-dark: #000000;
JSON
{
  "hex": "#9d54ea",
  "rgb": {
    "r": 157,
    "g": 84,
    "b": 234
  },
  "hsl": {
    "h": 269.2,
    "s": 78.125,
    "l": 62.353
  },
  "oklch": {
    "l": 0.60456,
    "c": 0.21778,
    "h": 302.7
  },
  "luminance": 0.19449
}

Semantic roles & 50–950 ramp

primary
#9D54EA
secondary
#CEE8B2
accent
#DA0B76
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #9D54EA

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

Preview Lab → · Contrast checker → · Palette generator →

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