#9F56BE#9F56BE

#9F56BE is a mid, vivid purple. Relative luminance 0.177; OKLCH L 58.2% C 0.168 H 314.8°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#9F56BE
RGBrgb(159, 86, 190)
HSLhsl(282, 44%, 54%)
HSVhsv(282, 55%, 75%)
CMYKcmyk(16.3%, 54.7%, 0%, 25.5%)
CIE-LABlab(49.19, 47.38, -42.64)
CIE-LCHlch(49.19, 63.74, 318.01°)
OKLaboklab(58.19% 0.1182 -0.1191)
OKLCHoklch(58.19% 0.168 314.8)
XYZxyz(26.9186, 17.7450, 50.7123)
Luminance0.1774 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F56BE #75BE56
analogous
#6B56BE #9F56BE #BE56A9
triadic
#9F56BE #BE9F56 #56BE9F
tetradic
#9F56BE #BE6B56 #75BE56 #56A9BE
square
#9F56BE #BE6B56 #75BE56 #56A9BE
split-complementary
#9F56BE #A9BE56 #56BE6B
monochromatic
#5B2B6F #7F3C9B #9F56BE #B882CF #D1AEE0

Accessibility & contrast

On white

4.62
#9F56BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#9F56BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9F56BE
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F56BE#FFFFFF#000000##FFFFFF
##9F56BE1.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C71C1
Deuteranopia (green-blind)
#5577BB
Tritanopia (blue-blind)
#9D6782
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9f56be;
/* rgb */ color: rgb(159, 86, 190);
/* oklch */ color: oklch(58.2% 0.168 314.8);
Tailwind
colors: {
  custom: {
    50: '#be89d2',
    500: '#9f56be',
    950: '#000000',
  },
}
SCSS
$custom: #9f56be;
$custom-light: #be89d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9f56be",
  "rgb": {
    "r": 159,
    "g": 86,
    "b": 190
  },
  "hsl": {
    "h": 282.115,
    "s": 44.444,
    "l": 54.118
  },
  "oklch": {
    "l": 0.58189,
    "c": 0.1678,
    "h": 314.8
  },
  "luminance": 0.17744
}

Semantic roles & 50–950 ramp

primary
#9F56BE
secondary
#AFCEA2
accent
#D4547A
background
#FBF8FC
surface
#F7F0F9
border
#D0CBD2
text
#120C14
muted
#817D82

Preview Lab

Preview with #9F56BE

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

Preview Lab → · Contrast checker → · Palette generator →

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