#9D54DF#9D54DF

#9D54DF is a mid, highly saturated violet. Relative luminance 0.188; OKLCH L 59.7% C 0.206 H 305.1°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#9D54DF
RGBrgb(157, 84, 223)
HSLhsl(272, 68%, 60%)
HSVhsv(272, 62%, 87%)
CMYKcmyk(29.6%, 62.3%, 0%, 12.5%)
CIE-LABlab(50.50, 55.29, -59.46)
CIE-LCHlch(50.50, 81.19, 312.92°)
OKLaboklab(59.71% 0.1185 -0.1683)
OKLCHoklch(59.71% 0.206 305.1)
XYZxyz(30.3913, 18.8366, 71.8325)
Luminance0.1884 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D54DF #96DF54
analogous
#5854DF #9D54DF #DF54DB
triadic
#9D54DF #DF9D54 #54DF9D
tetradic
#9D54DF #DF5854 #96DF54 #54DBDF
square
#9D54DF #DF5854 #96DF54 #54DBDF
split-complementary
#9D54DF #DBDF54 #54DF58
monochromatic
#5F1D9C #7F27CF #9D54DF #BB88E9 #D8BBF2

Accessibility & contrast

On white

4.41
#9D54DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#9D54DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D54DF
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D54DF#FFFFFF#000000##000000
##9D54DF1.004.414.774.77
#FFFFFF4.411.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E3
Deuteranopia (green-blind)
#3278DC
Tritanopia (blue-blind)
#917192
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9d54df;
/* rgb */ color: rgb(157, 84, 223);
/* oklch */ color: oklch(59.7% 0.206 305.1);
Tailwind
colors: {
  custom: {
    50: '#be88ea',
    500: '#9d54df',
    950: '#000000',
  },
}
SCSS
$custom: #9d54df;
$custom-light: #be88ea;
$custom-dark: #000000;
JSON
{
  "hex": "#9d54df",
  "rgb": {
    "r": 157,
    "g": 84,
    "b": 223
  },
  "hsl": {
    "h": 271.511,
    "s": 68.473,
    "l": 60.196
  },
  "oklch": {
    "l": 0.59713,
    "c": 0.20587,
    "h": 305.1
  },
  "luminance": 0.18836
}

Semantic roles & 50–950 ramp

primary
#9D54DF
secondary
#C6E2AD
accent
#D0156E
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #9D54DF

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

Preview Lab → · Contrast checker → · Palette generator →

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