#7A57F3#7A57F3

#7A57F3 is a mid, highly saturated violet. Relative luminance 0.174; OKLCH L 58.1% C 0.222 H 287.7°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#7A57F3
RGBrgb(122, 87, 243)
HSLhsl(253, 87%, 65%)
HSVhsv(253, 64%, 95%)
CMYKcmyk(49.8%, 64.2%, 0%, 4.7%)
CIE-LABlab(48.79, 51.86, -73.66)
CIE-LCHlch(48.79, 90.08, 305.15°)
OKLaboklab(58.08% 0.0676 -0.2112)
OKLCHoklch(58.08% 0.222 287.7)
XYZxyz(27.6072, 17.4238, 86.6851)
Luminance0.1742 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A57F3 #D0F357
analogous
#5782F3 #7A57F3 #C857F3
triadic
#7A57F3 #F37A57 #57F37A
tetradic
#7A57F3 #F35782 #D0F357 #57F3C8
square
#7A57F3 #F35782 #D0F357 #57F3C8
split-complementary
#7A57F3 #F3C857 #82F357
monochromatic
#360EC2 #4D1EEF #7A57F3 #A790F7 #D4C9FB

Accessibility & contrast

On white

4.68
#7A57F3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#7A57F3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A57F3
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A57F3#FFFFFF#000000##FFFFFF
##7A57F31.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078F8
Deuteranopia (green-blind)
#0070F0
Tritanopia (blue-blind)
#4E7D9D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7a57f3;
/* rgb */ color: rgb(122, 87, 243);
/* oklch */ color: oklch(58.1% 0.222 287.7);
Tailwind
colors: {
  custom: {
    50: '#aa88f8',
    500: '#7a57f3',
    950: '#000000',
  },
}
SCSS
$custom: #7a57f3;
$custom-light: #aa88f8;
$custom-dark: #000000;
JSON
{
  "hex": "#7a57f3",
  "rgb": {
    "r": 122,
    "g": 87,
    "b": 243
  },
  "hsl": {
    "h": 253.462,
    "s": 86.667,
    "l": 64.706
  },
  "oklch": {
    "l": 0.58075,
    "c": 0.22174,
    "h": 287.7
  },
  "luminance": 0.17425
}

Semantic roles & 50–950 ramp

primary
#7A57F3
secondary
#E2EEB8
accent
#E302B1
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7A57F3

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

Preview Lab → · Contrast checker → · Palette generator →

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