#7C57F7#7C57F7

#7C57F7 is a mid, highly saturated violet. Relative luminance 0.178; OKLCH L 58.6% C 0.226 H 287.9°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#7C57F7
RGBrgb(124, 87, 247)
HSLhsl(254, 91%, 65%)
HSVhsv(254, 65%, 97%)
CMYKcmyk(49.8%, 64.8%, 0%, 3.1%)
CIE-LABlab(49.27, 53.33, -75.10)
CIE-LCHlch(49.27, 92.11, 305.38°)
OKLaboklab(58.56% 0.0697 -0.2154)
OKLCHoklch(58.56% 0.226 287.9)
XYZxyz(28.5040, 17.8156, 89.9145)
Luminance0.1782 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C57F7 #D2F757
analogous
#5782F7 #7C57F7 #CC57F7
triadic
#7C57F7 #F77C57 #57F77C
tetradic
#7C57F7 #F75782 #D2F757 #57F7CC
square
#7C57F7 #F75782 #D2F757 #57F7CC
split-complementary
#7C57F7 #F7CC57 #82F757
monochromatic
#360ACA #4E1DF4 #7C57F7 #AA91FA #D7CCFD

Accessibility & contrast

On white

4.60
#7C57F7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#7C57F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7C57F7
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C57F7#FFFFFF#000000##FFFFFF
##7C57F71.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079FC
Deuteranopia (green-blind)
#0071F4
Tritanopia (blue-blind)
#507EA0
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7c57f7;
/* rgb */ color: rgb(124, 87, 247);
/* oklch */ color: oklch(58.6% 0.226 287.9);
Tailwind
colors: {
  custom: {
    50: '#ab88fb',
    500: '#7c57f7',
    950: '#000000',
  },
}
SCSS
$custom: #7c57f7;
$custom-light: #ab88fb;
$custom-dark: #000000;
JSON
{
  "hex": "#7c57f7",
  "rgb": {
    "r": 124,
    "g": 87,
    "b": 247
  },
  "hsl": {
    "h": 253.875,
    "s": 90.909,
    "l": 65.49
  },
  "oklch": {
    "l": 0.58561,
    "c": 0.22638,
    "h": 287.9
  },
  "luminance": 0.17817
}

Semantic roles & 50–950 ramp

primary
#7C57F7
secondary
#E3F0BA
accent
#E600B0
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #7C57F7

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

Preview Lab → · Contrast checker → · Palette generator →

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