#7E57EE#7E57EE

#7E57EE is a mid, highly saturated violet. Relative luminance 0.174; OKLCH L 58.0% C 0.216 H 289.9°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#7E57EE
RGBrgb(126, 87, 238)
HSLhsl(255, 82%, 64%)
HSVhsv(255, 63%, 93%)
CMYKcmyk(47.1%, 63.4%, 0%, 6.7%)
CIE-LABlab(48.79, 51.20, -70.84)
CIE-LCHlch(48.79, 87.40, 305.86°)
OKLaboklab(58.05% 0.0733 -0.2028)
OKLCHoklch(58.05% 0.216 289.9)
XYZxyz(27.4406, 17.4240, 82.7897)
Luminance0.1742 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E57EE #C7EE57
analogous
#577BEE #7E57EE #CA57EE
triadic
#7E57EE #EE7E57 #57EE7E
tetradic
#7E57EE #EE577B #C7EE57 #57EECA
square
#7E57EE #EE577B #C7EE57 #57EECA
split-complementary
#7E57EE #EECA57 #7BEE57
monochromatic
#3D13B8 #531FE8 #7E57EE #A98FF4 #D3C6F9

Accessibility & contrast

On white

4.68
#7E57EE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#7E57EE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E57EE
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E57EE#FFFFFF#000000##FFFFFF
##7E57EE1.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077F3
Deuteranopia (green-blind)
#0070EB
Tritanopia (blue-blind)
#5A7B9B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7e57ee;
/* rgb */ color: rgb(126, 87, 238);
/* oklch */ color: oklch(58.0% 0.216 289.9);
Tailwind
colors: {
  custom: {
    50: '#ab88f5',
    500: '#7e57ee',
    950: '#000000',
  },
}
SCSS
$custom: #7e57ee;
$custom-light: #ab88f5;
$custom-dark: #000000;
JSON
{
  "hex": "#7e57ee",
  "rgb": {
    "r": 126,
    "g": 87,
    "b": 238
  },
  "hsl": {
    "h": 255.497,
    "s": 81.622,
    "l": 63.725
  },
  "oklch": {
    "l": 0.58048,
    "c": 0.21564,
    "h": 289.9
  },
  "luminance": 0.17425
}

Semantic roles & 50–950 ramp

primary
#7E57EE
secondary
#DDEBB6
accent
#DE08A7
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110C17
muted
#807D85

Preview Lab

Preview with #7E57EE

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

Preview Lab → · Contrast checker → · Palette generator →

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