#7E57E8#7E57E8

#7E57E8 is a mid, highly saturated violet. Relative luminance 0.171; OKLCH L 57.6% C 0.208 H 290.8°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#7E57E8
RGBrgb(126, 87, 232)
HSLhsl(256, 76%, 63%)
HSVhsv(256, 63%, 91%)
CMYKcmyk(45.7%, 62.5%, 0%, 9%)
CIE-LABlab(48.36, 49.54, -68.16)
CIE-LCHlch(48.36, 84.27, 306.01°)
OKLaboklab(57.6% 0.0739 -0.1949)
OKLCHoklch(57.6% 0.208 290.8)
XYZxyz(26.5738, 17.0773, 78.2244)
Luminance0.1708 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E57E8 #C1E857
analogous
#5778E8 #7E57E8 #C757E8
triadic
#7E57E8 #E87E57 #57E87E
tetradic
#7E57E8 #E85778 #C1E857 #57E8C7
square
#7E57E8 #E85778 #C1E857 #57E8C7
split-complementary
#7E57E8 #E8C757 #78E857
monochromatic
#4018AD #5521E1 #7E57E8 #A78DEF #D1C3F7

Accessibility & contrast

On white

4.76
#7E57E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#7E57E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E57E8
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E57E8#FFFFFF#000000##FFFFFF
##7E57E81.004.764.424.76
#FFFFFF4.761.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075ED
Deuteranopia (green-blind)
#0070E5
Tritanopia (blue-blind)
#5D7998
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7e57e8;
/* rgb */ color: rgb(126, 87, 232);
/* oklch */ color: oklch(57.6% 0.208 290.8);
Tailwind
colors: {
  custom: {
    50: '#ab88f0',
    500: '#7e57e8',
    950: '#000000',
  },
}
SCSS
$custom: #7e57e8;
$custom-light: #ab88f0;
$custom-dark: #000000;
JSON
{
  "hex": "#7e57e8",
  "rgb": {
    "r": 126,
    "g": 87,
    "b": 232
  },
  "hsl": {
    "h": 256.138,
    "s": 75.916,
    "l": 62.549
  },
  "oklch": {
    "l": 0.57598,
    "c": 0.20846,
    "h": 290.8
  },
  "luminance": 0.17078
}

Semantic roles & 50–950 ramp

primary
#7E57E8
secondary
#DAE8B3
accent
#D80DA2
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #7E57E8

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

Preview Lab → · Contrast checker → · Palette generator →

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