#7A57EB#7A57EB

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

Color values

HEX#7A57EB
RGBrgb(122, 87, 235)
HSLhsl(254, 79%, 63%)
HSVhsv(254, 63%, 92%)
CMYKcmyk(48.1%, 63%, 0%, 7.8%)
CIE-LABlab(48.20, 49.62, -70.13)
CIE-LCHlch(48.20, 85.91, 305.28°)
OKLaboklab(57.46% 0.0683 -0.2008)
OKLCHoklch(57.46% 0.212 288.8)
XYZxyz(26.4253, 16.9510, 80.4607)
Luminance0.1695 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A57EB #C8EB57
analogous
#577EEB #7A57EB #C457EB
triadic
#7A57EB #EB7A57 #57EB7A
tetradic
#7A57EB #EB577E #C8EB57 #57EBC4
square
#7A57EB #EB577E #C8EB57 #57EBC4
split-complementary
#7A57EB #EBC457 #7EEB57
monochromatic
#3A15B2 #4F20E4 #7A57EB #A58EF2 #D1C4F8

Accessibility & contrast

On white

4.78
#7A57EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#7A57EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A57EB
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A57EB#FFFFFF#000000##FFFFFF
##7A57EB1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076F0
Deuteranopia (green-blind)
#006FE8
Tritanopia (blue-blind)
#547A99
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7a57eb;
/* rgb */ color: rgb(122, 87, 235);
/* oklch */ color: oklch(57.5% 0.212 288.8);
Tailwind
colors: {
  custom: {
    50: '#a988f2',
    500: '#7a57eb',
    950: '#000000',
  },
}
SCSS
$custom: #7a57eb;
$custom-light: #a988f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7a57eb",
  "rgb": {
    "r": 122,
    "g": 87,
    "b": 235
  },
  "hsl": {
    "h": 254.189,
    "s": 78.723,
    "l": 63.137
  },
  "oklch": {
    "l": 0.57462,
    "c": 0.21214,
    "h": 288.8
  },
  "luminance": 0.16952
}

Semantic roles & 50–950 ramp

primary
#7A57EB
secondary
#DDE9B4
accent
#DB0AAA
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #7A57EB

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

Preview Lab → · Contrast checker → · Palette generator →

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