#9F54DB#9F54DB

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

Color values

HEX#9F54DB
RGBrgb(159, 84, 219)
HSLhsl(273, 65%, 59%)
HSVhsv(273, 62%, 86%)
CMYKcmyk(27.4%, 61.6%, 0%, 14.1%)
CIE-LABlab(50.48, 54.82, -57.20)
CIE-LCHlch(50.48, 79.22, 313.78°)
OKLaboklab(59.68% 0.1212 -0.1616)
OKLCHoklch(59.68% 0.202 306.9)
XYZxyz(30.2519, 18.8264, 69.0443)
Luminance0.1883 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F54DB #90DB54
analogous
#5C54DB #9F54DB #DB54D4
triadic
#9F54DB #DB9F54 #54DB9F
tetradic
#9F54DB #DB5C54 #90DB54 #54D4DB
square
#9F54DB #DB5C54 #90DB54 #54D4DB
split-complementary
#9F54DB #D4DB54 #54DB5C
monochromatic
#611F95 #822AC8 #9F54DB #BB87E6 #D8B9F0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F54DB#FFFFFF#000000##000000
##9F54DB1.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)
#0376DF
Deuteranopia (green-blind)
#3A79D8
Tritanopia (blue-blind)
#956F90
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9f54db;
/* rgb */ color: rgb(159, 84, 219);
/* oklch */ color: oklch(59.7% 0.202 306.9);
Tailwind
colors: {
  custom: {
    50: '#bf88e7',
    500: '#9f54db',
    950: '#000000',
  },
}
SCSS
$custom: #9f54db;
$custom-light: #bf88e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9f54db",
  "rgb": {
    "r": 159,
    "g": 84,
    "b": 219
  },
  "hsl": {
    "h": 273.333,
    "s": 65.217,
    "l": 59.412
  },
  "oklch": {
    "l": 0.59677,
    "c": 0.20206,
    "h": 306.9
  },
  "luminance": 0.18826
}

Semantic roles & 50–950 ramp

primary
#9F54DB
secondary
#C2E0AB
accent
#E8408B
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #9F54DB

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

Preview Lab → · Contrast checker → · Palette generator →

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