#9E57CE#9E57CE

#9E57CE is a mid, vivid violet. Relative luminance 0.185; OKLCH L 59.2% C 0.183 H 309.4°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#9E57CE
RGBrgb(158, 87, 206)
HSLhsl(276, 55%, 57%)
HSVhsv(276, 58%, 81%)
CMYKcmyk(23.3%, 57.8%, 0%, 19.2%)
CIE-LABlab(50.15, 50.12, -50.33)
CIE-LCHlch(50.15, 71.03, 314.88°)
OKLaboklab(59.16% 0.1164 -0.1416)
OKLCHoklch(59.16% 0.183 309.4)
XYZxyz(28.6472, 18.5422, 60.4504)
Luminance0.1854 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E57CE #87CE57
analogous
#6257CE #9E57CE #CE57C3
triadic
#9E57CE #CE9E57 #57CE9E
tetradic
#9E57CE #CE6257 #87CE57 #57C3CE
square
#9E57CE #CE6257 #87CE57 #57C3CE
split-complementary
#9E57CE #C3CE57 #57CE62
monochromatic
#5E2784 #8034B3 #9E57CE #B986DC #D5B6EA

Accessibility & contrast

On white

4.46
#9E57CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#9E57CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E57CE
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E57CE#FFFFFF#000000##000000
##9E57CE1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D74D2
Deuteranopia (green-blind)
#4978CB
Tritanopia (blue-blind)
#976D8A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9e57ce;
/* rgb */ color: rgb(158, 87, 206);
/* oklch */ color: oklch(59.2% 0.183 309.4);
Tailwind
colors: {
  custom: {
    50: '#be89dd',
    500: '#9e57ce',
    950: '#000000',
  },
}
SCSS
$custom: #9e57ce;
$custom-light: #be89dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9e57ce",
  "rgb": {
    "r": 158,
    "g": 87,
    "b": 206
  },
  "hsl": {
    "h": 275.798,
    "s": 54.839,
    "l": 57.451
  },
  "oklch": {
    "l": 0.59156,
    "c": 0.18328,
    "h": 309.4
  },
  "luminance": 0.18542
}

Semantic roles & 50–950 ramp

primary
#9E57CE
secondary
#BCD8A8
accent
#DE4A86
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #9E57CE

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

Preview Lab → · Contrast checker → · Palette generator →

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