#9D54E6#9D54E6

#9D54E6 is a mid, highly saturated violet. Relative luminance 0.192; OKLCH L 60.2% C 0.213 H 303.6°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#9D54E6
RGBrgb(157, 84, 230)
HSLhsl(270, 74%, 62%)
HSVhsv(270, 63%, 90%)
CMYKcmyk(31.7%, 63.5%, 0%, 9.8%)
CIE-LABlab(50.95, 56.92, -62.69)
CIE-LCHlch(50.95, 84.68, 312.24°)
OKLaboklab(60.18% 0.1181 -0.1778)
OKLCHoklch(60.18% 0.213 303.6)
XYZxyz(31.3546, 19.2220, 76.9059)
Luminance0.1922 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D54E6 #9DE654
analogous
#5454E6 #9D54E6 #E654E6
triadic
#9D54E6 #E69D54 #54E69D
tetradic
#9D54E6 #E65454 #9DE654 #54E6E6
square
#9D54E6 #E65454 #9DE654 #54E6E6
split-complementary
#9D54E6 #E6E654 #54E654
monochromatic
#6018A7 #7E20DD #9D54E6 #BC89EE #DABFF6

Accessibility & contrast

On white

4.33
#9D54E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#9D54E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D54E6
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D54E6#FFFFFF#000000##000000
##9D54E61.004.334.844.84
#FFFFFF4.331.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078EB
Deuteranopia (green-blind)
#2679E3
Tritanopia (blue-blind)
#8F7396
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #9d54e6;
/* rgb */ color: rgb(157, 84, 230);
/* oklch */ color: oklch(60.2% 0.213 303.6);
Tailwind
colors: {
  custom: {
    50: '#bf88ef',
    500: '#9d54e6',
    950: '#000000',
  },
}
SCSS
$custom: #9d54e6;
$custom-light: #bf88ef;
$custom-dark: #000000;
JSON
{
  "hex": "#9d54e6",
  "rgb": {
    "r": 157,
    "g": 84,
    "b": 230
  },
  "hsl": {
    "h": 270,
    "s": 74.49,
    "l": 61.569
  },
  "oklch": {
    "l": 0.60182,
    "c": 0.21345,
    "h": 303.6
  },
  "luminance": 0.19222
}

Semantic roles & 50–950 ramp

primary
#9D54E6
secondary
#CBE6B0
accent
#D70F73
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #9D54E6

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

Preview Lab → · Contrast checker → · Palette generator →

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