#7E57F3#7E57F3

#7E57F3 is a mid, highly saturated violet. Relative luminance 0.177; OKLCH L 58.4% C 0.222 H 289.2°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#7E57F3
RGBrgb(126, 87, 243)
HSLhsl(255, 87%, 65%)
HSVhsv(255, 64%, 95%)
CMYKcmyk(48.1%, 64.2%, 0%, 4.7%)
CIE-LABlab(49.16, 52.58, -73.04)
CIE-LCHlch(49.16, 90.00, 305.75°)
OKLaboklab(58.43% 0.0728 -0.2093)
OKLCHoklch(58.43% 0.222 289.2)
XYZxyz(28.1854, 17.7219, 86.7122)
Luminance0.1772 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E57F3 #CCF357
analogous
#577EF3 #7E57F3 #CC57F3
triadic
#7E57F3 #F37E57 #57F37E
tetradic
#7E57F3 #F3577E #CCF357 #57F3CC
square
#7E57F3 #F3577E #CCF357 #57F3CC
split-complementary
#7E57F3 #F3CC57 #7EF357
monochromatic
#3B0EC2 #521EEF #7E57F3 #AA90F7 #D6C9FB

Accessibility & contrast

On white

4.62
#7E57F3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#7E57F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7E57F3
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E57F3#FFFFFF#000000##FFFFFF
##7E57F31.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078F8
Deuteranopia (green-blind)
#0071F0
Tritanopia (blue-blind)
#577D9D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7e57f3;
/* rgb */ color: rgb(126, 87, 243);
/* oklch */ color: oklch(58.4% 0.222 289.2);
Tailwind
colors: {
  custom: {
    50: '#ac88f8',
    500: '#7e57f3',
    950: '#000000',
  },
}
SCSS
$custom: #7e57f3;
$custom-light: #ac88f8;
$custom-dark: #000000;
JSON
{
  "hex": "#7e57f3",
  "rgb": {
    "r": 126,
    "g": 87,
    "b": 243
  },
  "hsl": {
    "h": 255,
    "s": 86.667,
    "l": 64.706
  },
  "oklch": {
    "l": 0.58429,
    "c": 0.22157,
    "h": 289.2
  },
  "luminance": 0.17723
}

Semantic roles & 50–950 ramp

primary
#7E57F3
secondary
#E0EEB8
accent
#E302AB
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7E57F3

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

Preview Lab → · Contrast checker → · Palette generator →

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