#9F56CE#9F56CE

#9F56CE is a mid, vivid violet. Relative luminance 0.185; OKLCH L 59.1% C 0.185 H 310.0°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#9F56CE
RGBrgb(159, 86, 206)
HSLhsl(277, 55%, 57%)
HSVhsv(277, 58%, 81%)
CMYKcmyk(22.8%, 58.3%, 0%, 19.2%)
CIE-LABlab(50.08, 50.88, -50.44)
CIE-LCHlch(50.08, 71.64, 315.25°)
OKLaboklab(59.13% 0.119 -0.1418)
OKLCHoklch(59.13% 0.185 310)
XYZxyz(28.7643, 18.4833, 60.4329)
Luminance0.1848 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F56CE #85CE56
analogous
#6356CE #9F56CE #CE56C1
triadic
#9F56CE #CE9F56 #56CE9F
tetradic
#9F56CE #CE6356 #85CE56 #56C1CE
square
#9F56CE #CE6356 #85CE56 #56C1CE
split-complementary
#9F56CE #C1CE56 #56CE63
monochromatic
#5F2683 #8134B3 #9F56CE #BA85DC #D5B5EA

Accessibility & contrast

On white

4.47
#9F56CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#9F56CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F56CE
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F56CE#FFFFFF#000000##000000
##9F56CE1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B74D2
Deuteranopia (green-blind)
#4978CB
Tritanopia (blue-blind)
#996C8A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9f56ce;
/* rgb */ color: rgb(159, 86, 206);
/* oklch */ color: oklch(59.1% 0.185 310.0);
Tailwind
colors: {
  custom: {
    50: '#be89dd',
    500: '#9f56ce',
    950: '#000000',
  },
}
SCSS
$custom: #9f56ce;
$custom-light: #be89dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9f56ce",
  "rgb": {
    "r": 159,
    "g": 86,
    "b": 206
  },
  "hsl": {
    "h": 276.5,
    "s": 55.046,
    "l": 57.255
  },
  "oklch": {
    "l": 0.59131,
    "c": 0.18511,
    "h": 310
  },
  "luminance": 0.18483
}

Semantic roles & 50–950 ramp

primary
#9F56CE
secondary
#BBD8A8
accent
#DE4984
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #9F56CE

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

Preview Lab → · Contrast checker → · Palette generator →

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