#7E57EB#7E57EB

#7E57EB is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 57.8% C 0.212 H 290.3°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#7E57EB
RGBrgb(126, 87, 235)
HSLhsl(256, 79%, 63%)
HSVhsv(256, 63%, 92%)
CMYKcmyk(46.4%, 63%, 0%, 7.8%)
CIE-LABlab(48.57, 50.37, -69.50)
CIE-LCHlch(48.57, 85.84, 305.93°)
OKLaboklab(57.82% 0.0736 -0.1989)
OKLCHoklch(57.82% 0.212 290.3)
XYZxyz(27.0035, 17.2492, 80.4878)
Luminance0.1725 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E57EB #C4EB57
analogous
#577AEB #7E57EB #C857EB
triadic
#7E57EB #EB7E57 #57EB7E
tetradic
#7E57EB #EB577A #C4EB57 #57EBC8
square
#7E57EB #EB577A #C4EB57 #57EBC8
split-complementary
#7E57EB #EBC857 #7AEB57
monochromatic
#3F15B2 #5420E4 #7E57EB #A88EF2 #D2C4F8

Accessibility & contrast

On white

4.72
#7E57EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#7E57EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E57EB
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E57EB#FFFFFF#000000##FFFFFF
##7E57EB1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076F0
Deuteranopia (green-blind)
#0070E8
Tritanopia (blue-blind)
#5C7A99
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7e57eb;
/* rgb */ color: rgb(126, 87, 235);
/* oklch */ color: oklch(57.8% 0.212 290.3);
Tailwind
colors: {
  custom: {
    50: '#ab88f2',
    500: '#7e57eb',
    950: '#000000',
  },
}
SCSS
$custom: #7e57eb;
$custom-light: #ab88f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7e57eb",
  "rgb": {
    "r": 126,
    "g": 87,
    "b": 235
  },
  "hsl": {
    "h": 255.811,
    "s": 78.723,
    "l": 63.137
  },
  "oklch": {
    "l": 0.57822,
    "c": 0.21205,
    "h": 290.3
  },
  "luminance": 0.1725
}

Semantic roles & 50–950 ramp

primary
#7E57EB
secondary
#DBE9B4
accent
#DB0AA4
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #7E57EB

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

Preview Lab → · Contrast checker → · Palette generator →

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