#9F57CC#9F57CC

#9F57CC is a mid, vivid violet. Relative luminance 0.185; OKLCH L 59.2% C 0.181 H 310.4°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#9F57CC
RGBrgb(159, 87, 204)
HSLhsl(277, 53%, 57%)
HSVhsv(277, 57%, 80%)
CMYKcmyk(22.1%, 57.4%, 0%, 20%)
CIE-LABlab(50.15, 49.92, -49.17)
CIE-LCHlch(50.15, 70.07, 315.44°)
OKLaboklab(59.15% 0.1176 -0.1381)
OKLCHoklch(59.15% 0.181 310.4)
XYZxyz(28.6033, 18.5475, 59.1883)
Luminance0.1855 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F57CC #84CC57
analogous
#6557CC #9F57CC #CC57BF
triadic
#9F57CC #CC9F57 #57CC9F
tetradic
#9F57CC #CC6557 #84CC57 #57BFCC
square
#9F57CC #CC6557 #84CC57 #57BFCC
split-complementary
#9F57CC #BFCC57 #57CC65
monochromatic
#5F2781 #8136B0 #9F57CC #BA86DA #D5B5E9

Accessibility & contrast

On white

4.46
#9F57CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#9F57CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F57CC
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F57CC#FFFFFF#000000##000000
##9F57CC1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3074D0
Deuteranopia (green-blind)
#4C79C9
Tritanopia (blue-blind)
#996C89
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9f57cc;
/* rgb */ color: rgb(159, 87, 204);
/* oklch */ color: oklch(59.2% 0.181 310.4);
Tailwind
colors: {
  custom: {
    50: '#be89dc',
    500: '#9f57cc',
    950: '#000000',
  },
}
SCSS
$custom: #9f57cc;
$custom-light: #be89dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9f57cc",
  "rgb": {
    "r": 159,
    "g": 87,
    "b": 204
  },
  "hsl": {
    "h": 276.923,
    "s": 53.425,
    "l": 57.059
  },
  "oklch": {
    "l": 0.5915,
    "c": 0.18143,
    "h": 310.4
  },
  "luminance": 0.18547
}

Semantic roles & 50–950 ramp

primary
#9F57CC
secondary
#BAD7A8
accent
#DD4B83
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #9F57CC

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

Preview Lab → · Contrast checker → · Palette generator →

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