#9F57CF#9F57CF

#9F57CF is a mid, vivid violet. Relative luminance 0.187; OKLCH L 59.3% C 0.185 H 309.6°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#9F57CF
RGBrgb(159, 87, 207)
HSLhsl(276, 56%, 58%)
HSVhsv(276, 58%, 81%)
CMYKcmyk(23.2%, 58%, 0%, 18.8%)
CIE-LABlab(50.33, 50.59, -50.61)
CIE-LCHlch(50.33, 71.56, 314.99°)
OKLaboklab(59.33% 0.1177 -0.1423)
OKLCHoklch(59.33% 0.185 309.6)
XYZxyz(28.9666, 18.6928, 61.1015)
Luminance0.1869 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F57CF #87CF57
analogous
#6357CF #9F57CF #CF57C3
triadic
#9F57CF #CF9F57 #57CF9F
tetradic
#9F57CF #CF6357 #87CF57 #57C3CF
square
#9F57CF #CF6357 #87CF57 #57C3CF
split-complementary
#9F57CF #C3CF57 #57CF63
monochromatic
#5F2685 #8134B5 #9F57CF #BA87DD #D5B6EA

Accessibility & contrast

On white

4.43
#9F57CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#9F57CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F57CF
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F57CF#FFFFFF#000000##000000
##9F57CF1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C75D3
Deuteranopia (green-blind)
#4979CC
Tritanopia (blue-blind)
#996D8B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9f57cf;
/* rgb */ color: rgb(159, 87, 207);
/* oklch */ color: oklch(59.3% 0.185 309.6);
Tailwind
colors: {
  custom: {
    50: '#be8ade',
    500: '#9f57cf',
    950: '#000000',
  },
}
SCSS
$custom: #9f57cf;
$custom-light: #be8ade;
$custom-dark: #000000;
JSON
{
  "hex": "#9f57cf",
  "rgb": {
    "r": 159,
    "g": 87,
    "b": 207
  },
  "hsl": {
    "h": 276,
    "s": 55.556,
    "l": 57.647
  },
  "oklch": {
    "l": 0.59331,
    "c": 0.18471,
    "h": 309.6
  },
  "luminance": 0.18692
}

Semantic roles & 50–950 ramp

primary
#9F57CF
secondary
#BCD9A9
accent
#DF4985
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #9F57CF

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

Preview Lab → · Contrast checker → · Palette generator →

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