#7E57ED#7E57ED

#7E57ED is a mid, highly saturated violet. Relative luminance 0.174; OKLCH L 58.0% C 0.214 H 290.0°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#7E57ED
RGBrgb(126, 87, 237)
HSLhsl(256, 81%, 64%)
HSVhsv(256, 63%, 93%)
CMYKcmyk(46.8%, 63.3%, 0%, 7.1%)
CIE-LABlab(48.72, 50.92, -70.39)
CIE-LCHlch(48.72, 86.88, 305.88°)
OKLaboklab(57.97% 0.0734 -0.2015)
OKLCHoklch(57.97% 0.214 290)
XYZxyz(27.2941, 17.3654, 82.0181)
Luminance0.1737 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E57ED #C6ED57
analogous
#577BED #7E57ED #C957ED
triadic
#7E57ED #ED7E57 #57ED7E
tetradic
#7E57ED #ED577B #C6ED57 #57EDC9
square
#7E57ED #ED577B #C6ED57 #57EDC9
split-complementary
#7E57ED #EDC957 #7BED57
monochromatic
#3E14B6 #5420E7 #7E57ED #A88EF3 #D3C6F9

Accessibility & contrast

On white

4.69
#7E57ED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#7E57ED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E57ED
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E57ED#FFFFFF#000000##FFFFFF
##7E57ED1.004.694.474.69
#FFFFFF4.691.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077F2
Deuteranopia (green-blind)
#0070EA
Tritanopia (blue-blind)
#5A7B9A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7e57ed;
/* rgb */ color: rgb(126, 87, 237);
/* oklch */ color: oklch(58.0% 0.214 290.0);
Tailwind
colors: {
  custom: {
    50: '#ab88f4',
    500: '#7e57ed',
    950: '#000000',
  },
}
SCSS
$custom: #7e57ed;
$custom-light: #ab88f4;
$custom-dark: #000000;
JSON
{
  "hex": "#7e57ed",
  "rgb": {
    "r": 126,
    "g": 87,
    "b": 237
  },
  "hsl": {
    "h": 255.6,
    "s": 80.645,
    "l": 63.529
  },
  "oklch": {
    "l": 0.57973,
    "c": 0.21445,
    "h": 290
  },
  "luminance": 0.17366
}

Semantic roles & 50–950 ramp

primary
#7E57ED
secondary
#DDEAB5
accent
#DD09A6
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110C17
muted
#807D85

Preview Lab

Preview with #7E57ED

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

Preview Lab → · Contrast checker → · Palette generator →

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