#9E57CC#9E57CC

#9E57CC is a mid, vivid violet. Relative luminance 0.184; OKLCH L 59.0% C 0.181 H 310.0°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#9E57CC
RGBrgb(158, 87, 204)
HSLhsl(276, 53%, 57%)
HSVhsv(276, 57%, 80%)
CMYKcmyk(22.5%, 57.4%, 0%, 20%)
CIE-LABlab(50.03, 49.67, -49.37)
CIE-LCHlch(50.03, 70.03, 315.17°)
OKLaboklab(59.03% 0.1164 -0.1387)
OKLCHoklch(59.03% 0.181 310)
XYZxyz(28.4058, 18.4457, 59.1790)
Luminance0.1845 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E57CC #85CC57
analogous
#6357CC #9E57CC #CC57C0
triadic
#9E57CC #CC9E57 #57CC9E
tetradic
#9E57CC #CC6357 #85CC57 #57C0CC
square
#9E57CC #CC6357 #85CC57 #57C0CC
split-complementary
#9E57CC #C0CC57 #57CC63
monochromatic
#5E2781 #8036B0 #9E57CC #B986DA #D4B5E9

Accessibility & contrast

On white

4.48
#9E57CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#9E57CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E57CC
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E57CC#FFFFFF#000000##000000
##9E57CC1.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F74D0
Deuteranopia (green-blind)
#4B78C9
Tritanopia (blue-blind)
#986C89
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9e57cc;
/* rgb */ color: rgb(158, 87, 204);
/* oklch */ color: oklch(59.0% 0.181 310.0);
Tailwind
colors: {
  custom: {
    50: '#be89dc',
    500: '#9e57cc',
    950: '#000000',
  },
}
SCSS
$custom: #9e57cc;
$custom-light: #be89dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9e57cc",
  "rgb": {
    "r": 158,
    "g": 87,
    "b": 204
  },
  "hsl": {
    "h": 276.41,
    "s": 53.425,
    "l": 57.059
  },
  "oklch": {
    "l": 0.59034,
    "c": 0.18108,
    "h": 310
  },
  "luminance": 0.18445
}

Semantic roles & 50–950 ramp

primary
#9E57CC
secondary
#BAD7A8
accent
#DD4B84
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #9E57CC

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

Preview Lab → · Contrast checker → · Palette generator →

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