#7A57EC#7A57EC

#7A57EC is a mid, highly saturated violet. Relative luminance 0.170; OKLCH L 57.5% C 0.213 H 288.7°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#7A57EC
RGBrgb(122, 87, 236)
HSLhsl(254, 80%, 63%)
HSVhsv(254, 63%, 93%)
CMYKcmyk(48.3%, 63.1%, 0%, 7.5%)
CIE-LABlab(48.27, 49.90, -70.57)
CIE-LCHlch(48.27, 86.43, 305.26°)
OKLaboklab(57.54% 0.0683 -0.2021)
OKLCHoklch(57.54% 0.213 288.7)
XYZxyz(26.5702, 17.0090, 81.2237)
Luminance0.1701 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A57EC #C9EC57
analogous
#577EEC #7A57EC #C457EC
triadic
#7A57EC #EC7A57 #57EC7A
tetradic
#7A57EC #EC577E #C9EC57 #57ECC4
square
#7A57EC #EC577E #C9EC57 #57ECC4
split-complementary
#7A57EC #ECC457 #7EEC57
monochromatic
#3A14B4 #4E20E6 #7A57EC #A68EF2 #D1C5F8

Accessibility & contrast

On white

4.77
#7A57EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#7A57EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A57EC
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A57EC#FFFFFF#000000##FFFFFF
##7A57EC1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076F1
Deuteranopia (green-blind)
#006FE9
Tritanopia (blue-blind)
#537B9A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7a57ec;
/* rgb */ color: rgb(122, 87, 236);
/* oklch */ color: oklch(57.5% 0.213 288.7);
Tailwind
colors: {
  custom: {
    50: '#a988f3',
    500: '#7a57ec',
    950: '#000000',
  },
}
SCSS
$custom: #7a57ec;
$custom-light: #a988f3;
$custom-dark: #000000;
JSON
{
  "hex": "#7a57ec",
  "rgb": {
    "r": 122,
    "g": 87,
    "b": 236
  },
  "hsl": {
    "h": 254.094,
    "s": 79.679,
    "l": 63.333
  },
  "oklch": {
    "l": 0.57537,
    "c": 0.21335,
    "h": 288.7
  },
  "luminance": 0.1701
}

Semantic roles & 50–950 ramp

primary
#7A57EC
secondary
#DDEAB5
accent
#DC0AAB
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110B17
muted
#807C85

Preview Lab

Preview with #7A57EC

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

Preview Lab → · Contrast checker → · Palette generator →

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