#9D54CE#9D54CE

#9D54CE is a mid, vivid violet. Relative luminance 0.180; OKLCH L 58.6% C 0.187 H 309.4°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#9D54CE
RGBrgb(157, 84, 206)
HSLhsl(276, 55%, 57%)
HSVhsv(276, 59%, 81%)
CMYKcmyk(23.8%, 59.2%, 0%, 19.2%)
CIE-LABlab(49.45, 51.41, -51.45)
CIE-LCHlch(49.45, 72.73, 314.98°)
OKLaboklab(58.62% 0.1189 -0.1448)
OKLCHoklch(58.62% 0.187 309.4)
XYZxyz(28.2134, 17.9655, 60.3620)
Luminance0.1797 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D54CE #85CE54
analogous
#6054CE #9D54CE #CE54C2
triadic
#9D54CE #CE9D54 #54CE9D
tetradic
#9D54CE #CE6054 #85CE54 #54C2CE
square
#9D54CE #CE6054 #85CE54 #54C2CE
split-complementary
#9D54CE #C2CE54 #54CE60
monochromatic
#5D2582 #7F33B2 #9D54CE #B884DC #D4B3E9

Accessibility & contrast

On white

4.57
#9D54CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#9D54CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D54CE
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D54CE#FFFFFF#000000##000000
##9D54CE1.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2572D2
Deuteranopia (green-blind)
#4577CB
Tritanopia (blue-blind)
#966B89
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9d54ce;
/* rgb */ color: rgb(157, 84, 206);
/* oklch */ color: oklch(58.6% 0.187 309.4);
Tailwind
colors: {
  custom: {
    50: '#bd88dd',
    500: '#9d54ce',
    950: '#000000',
  },
}
SCSS
$custom: #9d54ce;
$custom-light: #bd88dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9d54ce",
  "rgb": {
    "r": 157,
    "g": 84,
    "b": 206
  },
  "hsl": {
    "h": 275.902,
    "s": 55.455,
    "l": 56.863
  },
  "oklch": {
    "l": 0.58623,
    "c": 0.18741,
    "h": 309.4
  },
  "luminance": 0.17965
}

Semantic roles & 50–950 ramp

primary
#9D54CE
secondary
#BAD8A6
accent
#DF4985
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #9D54CE

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

Preview Lab → · Contrast checker → · Palette generator →

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