#9E57FA#9E57FA

#9E57FA is a light, highly saturated violet. Relative luminance 0.210; OKLCH L 62.1% C 0.231 H 299.6°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#9E57FA
RGBrgb(158, 87, 250)
HSLhsl(266, 94%, 66%)
HSVhsv(266, 65%, 98%)
CMYKcmyk(36.8%, 65.2%, 0%, 2%)
CIE-LABlab(52.94, 60.42, -70.66)
CIE-LCHlch(52.94, 92.97, 310.53°)
OKLaboklab(62.07% 0.1143 -0.2013)
OKLCHoklch(62.07% 0.231 299.6)
XYZxyz(34.7598, 20.9873, 92.6436)
Luminance0.2099 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E57FA #B3FA57
analogous
#5761FA #9E57FA #F057FA
triadic
#9E57FA #FA9E57 #57FA9E
tetradic
#9E57FA #FA5761 #B3FA57 #57FAF0
square
#9E57FA #FA5761 #B3FA57 #57FAF0
split-complementary
#9E57FA #FAF057 #61FA57
monochromatic
#5E06D0 #7C1CF8 #9E57FA #C092FC #E3CEFE

Accessibility & contrast

On white

4.04
#9E57FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#9E57FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E57FA
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E57FA#FFFFFF#000000##000000
##9E57FA1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EFF
Deuteranopia (green-blind)
#007DF7
Tritanopia (blue-blind)
#897CA1
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9e57fa;
/* rgb */ color: rgb(158, 87, 250);
/* oklch */ color: oklch(62.1% 0.231 299.6);
Tailwind
colors: {
  custom: {
    50: '#c18bfd',
    500: '#9e57fa',
    950: '#000000',
  },
}
SCSS
$custom: #9e57fa;
$custom-light: #c18bfd;
$custom-dark: #000000;
JSON
{
  "hex": "#9e57fa",
  "rgb": {
    "r": 158,
    "g": 87,
    "b": 250
  },
  "hsl": {
    "h": 266.135,
    "s": 94.22,
    "l": 66.078
  },
  "oklch": {
    "l": 0.62066,
    "c": 0.23143,
    "h": 299.6
  },
  "luminance": 0.20988
}

Semantic roles & 50–950 ramp

primary
#9E57FA
secondary
#DAF1BC
accent
#E60082
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C18
muted
#827D86

Preview Lab

Preview with #9E57FA

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

Preview Lab → · Contrast checker → · Palette generator →

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