#7E57EF#7E57EF

#7E57EF is a mid, highly saturated violet. Relative luminance 0.175; OKLCH L 58.1% C 0.217 H 289.7°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#7E57EF
RGBrgb(126, 87, 239)
HSLhsl(255, 83%, 64%)
HSVhsv(255, 64%, 94%)
CMYKcmyk(47.3%, 63.6%, 0%, 6.3%)
CIE-LABlab(48.86, 51.47, -71.28)
CIE-LCHlch(48.86, 87.92, 305.83°)
OKLaboklab(58.12% 0.0732 -0.2041)
OKLCHoklch(58.12% 0.217 289.7)
XYZxyz(27.5879, 17.4829, 83.5655)
Luminance0.1748 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E57EF #C8EF57
analogous
#577CEF #7E57EF #CA57EF
triadic
#7E57EF #EF7E57 #57EF7E
tetradic
#7E57EF #EF577C #C8EF57 #57EFCA
square
#7E57EF #EF577C #C8EF57 #57EFCA
split-complementary
#7E57EF #EFCA57 #7CEF57
monochromatic
#3D12BA #531FEA #7E57EF #A98FF4 #D4C7FA

Accessibility & contrast

On white

4.67
#7E57EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#7E57EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7E57EF
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E57EF#FFFFFF#000000##FFFFFF
##7E57EF1.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077F4
Deuteranopia (green-blind)
#0070EC
Tritanopia (blue-blind)
#597B9B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7e57ef;
/* rgb */ color: rgb(126, 87, 239);
/* oklch */ color: oklch(58.1% 0.217 289.7);
Tailwind
colors: {
  custom: {
    50: '#ac88f5',
    500: '#7e57ef',
    950: '#000000',
  },
}
SCSS
$custom: #7e57ef;
$custom-light: #ac88f5;
$custom-dark: #000000;
JSON
{
  "hex": "#7e57ef",
  "rgb": {
    "r": 126,
    "g": 87,
    "b": 239
  },
  "hsl": {
    "h": 255.395,
    "s": 82.609,
    "l": 63.922
  },
  "oklch": {
    "l": 0.58124,
    "c": 0.21683,
    "h": 289.7
  },
  "luminance": 0.17484
}

Semantic roles & 50–950 ramp

primary
#7E57EF
secondary
#DEECB6
accent
#DF06A7
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7E57EF

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

Preview Lab → · Contrast checker → · Palette generator →

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