#9F54DD#9F54DD

#9F54DD is a mid, highly saturated violet. Relative luminance 0.189; OKLCH L 59.8% C 0.204 H 306.4°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#9F54DD
RGBrgb(159, 84, 221)
HSLhsl(273, 67%, 60%)
HSVhsv(273, 62%, 87%)
CMYKcmyk(28.1%, 62%, 0%, 13.3%)
CIE-LABlab(50.61, 55.27, -58.13)
CIE-LCHlch(50.61, 80.22, 313.56°)
OKLaboklab(59.81% 0.1212 -0.1644)
OKLCHoklch(59.81% 0.204 306.4)
XYZxyz(30.5168, 18.9323, 70.4392)
Luminance0.1893 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F54DD #92DD54
analogous
#5B54DD #9F54DD #DD54D6
triadic
#9F54DD #DD9F54 #54DD9F
tetradic
#9F54DD #DD5B54 #92DD54 #54D6DD
square
#9F54DD #DD5B54 #92DD54 #54D6DD
split-complementary
#9F54DD #D6DD54 #54DD5B
monochromatic
#611E98 #8228CB #9F54DD #BC87E7 #D8BAF1

Accessibility & contrast

On white

4.39
#9F54DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#9F54DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F54DD
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F54DD#FFFFFF#000000##000000
##9F54DD1.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E1
Deuteranopia (green-blind)
#3779DA
Tritanopia (blue-blind)
#957091
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9f54dd;
/* rgb */ color: rgb(159, 84, 221);
/* oklch */ color: oklch(59.8% 0.204 306.4);
Tailwind
colors: {
  custom: {
    50: '#bf88e8',
    500: '#9f54dd',
    950: '#000000',
  },
}
SCSS
$custom: #9f54dd;
$custom-light: #bf88e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9f54dd",
  "rgb": {
    "r": 159,
    "g": 84,
    "b": 221
  },
  "hsl": {
    "h": 272.847,
    "s": 66.829,
    "l": 59.804
  },
  "oklch": {
    "l": 0.59807,
    "c": 0.20422,
    "h": 306.4
  },
  "luminance": 0.18932
}

Semantic roles & 50–950 ramp

primary
#9F54DD
secondary
#C4E1AC
accent
#EA3E8C
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #9F54DD

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

Preview Lab → · Contrast checker → · Palette generator →

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