#9E57EE#9E57EE

#9E57EE is a mid, highly saturated violet. Relative luminance 0.203; OKLCH L 61.2% C 0.218 H 301.9°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#9E57EE
RGBrgb(158, 87, 238)
HSLhsl(268, 82%, 64%)
HSVhsv(268, 63%, 93%)
CMYKcmyk(33.6%, 63.4%, 0%, 6.7%)
CIE-LABlab(52.13, 57.54, -65.27)
CIE-LCHlch(52.13, 87.02, 311.40°)
OKLaboklab(61.23% 0.1154 -0.1854)
OKLCHoklch(61.23% 0.218 301.9)
XYZxyz(32.9377, 20.2584, 83.0473)
Luminance0.2026 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E57EE #A7EE57
analogous
#575BEE #9E57EE #EA57EE
triadic
#9E57EE #EE9E57 #57EE9E
tetradic
#9E57EE #EE575B #A7EE57 #57EEEA
square
#9E57EE #EE575B #A7EE57 #57EEEA
split-complementary
#9E57EE #EEEA57 #5BEE57
monochromatic
#6013B8 #7E1FE8 #9E57EE #BE8FF4 #DEC6F9

Accessibility & contrast

On white

4.16
#9E57EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#9E57EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E57EE
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E57EE#FFFFFF#000000##000000
##9E57EE1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF3
Deuteranopia (green-blind)
#1E7CEB
Tritanopia (blue-blind)
#8E789B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9e57ee;
/* rgb */ color: rgb(158, 87, 238);
/* oklch */ color: oklch(61.2% 0.218 301.9);
Tailwind
colors: {
  custom: {
    50: '#c08af4',
    500: '#9e57ee',
    950: '#000000',
  },
}
SCSS
$custom: #9e57ee;
$custom-light: #c08af4;
$custom-dark: #000000;
JSON
{
  "hex": "#9e57ee",
  "rgb": {
    "r": 158,
    "g": 87,
    "b": 238
  },
  "hsl": {
    "h": 268.212,
    "s": 81.622,
    "l": 63.725
  },
  "oklch": {
    "l": 0.61228,
    "c": 0.21839,
    "h": 301.9
  },
  "luminance": 0.20259
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9E57EE

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

Preview Lab → · Contrast checker → · Palette generator →

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