#9F56DB#9F56DB

#9F56DB is a mid, vivid violet. Relative luminance 0.191; OKLCH L 59.9% C 0.199 H 306.6°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#9F56DB
RGBrgb(159, 86, 219)
HSLhsl(273, 65%, 60%)
HSVhsv(273, 61%, 86%)
CMYKcmyk(27.4%, 60.7%, 0%, 14.1%)
CIE-LABlab(50.85, 53.82, -56.61)
CIE-LCHlch(50.85, 78.11, 313.55°)
OKLaboklab(59.94% 0.1189 -0.1599)
OKLCHoklch(59.94% 0.199 306.6)
XYZxyz(30.4094, 19.1413, 69.0967)
Luminance0.1914 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F56DB #92DB56
analogous
#5C56DB #9F56DB #DB56D5
triadic
#9F56DB #DB9F56 #56DB9F
tetradic
#9F56DB #DB5C56 #92DB56 #56D5DB
square
#9F56DB #DB5C56 #92DB56 #56D5DB
split-complementary
#9F56DB #D5DB56 #56DB5C
monochromatic
#612097 #822BC9 #9F56DB #BC88E6 #D8BBF0

Accessibility & contrast

On white

4.35
#9F56DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#9F56DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F56DB
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F56DB#FFFFFF#000000##000000
##9F56DB1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1177DF
Deuteranopia (green-blind)
#3D7AD8
Tritanopia (blue-blind)
#957191
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #9f56db;
/* rgb */ color: rgb(159, 86, 219);
/* oklch */ color: oklch(59.9% 0.199 306.6);
Tailwind
colors: {
  custom: {
    50: '#bf89e7',
    500: '#9f56db',
    950: '#000000',
  },
}
SCSS
$custom: #9f56db;
$custom-light: #bf89e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9f56db",
  "rgb": {
    "r": 159,
    "g": 86,
    "b": 219
  },
  "hsl": {
    "h": 272.932,
    "s": 64.878,
    "l": 59.804
  },
  "oklch": {
    "l": 0.59944,
    "c": 0.19925,
    "h": 306.6
  },
  "luminance": 0.19141
}

Semantic roles & 50–950 ramp

primary
#9F56DB
secondary
#C4E0AD
accent
#E8408C
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #9F56DB

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

Preview Lab → · Contrast checker → · Palette generator →

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