#9E57EB#9E57EB

#9E57EB is a mid, highly saturated violet. Relative luminance 0.201; OKLCH L 61.0% C 0.215 H 302.5°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#9E57EB
RGBrgb(158, 87, 235)
HSLhsl(269, 79%, 63%)
HSVhsv(269, 63%, 92%)
CMYKcmyk(32.8%, 63%, 0%, 7.8%)
CIE-LABlab(51.93, 56.83, -63.91)
CIE-LCHlch(51.93, 85.52, 311.65°)
OKLaboklab(61.02% 0.1156 -0.1814)
OKLCHoklch(61.02% 0.215 302.5)
XYZxyz(32.5007, 20.0836, 80.7454)
Luminance0.2008 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E57EB #A4EB57
analogous
#575AEB #9E57EB #E857EB
triadic
#9E57EB #EB9E57 #57EB9E
tetradic
#9E57EB #EB575A #A4EB57 #57EBE8
square
#9E57EB #EB575A #A4EB57 #57EBE8
split-complementary
#9E57EB #EBE857 #5AEB57
monochromatic
#6115B2 #7E20E4 #9E57EB #BE8EF2 #DDC4F8

Accessibility & contrast

On white

4.19
#9E57EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#9E57EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E57EB
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E57EB#FFFFFF#000000##000000
##9E57EB1.004.195.025.02
#FFFFFF4.191.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF0
Deuteranopia (green-blind)
#257BE8
Tritanopia (blue-blind)
#8F7799
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9e57eb;
/* rgb */ color: rgb(158, 87, 235);
/* oklch */ color: oklch(61.0% 0.215 302.5);
Tailwind
colors: {
  custom: {
    50: '#bf8af2',
    500: '#9e57eb',
    950: '#000000',
  },
}
SCSS
$custom: #9e57eb;
$custom-light: #bf8af2;
$custom-dark: #000000;
JSON
{
  "hex": "#9e57eb",
  "rgb": {
    "r": 158,
    "g": 87,
    "b": 235
  },
  "hsl": {
    "h": 268.784,
    "s": 78.723,
    "l": 63.137
  },
  "oklch": {
    "l": 0.61024,
    "c": 0.21512,
    "h": 302.5
  },
  "luminance": 0.20084
}

Semantic roles & 50–950 ramp

primary
#9E57EB
secondary
#D0E9B4
accent
#DB0A77
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #9E57EB

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

Preview Lab → · Contrast checker → · Palette generator →

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