#9F57CE#9F57CE

#9F57CE is a mid, vivid violet. Relative luminance 0.186; OKLCH L 59.3% C 0.184 H 309.9°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#9F57CE
RGBrgb(159, 87, 206)
HSLhsl(276, 55%, 57%)
HSVhsv(276, 58%, 81%)
CMYKcmyk(22.8%, 57.8%, 0%, 19.2%)
CIE-LABlab(50.27, 50.37, -50.13)
CIE-LCHlch(50.27, 71.06, 315.13°)
OKLaboklab(59.27% 0.1177 -0.1409)
OKLCHoklch(59.27% 0.184 309.9)
XYZxyz(28.8447, 18.6441, 60.4597)
Luminance0.1864 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F57CE #86CE57
analogous
#6457CE #9F57CE #CE57C1
triadic
#9F57CE #CE9F57 #57CE9F
tetradic
#9F57CE #CE6457 #86CE57 #57C1CE
square
#9F57CE #CE6457 #86CE57 #57C1CE
split-complementary
#9F57CE #C1CE57 #57CE64
monochromatic
#5F2784 #8134B3 #9F57CE #BA86DC #D5B6EA

Accessibility & contrast

On white

4.44
#9F57CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#9F57CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F57CE
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F57CE#FFFFFF#000000##000000
##9F57CE1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D74D2
Deuteranopia (green-blind)
#4A79CB
Tritanopia (blue-blind)
#996D8A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9f57ce;
/* rgb */ color: rgb(159, 87, 206);
/* oklch */ color: oklch(59.3% 0.184 309.9);
Tailwind
colors: {
  custom: {
    50: '#be8add',
    500: '#9f57ce',
    950: '#000000',
  },
}
SCSS
$custom: #9f57ce;
$custom-light: #be8add;
$custom-dark: #000000;
JSON
{
  "hex": "#9f57ce",
  "rgb": {
    "r": 159,
    "g": 87,
    "b": 206
  },
  "hsl": {
    "h": 276.303,
    "s": 54.839,
    "l": 57.451
  },
  "oklch": {
    "l": 0.5927,
    "c": 0.18361,
    "h": 309.9
  },
  "luminance": 0.18644
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9F57CE

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

Preview Lab → · Contrast checker → · Palette generator →

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