#9F56DA#9F56DA

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

Color values

HEX#9F56DA
RGBrgb(159, 86, 218)
HSLhsl(273, 64%, 60%)
HSVhsv(273, 61%, 85%)
CMYKcmyk(27.1%, 60.6%, 0%, 14.5%)
CIE-LABlab(50.79, 53.59, -56.14)
CIE-LCHlch(50.79, 77.61, 313.67°)
OKLaboklab(59.88% 0.1189 -0.1585)
OKLCHoklch(59.88% 0.198 306.9)
XYZxyz(30.2781, 19.0888, 68.4055)
Luminance0.1909 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F56DA #91DA56
analogous
#5D56DA #9F56DA #DA56D3
triadic
#9F56DA #DA9F56 #56DA9F
tetradic
#9F56DA #DA5D56 #91DA56 #56D3DA
square
#9F56DA #DA5D56 #91DA56 #56D3DA
split-complementary
#9F56DA #D3DA56 #56DA5D
monochromatic
#612195 #822CC7 #9F56DA #BC88E5 #D8BAF0

Accessibility & contrast

On white

4.36
#9F56DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#9F56DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F56DA
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F56DA#FFFFFF#000000##000000
##9F56DA1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1476DE
Deuteranopia (green-blind)
#3E7AD7
Tritanopia (blue-blind)
#967090
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #9f56da;
/* rgb */ color: rgb(159, 86, 218);
/* oklch */ color: oklch(59.9% 0.198 306.9);
Tailwind
colors: {
  custom: {
    50: '#bf89e6',
    500: '#9f56da',
    950: '#000000',
  },
}
SCSS
$custom: #9f56da;
$custom-light: #bf89e6;
$custom-dark: #000000;
JSON
{
  "hex": "#9f56da",
  "rgb": {
    "r": 159,
    "g": 86,
    "b": 218
  },
  "hsl": {
    "h": 273.182,
    "s": 64.078,
    "l": 59.608
  },
  "oklch": {
    "l": 0.5988,
    "c": 0.19817,
    "h": 306.9
  },
  "luminance": 0.19088
}

Semantic roles & 50–950 ramp

primary
#9F56DA
secondary
#C3E0AC
accent
#E7418B
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #9F56DA

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

Preview Lab → · Contrast checker → · Palette generator →

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