#9D54E9#9D54E9

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

Color values

HEX#9D54E9
RGBrgb(157, 84, 233)
HSLhsl(269, 77%, 62%)
HSVhsv(269, 64%, 91%)
CMYKcmyk(32.6%, 63.9%, 0%, 8.6%)
CIE-LABlab(51.14, 57.63, -64.06)
CIE-LCHlch(51.14, 86.17, 311.97°)
OKLaboklab(60.39% 0.1178 -0.1819)
OKLCHoklch(60.39% 0.217 302.9)
XYZxyz(31.7795, 19.3919, 79.1438)
Luminance0.1939 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D54E9 #A0E954
analogous
#5456E9 #9D54E9 #E854E9
triadic
#9D54E9 #E99D54 #54E99D
tetradic
#9D54E9 #E95456 #A0E954 #54E9E8
square
#9D54E9 #E95456 #A0E954 #54E9E8
split-complementary
#9D54E9 #E9E854 #56E954
monochromatic
#6016AC #7E1EE2 #9D54E9 #BC8AF0 #DBC0F7

Accessibility & contrast

On white

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

On black

4.88
#9D54E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D54E9
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D54E9#FFFFFF#000000##000000
##9D54E91.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078EE
Deuteranopia (green-blind)
#2079E6
Tritanopia (blue-blind)
#8E7597
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #9d54e9;
/* rgb */ color: rgb(157, 84, 233);
/* oklch */ color: oklch(60.4% 0.217 302.9);
Tailwind
colors: {
  custom: {
    50: '#bf88f1',
    500: '#9d54e9',
    950: '#000000',
  },
}
SCSS
$custom: #9d54e9;
$custom-light: #bf88f1;
$custom-dark: #000000;
JSON
{
  "hex": "#9d54e9",
  "rgb": {
    "r": 157,
    "g": 84,
    "b": 233
  },
  "hsl": {
    "h": 269.396,
    "s": 77.202,
    "l": 62.157
  },
  "oklch": {
    "l": 0.60387,
    "c": 0.2167,
    "h": 302.9
  },
  "luminance": 0.19392
}

Semantic roles & 50–950 ramp

primary
#9D54E9
secondary
#CDE8B1
accent
#D90C75
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #9D54E9

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

Preview Lab → · Contrast checker → · Palette generator →

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