#7A57E8#7A57E8

#7A57E8 is a mid, highly saturated violet. Relative luminance 0.168; OKLCH L 57.2% C 0.209 H 289.2°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#7A57E8
RGBrgb(122, 87, 232)
HSLhsl(254, 76%, 63%)
HSVhsv(254, 63%, 91%)
CMYKcmyk(47.4%, 62.5%, 0%, 9%)
CIE-LABlab(47.98, 48.78, -68.79)
CIE-LCHlch(47.98, 84.33, 305.34°)
OKLaboklab(57.24% 0.0686 -0.1969)
OKLCHoklch(57.24% 0.209 289.2)
XYZxyz(25.9955, 16.7791, 78.1973)
Luminance0.1678 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A57E8 #C5E857
analogous
#577CE8 #7A57E8 #C357E8
triadic
#7A57E8 #E87A57 #57E87A
tetradic
#7A57E8 #E8577C #C5E857 #57E8C3
square
#7A57E8 #E8577C #C5E857 #57E8C3
split-complementary
#7A57E8 #E8C357 #7CE857
monochromatic
#3C18AD #4F21E1 #7A57E8 #A58DEF #CFC3F7

Accessibility & contrast

On white

4.82
#7A57E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#7A57E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A57E8
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A57E8#FFFFFF#000000##FFFFFF
##7A57E81.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075ED
Deuteranopia (green-blind)
#006EE5
Tritanopia (blue-blind)
#567998
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7a57e8;
/* rgb */ color: rgb(122, 87, 232);
/* oklch */ color: oklch(57.2% 0.209 289.2);
Tailwind
colors: {
  custom: {
    50: '#a888f0',
    500: '#7a57e8',
    950: '#000000',
  },
}
SCSS
$custom: #7a57e8;
$custom-light: #a888f0;
$custom-dark: #000000;
JSON
{
  "hex": "#7a57e8",
  "rgb": {
    "r": 122,
    "g": 87,
    "b": 232
  },
  "hsl": {
    "h": 254.483,
    "s": 75.916,
    "l": 62.549
  },
  "oklch": {
    "l": 0.57235,
    "c": 0.20852,
    "h": 289.2
  },
  "luminance": 0.1678
}

Semantic roles & 50–950 ramp

primary
#7A57E8
secondary
#DBE8B3
accent
#D80DA7
background
#FAF8FE
surface
#F5F0FD
border
#CFCBD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #7A57E8

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

Preview Lab → · Contrast checker → · Palette generator →

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