#7E57FF#7E57FF

#7E57FF is a mid, highly saturated violet. Relative luminance 0.185; OKLCH L 59.4% C 0.236 H 287.6°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#7E57FF
RGBrgb(126, 87, 255)
HSLhsl(254, 100%, 67%)
HSVhsv(254, 66%, 100%)
CMYKcmyk(50.6%, 65.9%, 0%, 0%)
CIE-LABlab(50.06, 55.90, -78.26)
CIE-LCHlch(50.06, 96.17, 305.54°)
OKLaboklab(59.36% 0.0713 -0.2246)
OKLCHoklch(59.36% 0.236 287.6)
XYZxyz(30.0571, 18.4706, 96.5698)
Luminance0.1847 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E57FF #D8FF57
analogous
#5784FF #7E57FF #D257FF
triadic
#7E57FF #FF7E57 #57FF7E
tetradic
#7E57FF #FF5784 #D8FF57 #57FFD2
square
#7E57FF #FF5784 #D8FF57 #57FFD2
split-complementary
#7E57FF #FFD257 #84FF57
monochromatic
#3300DC #4F1AFF #7E57FF #AD94FF #DCD1FF

Accessibility & contrast

On white

4.47
#7E57FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#7E57FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E57FF
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E57FF#FFFFFF#000000##000000
##7E57FF1.004.474.694.69
#FFFFFF4.471.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BFF
Deuteranopia (green-blind)
#0073FC
Tritanopia (blue-blind)
#4E81A4
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7e57ff;
/* rgb */ color: rgb(126, 87, 255);
/* oklch */ color: oklch(59.4% 0.236 287.6);
Tailwind
colors: {
  custom: {
    50: '#ae89ff',
    500: '#7e57ff',
    950: '#000000',
  },
}
SCSS
$custom: #7e57ff;
$custom-light: #ae89ff;
$custom-dark: #000000;
JSON
{
  "hex": "#7e57ff",
  "rgb": {
    "r": 126,
    "g": 87,
    "b": 255
  },
  "hsl": {
    "h": 253.929,
    "s": 100,
    "l": 67.059
  },
  "oklch": {
    "l": 0.59364,
    "c": 0.23566,
    "h": 287.6
  },
  "luminance": 0.18472
}

Semantic roles & 50–950 ramp

primary
#7E57FF
secondary
#E7F4BE
accent
#E600B0
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #7E57FF

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

Preview Lab → · Contrast checker → · Palette generator →

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