#9F54DF#9F54DF

#9F54DF is a mid, highly saturated violet. Relative luminance 0.190; OKLCH L 59.9% C 0.206 H 305.9°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#9F54DF
RGBrgb(159, 84, 223)
HSLhsl(272, 68%, 60%)
HSVhsv(272, 62%, 87%)
CMYKcmyk(28.7%, 62.3%, 0%, 12.5%)
CIE-LABlab(50.73, 55.73, -59.06)
CIE-LCHlch(50.73, 81.21, 313.34°)
OKLaboklab(59.94% 0.1211 -0.1671)
OKLCHoklch(59.94% 0.206 305.9)
XYZxyz(30.7848, 19.0395, 71.8509)
Luminance0.1904 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F54DF #94DF54
analogous
#5954DF #9F54DF #DF54DA
triadic
#9F54DF #DF9F54 #54DF9F
tetradic
#9F54DF #DF5954 #94DF54 #54DADF
square
#9F54DF #DF5954 #94DF54 #54DADF
split-complementary
#9F54DF #DADF54 #54DF59
monochromatic
#611D9C #8227CF #9F54DF #BC88E9 #D9BBF2

Accessibility & contrast

On white

4.37
#9F54DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#9F54DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F54DF
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F54DF#FFFFFF#000000##000000
##9F54DF1.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E3
Deuteranopia (green-blind)
#3579DC
Tritanopia (blue-blind)
#947192
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #9f54df;
/* rgb */ color: rgb(159, 84, 223);
/* oklch */ color: oklch(59.9% 0.206 305.9);
Tailwind
colors: {
  custom: {
    50: '#bf88ea',
    500: '#9f54df',
    950: '#000000',
  },
}
SCSS
$custom: #9f54df;
$custom-light: #bf88ea;
$custom-dark: #000000;
JSON
{
  "hex": "#9f54df",
  "rgb": {
    "r": 159,
    "g": 84,
    "b": 223
  },
  "hsl": {
    "h": 272.374,
    "s": 68.473,
    "l": 60.196
  },
  "oklch": {
    "l": 0.59938,
    "c": 0.20637,
    "h": 305.9
  },
  "luminance": 0.19039
}

Semantic roles & 50–950 ramp

primary
#9F54DF
secondary
#C5E2AD
accent
#D0156B
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #9F54DF

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

Preview Lab → · Contrast checker → · Palette generator →

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