#7E57F2#7E57F2

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

Color values

HEX#7E57F2
RGBrgb(126, 87, 242)
HSLhsl(255, 86%, 65%)
HSVhsv(255, 64%, 95%)
CMYKcmyk(47.9%, 64%, 0%, 5.1%)
CIE-LABlab(49.08, 52.30, -72.60)
CIE-LCHlch(49.08, 89.48, 305.77°)
OKLaboklab(58.35% 0.0729 -0.208)
OKLCHoklch(58.35% 0.22 289.3)
XYZxyz(28.0348, 17.6617, 85.9191)
Luminance0.1766 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E57F2 #CBF257
analogous
#577EF2 #7E57F2 #CC57F2
triadic
#7E57F2 #F27E57 #57F27E
tetradic
#7E57F2 #F2577E #CBF257 #57F2CC
square
#7E57F2 #F2577E #CBF257 #57F2CC
split-complementary
#7E57F2 #F2CC57 #7EF257
monochromatic
#3B0FC0 #521EEE #7E57F2 #AA90F6 #D5C9FB

Accessibility & contrast

On white

4.63
#7E57F2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#7E57F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7E57F2
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E57F2#FFFFFF#000000##FFFFFF
##7E57F21.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e57f2;
/* rgb */ color: rgb(126, 87, 242);
/* oklch */ color: oklch(58.4% 0.220 289.3);
Tailwind
colors: {
  custom: {
    50: '#ac88f7',
    500: '#7e57f2',
    950: '#000000',
  },
}
SCSS
$custom: #7e57f2;
$custom-light: #ac88f7;
$custom-dark: #000000;
JSON
{
  "hex": "#7e57f2",
  "rgb": {
    "r": 126,
    "g": 87,
    "b": 242
  },
  "hsl": {
    "h": 255.097,
    "s": 85.635,
    "l": 64.51
  },
  "oklch": {
    "l": 0.58352,
    "c": 0.22039,
    "h": 289.3
  },
  "luminance": 0.17663
}

Semantic roles & 50–950 ramp

primary
#7E57F2
secondary
#E0EDB8
accent
#E203AA
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7E57F2

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

Preview Lab → · Contrast checker → · Palette generator →

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