#9F55DC#9F55DC

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

Color values

HEX#9F55DC
RGBrgb(159, 85, 220)
HSLhsl(273, 66%, 60%)
HSVhsv(273, 61%, 86%)
CMYKcmyk(27.7%, 61.4%, 0%, 13.7%)
CIE-LABlab(50.73, 54.55, -57.37)
CIE-LCHlch(50.73, 79.16, 313.55°)
OKLaboklab(59.88% 0.12 -0.1622)
OKLCHoklch(59.88% 0.202 306.5)
XYZxyz(30.4621, 19.0355, 69.7657)
Luminance0.1903 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F55DC #92DC55
analogous
#5C55DC #9F55DC #DC55D6
triadic
#9F55DC #DC9F55 #55DC9F
tetradic
#9F55DC #DC5C55 #92DC55 #55D6DC
square
#9F55DC #DC5C55 #92DC55 #55D6DC
split-complementary
#9F55DC #D6DC55 #55DC5C
monochromatic
#611F97 #822ACA #9F55DC #BC88E6 #D8BBF1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F55DC#FFFFFF#000000##000000
##9F55DC1.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)
#0676E0
Deuteranopia (green-blind)
#3A79D9
Tritanopia (blue-blind)
#957091
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #9f55dc;
/* rgb */ color: rgb(159, 85, 220);
/* oklch */ color: oklch(59.9% 0.202 306.5);
Tailwind
colors: {
  custom: {
    50: '#bf89e8',
    500: '#9f55dc',
    950: '#000000',
  },
}
SCSS
$custom: #9f55dc;
$custom-light: #bf89e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9f55dc",
  "rgb": {
    "r": 159,
    "g": 85,
    "b": 220
  },
  "hsl": {
    "h": 272.889,
    "s": 65.854,
    "l": 59.804
  },
  "oklch": {
    "l": 0.59875,
    "c": 0.20175,
    "h": 306.5
  },
  "luminance": 0.19035
}

Semantic roles & 50–950 ramp

primary
#9F55DC
secondary
#C4E0AC
accent
#E93F8C
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #9F55DC

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

Preview Lab → · Contrast checker → · Palette generator →

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