#9E57E7#9E57E7

#9E57E7 is a mid, highly saturated violet. Relative luminance 0.199; OKLCH L 60.8% C 0.211 H 303.4°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#9E57E7
RGBrgb(158, 87, 231)
HSLhsl(270, 75%, 62%)
HSVhsv(270, 62%, 91%)
CMYKcmyk(31.6%, 62.3%, 0%, 9.4%)
CIE-LABlab(51.67, 55.89, -62.07)
CIE-LCHlch(51.67, 83.52, 312.00°)
OKLaboklab(60.75% 0.1159 -0.176)
OKLCHoklch(60.75% 0.211 303.4)
XYZxyz(31.9293, 19.8551, 77.7361)
Luminance0.1986 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E57E7 #A0E757
analogous
#5758E7 #9E57E7 #E657E7
triadic
#9E57E7 #E79E57 #57E79E
tetradic
#9E57E7 #E75758 #A0E757 #57E7E6
square
#9E57E7 #E75758 #A0E757 #57E7E6
split-complementary
#9E57E7 #E7E657 #58E757
monochromatic
#6118AB #7F21DF #9E57E7 #BD8DEF #DCC2F6

Accessibility & contrast

On white

4.22
#9E57E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#9E57E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E57E7
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E57E7#FFFFFF#000000##000000
##9E57E71.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9e57e7;
/* rgb */ color: rgb(158, 87, 231);
/* oklch */ color: oklch(60.8% 0.211 303.4);
Tailwind
colors: {
  custom: {
    50: '#bf8aef',
    500: '#9e57e7',
    950: '#000000',
  },
}
SCSS
$custom: #9e57e7;
$custom-light: #bf8aef;
$custom-dark: #000000;
JSON
{
  "hex": "#9e57e7",
  "rgb": {
    "r": 158,
    "g": 87,
    "b": 231
  },
  "hsl": {
    "h": 269.583,
    "s": 75,
    "l": 62.353
  },
  "oklch": {
    "l": 0.60754,
    "c": 0.21074,
    "h": 303.4
  },
  "luminance": 0.19855
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9E57E7

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

Preview Lab → · Contrast checker → · Palette generator →

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