#9F54DC#9F54DC

#9F54DC is a mid, highly saturated violet. Relative luminance 0.189; OKLCH L 59.7% C 0.203 H 306.6°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#9F54DC
RGBrgb(159, 84, 220)
HSLhsl(273, 66%, 60%)
HSVhsv(273, 62%, 86%)
CMYKcmyk(27.7%, 61.8%, 0%, 13.7%)
CIE-LABlab(50.55, 55.04, -57.67)
CIE-LCHlch(50.55, 79.72, 313.67°)
OKLaboklab(59.74% 0.1212 -0.163)
OKLCHoklch(59.74% 0.203 306.6)
XYZxyz(30.3839, 18.8792, 69.7397)
Luminance0.1888 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F54DC #91DC54
analogous
#5B54DC #9F54DC #DC54D5
triadic
#9F54DC #DC9F54 #54DC9F
tetradic
#9F54DC #DC5B54 #91DC54 #54D5DC
square
#9F54DC #DC5B54 #91DC54 #54D5DC
split-complementary
#9F54DC #D5DC54 #54DC5B
monochromatic
#611F97 #8229CA #9F54DC #BC87E6 #D8BAF1

Accessibility & contrast

On white

4.40
#9F54DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#9F54DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F54DC
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F54DC#FFFFFF#000000##000000
##9F54DC1.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E0
Deuteranopia (green-blind)
#3979D9
Tritanopia (blue-blind)
#957090
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9f54dc;
/* rgb */ color: rgb(159, 84, 220);
/* oklch */ color: oklch(59.7% 0.203 306.6);
Tailwind
colors: {
  custom: {
    50: '#bf88e8',
    500: '#9f54dc',
    950: '#000000',
  },
}
SCSS
$custom: #9f54dc;
$custom-light: #bf88e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9f54dc",
  "rgb": {
    "r": 159,
    "g": 84,
    "b": 220
  },
  "hsl": {
    "h": 273.088,
    "s": 66.019,
    "l": 59.608
  },
  "oklch": {
    "l": 0.59742,
    "c": 0.20314,
    "h": 306.6
  },
  "luminance": 0.18879
}

Semantic roles & 50–950 ramp

primary
#9F54DC
secondary
#C3E0AC
accent
#E93F8B
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #9F54DC

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

Preview Lab → · Contrast checker → · Palette generator →

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