#7E57EC#7E57EC

#7E57EC is a mid, highly saturated violet. Relative luminance 0.173; OKLCH L 57.9% C 0.213 H 290.2°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#7E57EC
RGBrgb(126, 87, 236)
HSLhsl(256, 80%, 63%)
HSVhsv(256, 63%, 93%)
CMYKcmyk(46.6%, 63.1%, 0%, 7.5%)
CIE-LABlab(48.64, 50.64, -69.95)
CIE-LCHlch(48.64, 86.36, 305.90°)
OKLaboklab(57.9% 0.0735 -0.2002)
OKLCHoklch(57.9% 0.213 290.2)
XYZxyz(27.1484, 17.3071, 81.2508)
Luminance0.1731 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E57EC #C5EC57
analogous
#577AEC #7E57EC #C957EC
triadic
#7E57EC #EC7E57 #57EC7E
tetradic
#7E57EC #EC577A #C5EC57 #57ECC9
square
#7E57EC #EC577A #C5EC57 #57ECC9
split-complementary
#7E57EC #ECC957 #7AEC57
monochromatic
#3E14B4 #5420E6 #7E57EC #A88EF2 #D2C5F8

Accessibility & contrast

On white

4.71
#7E57EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#7E57EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E57EC
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E57EC#FFFFFF#000000##FFFFFF
##7E57EC1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076F1
Deuteranopia (green-blind)
#0070E9
Tritanopia (blue-blind)
#5B7A9A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7e57ec;
/* rgb */ color: rgb(126, 87, 236);
/* oklch */ color: oklch(57.9% 0.213 290.2);
Tailwind
colors: {
  custom: {
    50: '#ab88f3',
    500: '#7e57ec',
    950: '#000000',
  },
}
SCSS
$custom: #7e57ec;
$custom-light: #ab88f3;
$custom-dark: #000000;
JSON
{
  "hex": "#7e57ec",
  "rgb": {
    "r": 126,
    "g": 87,
    "b": 236
  },
  "hsl": {
    "h": 255.705,
    "s": 79.679,
    "l": 63.333
  },
  "oklch": {
    "l": 0.57897,
    "c": 0.21325,
    "h": 290.2
  },
  "luminance": 0.17308
}

Semantic roles & 50–950 ramp

primary
#7E57EC
secondary
#DCEAB5
accent
#DC0AA5
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110C17
muted
#807D85

Preview Lab

Preview with #7E57EC

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

Preview Lab → · Contrast checker → · Palette generator →

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