#9E57E8#9E57E8

#9E57E8 is a mid, highly saturated violet. Relative luminance 0.199; OKLCH L 60.8% C 0.212 H 303.2°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#9E57E8
RGBrgb(158, 87, 232)
HSLhsl(269, 76%, 63%)
HSVhsv(269, 63%, 91%)
CMYKcmyk(31.9%, 62.5%, 0%, 9%)
CIE-LABlab(51.74, 56.12, -62.53)
CIE-LCHlch(51.74, 84.02, 311.91°)
OKLaboklab(60.82% 0.1158 -0.1773)
OKLCHoklch(60.82% 0.212 303.2)
XYZxyz(32.0709, 19.9117, 78.4820)
Luminance0.1991 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E57E8 #A1E857
analogous
#5759E8 #9E57E8 #E657E8
triadic
#9E57E8 #E89E57 #57E89E
tetradic
#9E57E8 #E85759 #A1E857 #57E8E6
square
#9E57E8 #E85759 #A1E857 #57E8E6
split-complementary
#9E57E8 #E8E657 #59E857
monochromatic
#6118AD #7F21E1 #9E57E8 #BD8DEF #DCC3F7

Accessibility & contrast

On white

4.21
#9E57E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#9E57E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E57E8
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E57E8#FFFFFF#000000##000000
##9E57E81.004.214.984.98
#FFFFFF4.211.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AED
Deuteranopia (green-blind)
#2B7BE5
Tritanopia (blue-blind)
#907698
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #9e57e8;
/* rgb */ color: rgb(158, 87, 232);
/* oklch */ color: oklch(60.8% 0.212 303.2);
Tailwind
colors: {
  custom: {
    50: '#bf8af0',
    500: '#9e57e8',
    950: '#000000',
  },
}
SCSS
$custom: #9e57e8;
$custom-light: #bf8af0;
$custom-dark: #000000;
JSON
{
  "hex": "#9e57e8",
  "rgb": {
    "r": 158,
    "g": 87,
    "b": 232
  },
  "hsl": {
    "h": 269.379,
    "s": 75.916,
    "l": 62.549
  },
  "oklch": {
    "l": 0.60821,
    "c": 0.21183,
    "h": 303.2
  },
  "luminance": 0.19912
}

Semantic roles & 50–950 ramp

primary
#9E57E8
secondary
#CEE8B3
accent
#D80D75
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #9E57E8

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

Preview Lab → · Contrast checker → · Palette generator →

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