#9F56DC#9F56DC

#9F56DC is a mid, highly saturated violet. Relative luminance 0.192; OKLCH L 60.0% C 0.200 H 306.4°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#9F56DC
RGBrgb(159, 86, 220)
HSLhsl(273, 66%, 60%)
HSVhsv(273, 61%, 86%)
CMYKcmyk(27.7%, 60.9%, 0%, 13.7%)
CIE-LABlab(50.91, 54.05, -57.07)
CIE-LCHlch(50.91, 78.60, 313.44°)
OKLaboklab(60.01% 0.1188 -0.1613)
OKLCHoklch(60.01% 0.2 306.4)
XYZxyz(30.5414, 19.1941, 69.7921)
Luminance0.1919 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F56DC #93DC56
analogous
#5C56DC #9F56DC #DC56D6
triadic
#9F56DC #DC9F56 #56DC9F
tetradic
#9F56DC #DC5C56 #93DC56 #56D6DC
square
#9F56DC #DC5C56 #93DC56 #56D6DC
split-complementary
#9F56DC #D6DC56 #56DC5C
monochromatic
#612098 #822ACB #9F56DC #BC89E6 #D9BBF1

Accessibility & contrast

On white

4.34
#9F56DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#9F56DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F56DC
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F56DC#FFFFFF#000000##000000
##9F56DC1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0D77E0
Deuteranopia (green-blind)
#3B7AD9
Tritanopia (blue-blind)
#957191
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #9f56dc;
/* rgb */ color: rgb(159, 86, 220);
/* oklch */ color: oklch(60.0% 0.200 306.4);
Tailwind
colors: {
  custom: {
    50: '#bf89e8',
    500: '#9f56dc',
    950: '#000000',
  },
}
SCSS
$custom: #9f56dc;
$custom-light: #bf89e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9f56dc",
  "rgb": {
    "r": 159,
    "g": 86,
    "b": 220
  },
  "hsl": {
    "h": 272.687,
    "s": 65.686,
    "l": 60
  },
  "oklch": {
    "l": 0.60009,
    "c": 0.20034,
    "h": 306.4
  },
  "luminance": 0.19194
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9F56DC

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

Preview Lab → · Contrast checker → · Palette generator →

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