#9E57F5#9E57F5

#9E57F5 is a mid, highly saturated violet. Relative luminance 0.207; OKLCH L 61.7% C 0.226 H 300.5°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#9E57F5
RGBrgb(158, 87, 245)
HSLhsl(267, 89%, 65%)
HSVhsv(267, 64%, 96%)
CMYKcmyk(35.5%, 64.5%, 0%, 3.9%)
CIE-LABlab(52.59, 59.22, -68.43)
CIE-LCHlch(52.59, 90.50, 310.87°)
OKLaboklab(61.71% 0.1148 -0.1947)
OKLCHoklch(61.71% 0.226 300.5)
XYZxyz(33.9862, 20.6778, 88.5692)
Luminance0.2068 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E57F5 #AEF557
analogous
#575FF5 #9E57F5 #ED57F5
triadic
#9E57F5 #F59E57 #57F59E
tetradic
#9E57F5 #F5575F #AEF557 #57F5ED
square
#9E57F5 #F5575F #AEF557 #57F5ED
split-complementary
#9E57F5 #F5ED57 #5FF557
monochromatic
#5F0CC6 #7D1DF2 #9E57F5 #BF91F8 #E1CBFC

Accessibility & contrast

On white

4.09
#9E57F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#9E57F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E57F5
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E57F5#FFFFFF#000000##000000
##9E57F51.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DFA
Deuteranopia (green-blind)
#007CF2
Tritanopia (blue-blind)
#8B7B9F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #9e57f5;
/* rgb */ color: rgb(158, 87, 245);
/* oklch */ color: oklch(61.7% 0.226 300.5);
Tailwind
colors: {
  custom: {
    50: '#c08af9',
    500: '#9e57f5',
    950: '#000000',
  },
}
SCSS
$custom: #9e57f5;
$custom-light: #c08af9;
$custom-dark: #000000;
JSON
{
  "hex": "#9e57f5",
  "rgb": {
    "r": 158,
    "g": 87,
    "b": 245
  },
  "hsl": {
    "h": 266.962,
    "s": 88.764,
    "l": 65.098
  },
  "oklch": {
    "l": 0.61713,
    "c": 0.22601,
    "h": 300.5
  },
  "luminance": 0.20678
}

Semantic roles & 50–950 ramp

primary
#9E57F5
secondary
#D7EFB9
accent
#E5007E
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C17
muted
#827D85

Preview Lab

Preview with #9E57F5

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

Preview Lab → · Contrast checker → · Palette generator →

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