#9D54CD#9D54CD

#9D54CD is a mid, vivid violet. Relative luminance 0.179; OKLCH L 58.6% C 0.186 H 309.7°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#9D54CD
RGBrgb(157, 84, 205)
HSLhsl(276, 55%, 57%)
HSVhsv(276, 59%, 80%)
CMYKcmyk(23.4%, 59%, 0%, 19.6%)
CIE-LABlab(49.40, 51.18, -50.97)
CIE-LCHlch(49.40, 72.23, 315.12°)
OKLaboklab(58.56% 0.1189 -0.1434)
OKLCHoklch(58.56% 0.186 309.7)
XYZxyz(28.0923, 17.9170, 59.7242)
Luminance0.1792 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D54CD #84CD54
analogous
#6154CD #9D54CD #CD54C1
triadic
#9D54CD #CD9D54 #54CD9D
tetradic
#9D54CD #CD6154 #84CD54 #54C1CD
square
#9D54CD #CD6154 #84CD54 #54C1CD
split-complementary
#9D54CD #C1CD54 #54CD61
monochromatic
#5D2681 #7F34B0 #9D54CD #B883DB #D3B3E9

Accessibility & contrast

On white

4.58
#9D54CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#9D54CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D54CD
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D54CD#FFFFFF#000000##000000
##9D54CD1.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2672D1
Deuteranopia (green-blind)
#4677CA
Tritanopia (blue-blind)
#976B89
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9d54cd;
/* rgb */ color: rgb(157, 84, 205);
/* oklch */ color: oklch(58.6% 0.186 309.7);
Tailwind
colors: {
  custom: {
    50: '#bd88dd',
    500: '#9d54cd',
    950: '#000000',
  },
}
SCSS
$custom: #9d54cd;
$custom-light: #bd88dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9d54cd",
  "rgb": {
    "r": 157,
    "g": 84,
    "b": 205
  },
  "hsl": {
    "h": 276.198,
    "s": 54.751,
    "l": 56.667
  },
  "oklch": {
    "l": 0.58561,
    "c": 0.18632,
    "h": 309.7
  },
  "luminance": 0.17917
}

Semantic roles & 50–950 ramp

primary
#9D54CD
secondary
#B9D7A6
accent
#DE4A85
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #9D54CD

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

Preview Lab → · Contrast checker → · Palette generator →

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