#9D54CF#9D54CF

#9D54CF is a mid, vivid violet. Relative luminance 0.180; OKLCH L 58.7% C 0.189 H 309.1°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#9D54CF
RGBrgb(157, 84, 207)
HSLhsl(276, 56%, 57%)
HSVhsv(276, 59%, 81%)
CMYKcmyk(24.2%, 59.4%, 0%, 18.8%)
CIE-LABlab(49.51, 51.63, -51.92)
CIE-LCHlch(49.51, 73.22, 314.84°)
OKLaboklab(58.68% 0.1189 -0.1462)
OKLCHoklch(58.68% 0.189 309.1)
XYZxyz(28.3352, 18.0142, 61.0038)
Luminance0.1801 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D54CF #86CF54
analogous
#6054CF #9D54CF #CF54C3
triadic
#9D54CF #CF9D54 #54CF9D
tetradic
#9D54CF #CF6054 #86CF54 #54C3CF
square
#9D54CF #CF6054 #86CF54 #54C3CF
split-complementary
#9D54CF #C3CF54 #54CF60
monochromatic
#5D2584 #7F32B3 #9D54CF #B884DC #D4B4EA

Accessibility & contrast

On white

4.56
#9D54CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#9D54CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D54CF
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D54CF#FFFFFF#000000##000000
##9D54CF1.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2373D3
Deuteranopia (green-blind)
#4477CC
Tritanopia (blue-blind)
#966B8A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9d54cf;
/* rgb */ color: rgb(157, 84, 207);
/* oklch */ color: oklch(58.7% 0.189 309.1);
Tailwind
colors: {
  custom: {
    50: '#bd88de',
    500: '#9d54cf',
    950: '#000000',
  },
}
SCSS
$custom: #9d54cf;
$custom-light: #bd88de;
$custom-dark: #000000;
JSON
{
  "hex": "#9d54cf",
  "rgb": {
    "r": 157,
    "g": 84,
    "b": 207
  },
  "hsl": {
    "h": 275.61,
    "s": 56.164,
    "l": 57.059
  },
  "oklch": {
    "l": 0.58685,
    "c": 0.1885,
    "h": 309.1
  },
  "luminance": 0.18014
}

Semantic roles & 50–950 ramp

primary
#9D54CF
secondary
#BBD8A6
accent
#DF4886
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #9D54CF

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

Preview Lab → · Contrast checker → · Palette generator →

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