#7A57F2#7A57F2

#7A57F2 is a mid, highly saturated violet. Relative luminance 0.174; OKLCH L 58.0% C 0.221 H 287.9°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#7A57F2
RGBrgb(122, 87, 242)
HSLhsl(254, 86%, 65%)
HSVhsv(254, 64%, 95%)
CMYKcmyk(49.6%, 64%, 0%, 5.1%)
CIE-LABlab(48.71, 51.58, -73.22)
CIE-LCHlch(48.71, 89.57, 305.16°)
OKLaboklab(58% 0.0677 -0.2099)
OKLCHoklch(58% 0.221 287.9)
XYZxyz(27.4566, 17.3635, 85.8920)
Luminance0.1736 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A57F2 #CFF257
analogous
#5782F2 #7A57F2 #C757F2
triadic
#7A57F2 #F27A57 #57F27A
tetradic
#7A57F2 #F25782 #CFF257 #57F2C7
square
#7A57F2 #F25782 #CFF257 #57F2C7
split-complementary
#7A57F2 #F2C757 #82F257
monochromatic
#370FC0 #4D1EEE #7A57F2 #A790F6 #D4C9FB

Accessibility & contrast

On white

4.69
#7A57F2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#7A57F2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A57F2
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A57F2#FFFFFF#000000##FFFFFF
##7A57F21.004.694.474.69
#FFFFFF4.691.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077F7
Deuteranopia (green-blind)
#0070EF
Tritanopia (blue-blind)
#4F7D9D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7a57f2;
/* rgb */ color: rgb(122, 87, 242);
/* oklch */ color: oklch(58.0% 0.221 287.9);
Tailwind
colors: {
  custom: {
    50: '#aa88f7',
    500: '#7a57f2',
    950: '#000000',
  },
}
SCSS
$custom: #7a57f2;
$custom-light: #aa88f7;
$custom-dark: #000000;
JSON
{
  "hex": "#7a57f2",
  "rgb": {
    "r": 122,
    "g": 87,
    "b": 242
  },
  "hsl": {
    "h": 253.548,
    "s": 85.635,
    "l": 64.51
  },
  "oklch": {
    "l": 0.57998,
    "c": 0.22055,
    "h": 287.9
  },
  "luminance": 0.17365
}

Semantic roles & 50–950 ramp

primary
#7A57F2
secondary
#E1EDB8
accent
#E203B0
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #7A57F2

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

Preview Lab → · Contrast checker → · Palette generator →

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