#9F57EE#9F57EE

#9F57EE is a mid, highly saturated violet. Relative luminance 0.204; OKLCH L 61.3% C 0.219 H 302.3°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#9F57EE
RGBrgb(159, 87, 238)
HSLhsl(269, 82%, 64%)
HSVhsv(269, 63%, 93%)
CMYKcmyk(33.2%, 63.4%, 0%, 6.7%)
CIE-LABlab(52.24, 57.75, -65.08)
CIE-LCHlch(52.24, 87.01, 311.59°)
OKLaboklab(61.34% 0.1167 -0.1848)
OKLCHoklch(61.34% 0.219 302.3)
XYZxyz(33.1353, 20.3603, 83.0566)
Luminance0.2036 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F57EE #A6EE57
analogous
#575AEE #9F57EE #EA57EE
triadic
#9F57EE #EE9F57 #57EE9F
tetradic
#9F57EE #EE575A #A6EE57 #57EEEA
square
#9F57EE #EE575A #A6EE57 #57EEEA
split-complementary
#9F57EE #EEEA57 #5AEE57
monochromatic
#6113B8 #7F1FE8 #9F57EE #BF8FF4 #DFC6F9

Accessibility & contrast

On white

4.14
#9F57EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#9F57EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F57EE
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F57EE#FFFFFF#000000##000000
##9F57EE1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF3
Deuteranopia (green-blind)
#207CEB
Tritanopia (blue-blind)
#8F789B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #9f57ee;
/* rgb */ color: rgb(159, 87, 238);
/* oklch */ color: oklch(61.3% 0.219 302.3);
Tailwind
colors: {
  custom: {
    50: '#c08af4',
    500: '#9f57ee',
    950: '#000000',
  },
}
SCSS
$custom: #9f57ee;
$custom-light: #c08af4;
$custom-dark: #000000;
JSON
{
  "hex": "#9f57ee",
  "rgb": {
    "r": 159,
    "g": 87,
    "b": 238
  },
  "hsl": {
    "h": 268.609,
    "s": 81.622,
    "l": 63.725
  },
  "oklch": {
    "l": 0.61336,
    "c": 0.21858,
    "h": 302.3
  },
  "luminance": 0.2036
}

Semantic roles & 50–950 ramp

primary
#9F57EE
secondary
#D2EBB6
accent
#DE0878
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#130C17
muted
#827D85

Preview Lab

Preview with #9F57EE

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

Preview Lab → · Contrast checker → · Palette generator →

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