#9F57E7#9F57E7

#9F57E7 is a mid, highly saturated violet. Relative luminance 0.200; OKLCH L 60.9% C 0.211 H 303.7°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#9F57E7
RGBrgb(159, 87, 231)
HSLhsl(270, 75%, 62%)
HSVhsv(270, 62%, 91%)
CMYKcmyk(31.2%, 62.3%, 0%, 9.4%)
CIE-LABlab(51.79, 56.10, -61.88)
CIE-LCHlch(51.79, 83.53, 312.20°)
OKLaboklab(60.86% 0.1172 -0.1754)
OKLCHoklch(60.86% 0.211 303.7)
XYZxyz(32.1268, 19.9569, 77.7454)
Luminance0.1996 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F57E7 #9FE757
analogous
#5757E7 #9F57E7 #E757E7
triadic
#9F57E7 #E79F57 #57E79F
tetradic
#9F57E7 #E75757 #9FE757 #57E7E7
square
#9F57E7 #E75757 #9FE757 #57E7E7
split-complementary
#9F57E7 #E7E757 #57E757
monochromatic
#6218AB #8021DF #9F57E7 #BE8DEF #DCC2F6

Accessibility & contrast

On white

4.21
#9F57E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#9F57E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F57E7
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F57E7#FFFFFF#000000##000000
##9F57E71.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AEB
Deuteranopia (green-blind)
#2E7BE4
Tritanopia (blue-blind)
#917597
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #9f57e7;
/* rgb */ color: rgb(159, 87, 231);
/* oklch */ color: oklch(60.9% 0.211 303.7);
Tailwind
colors: {
  custom: {
    50: '#c08aef',
    500: '#9f57e7',
    950: '#000000',
  },
}
SCSS
$custom: #9f57e7;
$custom-light: #c08aef;
$custom-dark: #000000;
JSON
{
  "hex": "#9f57e7",
  "rgb": {
    "r": 159,
    "g": 87,
    "b": 231
  },
  "hsl": {
    "h": 270,
    "s": 75,
    "l": 62.353
  },
  "oklch": {
    "l": 0.60864,
    "c": 0.21096,
    "h": 303.7
  },
  "luminance": 0.19957
}

Semantic roles & 50–950 ramp

primary
#9F57E7
secondary
#CDE7B3
accent
#D70E73
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #9F57E7

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

Preview Lab → · Contrast checker → · Palette generator →

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