#7A57FA#7A57FA

#7A57FA is a mid, highly saturated violet. Relative luminance 0.179; OKLCH L 58.6% C 0.230 H 286.9°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#7A57FA
RGBrgb(122, 87, 250)
HSLhsl(253, 94%, 66%)
HSVhsv(253, 65%, 98%)
CMYKcmyk(51.2%, 65.2%, 0%, 2%)
CIE-LABlab(49.32, 53.83, -76.70)
CIE-LCHlch(49.32, 93.71, 305.06°)
OKLaboklab(58.62% 0.0667 -0.2201)
OKLCHoklch(58.62% 0.23 286.9)
XYZxyz(28.6844, 17.8547, 92.3588)
Luminance0.1786 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A57FA #D7FA57
analogous
#5785FA #7A57FA #CB57FA
triadic
#7A57FA #FA7A57 #57FA7A
tetradic
#7A57FA #FA5785 #D7FA57 #57FACB
square
#7A57FA #FA5785 #D7FA57 #57FACB
split-complementary
#7A57FA #FACB57 #85FA57
monochromatic
#3206D0 #4B1CF8 #7A57FA #A992FC #D8CEFE

Accessibility & contrast

On white

4.59
#7A57FA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#7A57FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7A57FA
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A57FA#FFFFFF#000000##FFFFFF
##7A57FA1.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079FF
Deuteranopia (green-blind)
#0071F7
Tritanopia (blue-blind)
#4980A1
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7a57fa;
/* rgb */ color: rgb(122, 87, 250);
/* oklch */ color: oklch(58.6% 0.230 286.9);
Tailwind
colors: {
  custom: {
    50: '#ab88fd',
    500: '#7a57fa',
    950: '#000000',
  },
}
SCSS
$custom: #7a57fa;
$custom-light: #ab88fd;
$custom-dark: #000000;
JSON
{
  "hex": "#7a57fa",
  "rgb": {
    "r": 122,
    "g": 87,
    "b": 250
  },
  "hsl": {
    "h": 252.883,
    "s": 94.22,
    "l": 66.078
  },
  "oklch": {
    "l": 0.58623,
    "c": 0.23004,
    "h": 286.9
  },
  "luminance": 0.17856
}

Semantic roles & 50–950 ramp

primary
#7A57FA
secondary
#E6F1BC
accent
#E600B4
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #7A57FA

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

Preview Lab → · Contrast checker → · Palette generator →

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