#9F57BC#9F57BC

#9F57BC is a mid, vivid purple. Relative luminance 0.178; OKLCH L 58.2% C 0.164 H 315.4°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#9F57BC
RGBrgb(159, 87, 188)
HSLhsl(283, 43%, 54%)
HSVhsv(283, 54%, 74%)
CMYKcmyk(15.4%, 53.7%, 0%, 26.3%)
CIE-LABlab(49.28, 46.44, -41.34)
CIE-LCHlch(49.28, 62.17, 318.32°)
OKLaboklab(58.22% 0.1167 -0.1153)
OKLCHoklch(58.22% 0.164 315.4)
XYZxyz(26.7820, 17.8190, 49.5958)
Luminance0.1782 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F57BC #74BC57
analogous
#6D57BC #9F57BC #BC57A7
triadic
#9F57BC #BC9F57 #57BC9F
tetradic
#9F57BC #BC6D57 #74BC57 #57A7BC
square
#9F57BC #BC6D57 #74BC57 #57A7BC
split-complementary
#9F57BC #A7BC57 #57BC6D
monochromatic
#5A2C6D #7E3D99 #9F57BC #B883CD #D1AFDF

Accessibility & contrast

On white

4.60
#9F57BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#9F57BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9F57BC
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F57BC#FFFFFF#000000##FFFFFF
##9F57BC1.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F71BF
Deuteranopia (green-blind)
#5777B9
Tritanopia (blue-blind)
#9D6781
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9f57bc;
/* rgb */ color: rgb(159, 87, 188);
/* oklch */ color: oklch(58.2% 0.164 315.4);
Tailwind
colors: {
  custom: {
    50: '#be89d0',
    500: '#9f57bc',
    950: '#000000',
  },
}
SCSS
$custom: #9f57bc;
$custom-light: #be89d0;
$custom-dark: #000000;
JSON
{
  "hex": "#9f57bc",
  "rgb": {
    "r": 159,
    "g": 87,
    "b": 188
  },
  "hsl": {
    "h": 282.772,
    "s": 42.979,
    "l": 53.922
  },
  "oklch": {
    "l": 0.58221,
    "c": 0.16407,
    "h": 315.4
  },
  "luminance": 0.17818
}

Semantic roles & 50–950 ramp

primary
#9F57BC
secondary
#AECDA2
accent
#D35579
background
#FBF8FC
surface
#F7F0F9
border
#D0CBD2
text
#120C14
muted
#817D82

Preview Lab

Preview with #9F57BC

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

Preview Lab → · Contrast checker → · Palette generator →

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