#7A57EE#7A57EE

#7A57EE is a mid, highly saturated violet. Relative luminance 0.171; OKLCH L 57.7% C 0.216 H 288.4°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#7A57EE
RGBrgb(122, 87, 238)
HSLhsl(254, 82%, 64%)
HSVhsv(254, 63%, 93%)
CMYKcmyk(48.7%, 63.4%, 0%, 6.7%)
CIE-LABlab(48.42, 50.46, -71.46)
CIE-LCHlch(48.42, 87.48, 305.23°)
OKLaboklab(57.69% 0.0681 -0.2047)
OKLCHoklch(57.69% 0.216 288.4)
XYZxyz(26.8624, 17.1258, 82.7626)
Luminance0.1713 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A57EE #CBEE57
analogous
#577FEE #7A57EE #C557EE
triadic
#7A57EE #EE7A57 #57EE7A
tetradic
#7A57EE #EE577F #CBEE57 #57EEC5
square
#7A57EE #EE577F #CBEE57 #57EEC5
split-complementary
#7A57EE #EEC557 #7FEE57
monochromatic
#3913B8 #4E1FE8 #7A57EE #A68FF4 #D2C6F9

Accessibility & contrast

On white

4.75
#7A57EE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#7A57EE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A57EE
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A57EE#FFFFFF#000000##FFFFFF
##7A57EE1.004.754.434.75
#FFFFFF4.751.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076F3
Deuteranopia (green-blind)
#006FEB
Tritanopia (blue-blind)
#527B9B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7a57ee;
/* rgb */ color: rgb(122, 87, 238);
/* oklch */ color: oklch(57.7% 0.216 288.4);
Tailwind
colors: {
  custom: {
    50: '#a988f5',
    500: '#7a57ee',
    950: '#000000',
  },
}
SCSS
$custom: #7a57ee;
$custom-light: #a988f5;
$custom-dark: #000000;
JSON
{
  "hex": "#7a57ee",
  "rgb": {
    "r": 122,
    "g": 87,
    "b": 238
  },
  "hsl": {
    "h": 253.907,
    "s": 81.622,
    "l": 63.725
  },
  "oklch": {
    "l": 0.5769,
    "c": 0.21576,
    "h": 288.4
  },
  "luminance": 0.17127
}

Semantic roles & 50–950 ramp

primary
#7A57EE
secondary
#DFEBB6
accent
#DE08AC
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110B17
muted
#807C85

Preview Lab

Preview with #7A57EE

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

Preview Lab → · Contrast checker → · Palette generator →

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