#9E57CF#9E57CF

#9E57CF is a mid, vivid violet. Relative luminance 0.186; OKLCH L 59.2% C 0.184 H 309.2°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#9E57CF
RGBrgb(158, 87, 207)
HSLhsl(276, 56%, 58%)
HSVhsv(276, 58%, 81%)
CMYKcmyk(23.7%, 58%, 0%, 18.8%)
CIE-LABlab(50.21, 50.34, -50.81)
CIE-LCHlch(50.21, 71.53, 314.74°)
OKLaboklab(59.22% 0.1164 -0.143)
OKLCHoklch(59.22% 0.184 309.2)
XYZxyz(28.7690, 18.5910, 61.0923)
Luminance0.1859 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E57CF #88CF57
analogous
#6257CF #9E57CF #CF57C4
triadic
#9E57CF #CF9E57 #57CF9E
tetradic
#9E57CF #CF6257 #88CF57 #57C4CF
square
#9E57CF #CF6257 #88CF57 #57C4CF
split-complementary
#9E57CF #C4CF57 #57CF62
monochromatic
#5F2685 #8034B5 #9E57CF #B987DD #D5B6EA

Accessibility & contrast

On white

4.45
#9E57CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#9E57CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E57CF
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E57CF#FFFFFF#000000##000000
##9E57CF1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B74D3
Deuteranopia (green-blind)
#4878CC
Tritanopia (blue-blind)
#976D8B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9e57cf;
/* rgb */ color: rgb(158, 87, 207);
/* oklch */ color: oklch(59.2% 0.184 309.2);
Tailwind
colors: {
  custom: {
    50: '#be89de',
    500: '#9e57cf',
    950: '#000000',
  },
}
SCSS
$custom: #9e57cf;
$custom-light: #be89de;
$custom-dark: #000000;
JSON
{
  "hex": "#9e57cf",
  "rgb": {
    "r": 158,
    "g": 87,
    "b": 207
  },
  "hsl": {
    "h": 275.5,
    "s": 55.556,
    "l": 57.647
  },
  "oklch": {
    "l": 0.59217,
    "c": 0.18438,
    "h": 309.2
  },
  "luminance": 0.1859
}

Semantic roles & 50–950 ramp

primary
#9E57CF
secondary
#BCD9A9
accent
#DF4986
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #9E57CF

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

Preview Lab → · Contrast checker → · Palette generator →

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