#7E57E4#7E57E4

#7E57E4 is a mid, highly saturated violet. Relative luminance 0.169; OKLCH L 57.3% C 0.204 H 291.4°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#7E57E4
RGBrgb(126, 87, 228)
HSLhsl(257, 72%, 62%)
HSVhsv(257, 62%, 89%)
CMYKcmyk(44.7%, 61.8%, 0%, 10.6%)
CIE-LABlab(48.07, 48.45, -66.37)
CIE-LCHlch(48.07, 82.17, 306.13°)
OKLaboklab(57.3% 0.0742 -0.1896)
OKLCHoklch(57.3% 0.204 291.4)
XYZxyz(26.0121, 16.8526, 75.2661)
Luminance0.1685 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E57E4 #BDE457
analogous
#5777E4 #7E57E4 #C557E4
triadic
#7E57E4 #E47E57 #57E47E
tetradic
#7E57E4 #E45777 #BDE457 #57E4C5
square
#7E57E4 #E45777 #BDE457 #57E4C5
split-complementary
#7E57E4 #E4C557 #77E457
monochromatic
#411BA6 #5623DB #7E57E4 #A68CEC #CFC0F5

Accessibility & contrast

On white

4.80
#7E57E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#7E57E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E57E4
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E57E4#FFFFFF#000000##FFFFFF
##7E57E41.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074E8
Deuteranopia (green-blind)
#006FE1
Tritanopia (blue-blind)
#607895
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7e57e4;
/* rgb */ color: rgb(126, 87, 228);
/* oklch */ color: oklch(57.3% 0.204 291.4);
Tailwind
colors: {
  custom: {
    50: '#aa88ed',
    500: '#7e57e4',
    950: '#000000',
  },
}
SCSS
$custom: #7e57e4;
$custom-light: #aa88ed;
$custom-dark: #000000;
JSON
{
  "hex": "#7e57e4",
  "rgb": {
    "r": 126,
    "g": 87,
    "b": 228
  },
  "hsl": {
    "h": 256.596,
    "s": 72.308,
    "l": 61.765
  },
  "oklch": {
    "l": 0.57303,
    "c": 0.20363,
    "h": 291.4
  },
  "luminance": 0.16853
}

Semantic roles & 50–950 ramp

primary
#7E57E4
secondary
#D7E6B1
accent
#D4119E
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #7E57E4

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

Preview Lab → · Contrast checker → · Palette generator →

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