#7E57F5#7E57F5

#7E57F5 is a mid, highly saturated violet. Relative luminance 0.178; OKLCH L 58.6% C 0.224 H 288.9°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#7E57F5
RGBrgb(126, 87, 245)
HSLhsl(255, 89%, 65%)
HSVhsv(255, 64%, 96%)
CMYKcmyk(48.6%, 64.5%, 0%, 3.9%)
CIE-LABlab(49.31, 53.13, -73.92)
CIE-LCHlch(49.31, 91.03, 305.71°)
OKLaboklab(58.58% 0.0726 -0.2118)
OKLCHoklch(58.58% 0.224 288.9)
XYZxyz(28.4891, 17.8434, 88.3115)
Luminance0.1784 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E57F5 #CEF557
analogous
#577FF5 #7E57F5 #CD57F5
triadic
#7E57F5 #F57E57 #57F57E
tetradic
#7E57F5 #F5577F #CEF557 #57F5CD
square
#7E57F5 #F5577F #CEF557 #57F5CD
split-complementary
#7E57F5 #F5CD57 #7FF557
monochromatic
#3A0CC6 #521DF2 #7E57F5 #AA91F8 #D7CBFC

Accessibility & contrast

On white

4.60
#7E57F5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#7E57F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7E57F5
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E57F5#FFFFFF#000000##FFFFFF
##7E57F51.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078FA
Deuteranopia (green-blind)
#0071F2
Tritanopia (blue-blind)
#557E9F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7e57f5;
/* rgb */ color: rgb(126, 87, 245);
/* oklch */ color: oklch(58.6% 0.224 288.9);
Tailwind
colors: {
  custom: {
    50: '#ac89f9',
    500: '#7e57f5',
    950: '#000000',
  },
}
SCSS
$custom: #7e57f5;
$custom-light: #ac89f9;
$custom-dark: #000000;
JSON
{
  "hex": "#7e57f5",
  "rgb": {
    "r": 126,
    "g": 87,
    "b": 245
  },
  "hsl": {
    "h": 254.81,
    "s": 88.764,
    "l": 65.098
  },
  "oklch": {
    "l": 0.58583,
    "c": 0.22394,
    "h": 288.9
  },
  "luminance": 0.17845
}

Semantic roles & 50–950 ramp

primary
#7E57F5
secondary
#E1EFB9
accent
#E500AD
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7E57F5

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

Preview Lab → · Contrast checker → · Palette generator →

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