#9F57DC#9F57DC

#9F57DC is a mid, vivid violet. Relative luminance 0.194; OKLCH L 60.1% C 0.199 H 306.3°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#9F57DC
RGBrgb(159, 87, 220)
HSLhsl(272, 66%, 60%)
HSVhsv(272, 60%, 86%)
CMYKcmyk(27.7%, 60.5%, 0%, 13.7%)
CIE-LABlab(51.10, 53.54, -56.78)
CIE-LCHlch(51.10, 78.04, 313.32°)
OKLaboklab(60.14% 0.1177 -0.1604)
OKLCHoklch(60.14% 0.199 306.3)
XYZxyz(30.6218, 19.3549, 69.8189)
Luminance0.1935 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F57DC #94DC57
analogous
#5C57DC #9F57DC #DC57D7
triadic
#9F57DC #DC9F57 #57DC9F
tetradic
#9F57DC #DC5C57 #94DC57 #57D7DC
square
#9F57DC #DC5C57 #94DC57 #57D7DC
split-complementary
#9F57DC #D7DC57 #57DC5C
monochromatic
#612099 #822ACB #9F57DC #BC8AE7 #D9BCF1

Accessibility & contrast

On white

4.31
#9F57DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#9F57DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F57DC
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F57DC#FFFFFF#000000##000000
##9F57DC1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1377E0
Deuteranopia (green-blind)
#3D7AD9
Tritanopia (blue-blind)
#957291
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #9f57dc;
/* rgb */ color: rgb(159, 87, 220);
/* oklch */ color: oklch(60.1% 0.199 306.3);
Tailwind
colors: {
  custom: {
    50: '#bf8ae7',
    500: '#9f57dc',
    950: '#000000',
  },
}
SCSS
$custom: #9f57dc;
$custom-light: #bf8ae7;
$custom-dark: #000000;
JSON
{
  "hex": "#9f57dc",
  "rgb": {
    "r": 159,
    "g": 87,
    "b": 220
  },
  "hsl": {
    "h": 272.481,
    "s": 65.517,
    "l": 60.196
  },
  "oklch": {
    "l": 0.60144,
    "c": 0.19894,
    "h": 306.3
  },
  "luminance": 0.19355
}

Semantic roles & 50–950 ramp

primary
#9F57DC
secondary
#C5E1AE
accent
#CD186B
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #9F57DC

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

Preview Lab → · Contrast checker → · Palette generator →

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