#9F57DF#9F57DF

#9F57DF is a mid, highly saturated violet. Relative luminance 0.195; OKLCH L 60.3% C 0.202 H 305.5°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#9F57DF
RGBrgb(159, 87, 223)
HSLhsl(272, 68%, 61%)
HSVhsv(272, 61%, 87%)
CMYKcmyk(28.7%, 61%, 0%, 12.5%)
CIE-LABlab(51.28, 54.24, -58.18)
CIE-LCHlch(51.28, 79.54, 312.99°)
OKLaboklab(60.34% 0.1176 -0.1645)
OKLCHoklch(60.34% 0.202 305.5)
XYZxyz(31.0227, 19.5153, 71.9302)
Luminance0.1951 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F57DF #97DF57
analogous
#5B57DF #9F57DF #DF57DB
triadic
#9F57DF #DF9F57 #57DF9F
tetradic
#9F57DF #DF5B57 #97DF57 #57DBDF
square
#9F57DF #DF5B57 #97DF57 #57DBDF
split-complementary
#9F57DF #DBDF57 #57DF5B
monochromatic
#621E9E #8128D1 #9F57DF #BC8AE9 #DABEF3

Accessibility & contrast

On white

4.28
#9F57DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#9F57DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F57DF
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F57DF#FFFFFF#000000##000000
##9F57DF1.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0678E3
Deuteranopia (green-blind)
#397ADC
Tritanopia (blue-blind)
#947393
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #9f57df;
/* rgb */ color: rgb(159, 87, 223);
/* oklch */ color: oklch(60.3% 0.202 305.5);
Tailwind
colors: {
  custom: {
    50: '#bf8aea',
    500: '#9f57df',
    950: '#000000',
  },
}
SCSS
$custom: #9f57df;
$custom-light: #bf8aea;
$custom-dark: #000000;
JSON
{
  "hex": "#9f57df",
  "rgb": {
    "r": 159,
    "g": 87,
    "b": 223
  },
  "hsl": {
    "h": 271.765,
    "s": 68,
    "l": 60.784
  },
  "oklch": {
    "l": 0.60337,
    "c": 0.20221,
    "h": 305.5
  },
  "luminance": 0.19515
}

Semantic roles & 50–950 ramp

primary
#9F57DF
secondary
#C7E3AF
accent
#D0166D
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #9F57DF

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

Preview Lab → · Contrast checker → · Palette generator →

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