#7A57F4#7A57F4

#7A57F4 is a mid, highly saturated violet. Relative luminance 0.175; OKLCH L 58.2% C 0.223 H 287.6°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#7A57F4
RGBrgb(122, 87, 244)
HSLhsl(253, 88%, 65%)
HSVhsv(253, 64%, 96%)
CMYKcmyk(50%, 64.3%, 0%, 4.3%)
CIE-LABlab(48.86, 52.15, -74.09)
CIE-LCHlch(48.86, 90.60, 305.14°)
OKLaboklab(58.15% 0.0674 -0.2125)
OKLCHoklch(58.15% 0.223 287.6)
XYZxyz(27.7586, 17.4843, 87.4826)
Luminance0.1749 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A57F4 #D1F457
analogous
#5782F4 #7A57F4 #C957F4
triadic
#7A57F4 #F47A57 #57F47A
tetradic
#7A57F4 #F45782 #D1F457 #57F4C9
square
#7A57F4 #F45782 #D1F457 #57F4C9
split-complementary
#7A57F4 #F4C957 #82F457
monochromatic
#360DC4 #4D1EF0 #7A57F4 #A790F8 #D5CAFC

Accessibility & contrast

On white

4.67
#7A57F4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#7A57F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7A57F4
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A57F4#FFFFFF#000000##FFFFFF
##7A57F41.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078F9
Deuteranopia (green-blind)
#0070F1
Tritanopia (blue-blind)
#4E7E9E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7a57f4;
/* rgb */ color: rgb(122, 87, 244);
/* oklch */ color: oklch(58.2% 0.223 287.6);
Tailwind
colors: {
  custom: {
    50: '#aa88f9',
    500: '#7a57f4',
    950: '#000000',
  },
}
SCSS
$custom: #7a57f4;
$custom-light: #aa88f9;
$custom-dark: #000000;
JSON
{
  "hex": "#7a57f4",
  "rgb": {
    "r": 122,
    "g": 87,
    "b": 244
  },
  "hsl": {
    "h": 253.376,
    "s": 87.709,
    "l": 64.902
  },
  "oklch": {
    "l": 0.58153,
    "c": 0.22294,
    "h": 287.6
  },
  "luminance": 0.17486
}

Semantic roles & 50–950 ramp

primary
#7A57F4
secondary
#E2EEB9
accent
#E401B2
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7A57F4

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

Preview Lab → · Contrast checker → · Palette generator →

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