#9E57DF#9E57DF

#9E57DF is a mid, highly saturated violet. Relative luminance 0.194; OKLCH L 60.2% C 0.202 H 305.2°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#9E57DF
RGBrgb(158, 87, 223)
HSLhsl(271, 68%, 61%)
HSVhsv(271, 61%, 87%)
CMYKcmyk(29.1%, 61%, 0%, 12.5%)
CIE-LABlab(51.17, 54.01, -58.37)
CIE-LCHlch(51.17, 79.53, 312.78°)
OKLaboklab(60.23% 0.1163 -0.1651)
OKLCHoklch(60.23% 0.202 305.2)
XYZxyz(30.8251, 19.4134, 71.9210)
Luminance0.1941 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E57DF #98DF57
analogous
#5A57DF #9E57DF #DF57DC
triadic
#9E57DF #DF9E57 #57DF9E
tetradic
#9E57DF #DF5A57 #98DF57 #57DCDF
square
#9E57DF #DF5A57 #98DF57 #57DCDF
split-complementary
#9E57DF #DCDF57 #57DF5A
monochromatic
#611E9E #8028D1 #9E57DF #BC8AE9 #D9BEF3

Accessibility & contrast

On white

4.30
#9E57DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#9E57DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E57DF
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E57DF#FFFFFF#000000##000000
##9E57DF1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0478E3
Deuteranopia (green-blind)
#387ADC
Tritanopia (blue-blind)
#937393
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #9e57df;
/* rgb */ color: rgb(158, 87, 223);
/* oklch */ color: oklch(60.2% 0.202 305.2);
Tailwind
colors: {
  custom: {
    50: '#bf8aea',
    500: '#9e57df',
    950: '#000000',
  },
}
SCSS
$custom: #9e57df;
$custom-light: #bf8aea;
$custom-dark: #000000;
JSON
{
  "hex": "#9e57df",
  "rgb": {
    "r": 158,
    "g": 87,
    "b": 223
  },
  "hsl": {
    "h": 271.324,
    "s": 68,
    "l": 60.784
  },
  "oklch": {
    "l": 0.60226,
    "c": 0.20196,
    "h": 305.2
  },
  "luminance": 0.19413
}

Semantic roles & 50–950 ramp

primary
#9E57DF
secondary
#C8E3AF
accent
#D0166F
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #9E57DF

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

Preview Lab → · Contrast checker → · Palette generator →

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