#7A57EA#7A57EA

#7A57EA is a mid, highly saturated violet. Relative luminance 0.169; OKLCH L 57.4% C 0.211 H 288.9°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#7A57EA
RGBrgb(122, 87, 234)
HSLhsl(254, 78%, 63%)
HSVhsv(254, 63%, 92%)
CMYKcmyk(47.9%, 62.8%, 0%, 8.2%)
CIE-LABlab(48.13, 49.34, -69.69)
CIE-LCHlch(48.13, 85.38, 305.30°)
OKLaboklab(57.39% 0.0684 -0.1995)
OKLCHoklch(57.39% 0.211 288.9)
XYZxyz(26.2812, 16.8934, 79.7019)
Luminance0.1689 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A57EA #C7EA57
analogous
#577DEA #7A57EA #C457EA
triadic
#7A57EA #EA7A57 #57EA7A
tetradic
#7A57EA #EA577D #C7EA57 #57EAC4
square
#7A57EA #EA577D #C7EA57 #57EAC4
split-complementary
#7A57EA #EAC457 #7DEA57
monochromatic
#3B16B1 #4F21E3 #7A57EA #A58DF1 #D0C4F8

Accessibility & contrast

On white

4.80
#7A57EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#7A57EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A57EA
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A57EA#FFFFFF#000000##FFFFFF
##7A57EA1.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075EF
Deuteranopia (green-blind)
#006FE7
Tritanopia (blue-blind)
#557A99
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7a57ea;
/* rgb */ color: rgb(122, 87, 234);
/* oklch */ color: oklch(57.4% 0.211 288.9);
Tailwind
colors: {
  custom: {
    50: '#a988f2',
    500: '#7a57ea',
    950: '#000000',
  },
}
SCSS
$custom: #7a57ea;
$custom-light: #a988f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7a57ea",
  "rgb": {
    "r": 122,
    "g": 87,
    "b": 234
  },
  "hsl": {
    "h": 254.286,
    "s": 77.778,
    "l": 62.941
  },
  "oklch": {
    "l": 0.57386,
    "c": 0.21094,
    "h": 288.9
  },
  "luminance": 0.16894
}

Semantic roles & 50–950 ramp

primary
#7A57EA
secondary
#DCE9B4
accent
#DA0BA9
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #7A57EA

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

Preview Lab → · Contrast checker → · Palette generator →

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