#9F57DD#9F57DD

#9F57DD is a mid, highly saturated violet. Relative luminance 0.194; OKLCH L 60.2% C 0.200 H 306.0°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#9F57DD
RGBrgb(159, 87, 221)
HSLhsl(272, 66%, 60%)
HSVhsv(272, 61%, 87%)
CMYKcmyk(28.1%, 60.6%, 0%, 13.3%)
CIE-LABlab(51.16, 53.78, -57.24)
CIE-LCHlch(51.16, 78.54, 313.21°)
OKLaboklab(60.21% 0.1176 -0.1618)
OKLCHoklch(60.21% 0.2 306)
XYZxyz(30.7546, 19.4080, 70.5185)
Luminance0.1941 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F57DD #95DD57
analogous
#5C57DD #9F57DD #DD57D8
triadic
#9F57DD #DD9F57 #57DD9F
tetradic
#9F57DD #DD5C57 #95DD57 #57D8DD
square
#9F57DD #DD5C57 #95DD57 #57D8DD
split-complementary
#9F57DD #D8DD57 #57DD5C
monochromatic
#611F9A #822ACD #9F57DD #BC8AE7 #D9BDF2

Accessibility & contrast

On white

4.30
#9F57DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#9F57DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F57DD
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F57DD#FFFFFF#000000##000000
##9F57DD1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1078E1
Deuteranopia (green-blind)
#3C7ADA
Tritanopia (blue-blind)
#957292
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #9f57dd;
/* rgb */ color: rgb(159, 87, 221);
/* oklch */ color: oklch(60.2% 0.200 306.0);
Tailwind
colors: {
  custom: {
    50: '#bf8ae8',
    500: '#9f57dd',
    950: '#000000',
  },
}
SCSS
$custom: #9f57dd;
$custom-light: #bf8ae8;
$custom-dark: #000000;
JSON
{
  "hex": "#9f57dd",
  "rgb": {
    "r": 159,
    "g": 87,
    "b": 221
  },
  "hsl": {
    "h": 272.239,
    "s": 66.337,
    "l": 60.392
  },
  "oklch": {
    "l": 0.60208,
    "c": 0.20003,
    "h": 306
  },
  "luminance": 0.19408
}

Semantic roles & 50–950 ramp

primary
#9F57DD
secondary
#C6E1AE
accent
#CE176C
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #9F57DD

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

Preview Lab → · Contrast checker → · Palette generator →

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