#9E57EC#9E57EC

#9E57EC is a mid, highly saturated violet. Relative luminance 0.201; OKLCH L 61.1% C 0.216 H 302.3°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#9E57EC
RGBrgb(158, 87, 236)
HSLhsl(269, 80%, 63%)
HSVhsv(269, 63%, 93%)
CMYKcmyk(33.1%, 63.1%, 0%, 7.5%)
CIE-LABlab(52.00, 57.07, -64.36)
CIE-LCHlch(52.00, 86.02, 311.56°)
OKLaboklab(61.09% 0.1156 -0.1827)
OKLCHoklch(61.09% 0.216 302.3)
XYZxyz(32.6455, 20.1416, 81.5085)
Luminance0.2014 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E57EC #A5EC57
analogous
#575AEC #9E57EC #E957EC
triadic
#9E57EC #EC9E57 #57EC9E
tetradic
#9E57EC #EC575A #A5EC57 #57ECE9
square
#9E57EC #EC575A #A5EC57 #57ECE9
split-complementary
#9E57EC #ECE957 #5AEC57
monochromatic
#6114B4 #7E20E6 #9E57EC #BE8EF2 #DDC5F8

Accessibility & contrast

On white

4.18
#9E57EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#9E57EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E57EC
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E57EC#FFFFFF#000000##000000
##9E57EC1.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF1
Deuteranopia (green-blind)
#237BE9
Tritanopia (blue-blind)
#8E779A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9e57ec;
/* rgb */ color: rgb(158, 87, 236);
/* oklch */ color: oklch(61.1% 0.216 302.3);
Tailwind
colors: {
  custom: {
    50: '#c08af3',
    500: '#9e57ec',
    950: '#000000',
  },
}
SCSS
$custom: #9e57ec;
$custom-light: #c08af3;
$custom-dark: #000000;
JSON
{
  "hex": "#9e57ec",
  "rgb": {
    "r": 158,
    "g": 87,
    "b": 236
  },
  "hsl": {
    "h": 268.591,
    "s": 79.679,
    "l": 63.333
  },
  "oklch": {
    "l": 0.61092,
    "c": 0.21621,
    "h": 302.3
  },
  "luminance": 0.20142
}

Semantic roles & 50–950 ramp

primary
#9E57EC
secondary
#D1EAB5
accent
#DC0A78
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #9E57EC

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

Preview Lab → · Contrast checker → · Palette generator →

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