#7C57E1#7C57E1

#7C57E1 is a mid, vivid violet. Relative luminance 0.165; OKLCH L 56.9% C 0.200 H 291.0°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#7C57E1
RGBrgb(124, 87, 225)
HSLhsl(256, 70%, 61%)
HSVhsv(256, 61%, 88%)
CMYKcmyk(44.9%, 61.3%, 0%, 11.8%)
CIE-LABlab(47.67, 47.22, -65.33)
CIE-LCHlch(47.67, 80.61, 305.86°)
OKLaboklab(56.9% 0.0718 -0.1867)
OKLCHoklch(56.9% 0.2 291)
XYZxyz(25.3072, 16.5369, 73.0781)
Luminance0.1654 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C57E1 #BCE157
analogous
#5777E1 #7C57E1 #C157E1
triadic
#7C57E1 #E17C57 #57E17C
tetradic
#7C57E1 #E15777 #BCE157 #57E1C1
square
#7C57E1 #E15777 #BCE157 #57E1C1
split-complementary
#7C57E1 #E1C157 #77E157
monochromatic
#401DA1 #5526D5 #7C57E1 #A48BEA #CDBFF4

Accessibility & contrast

On white

4.88
#7C57E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#7C57E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C57E1
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C57E1#FFFFFF#000000##FFFFFF
##7C57E11.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E5
Deuteranopia (green-blind)
#006EDE
Tritanopia (blue-blind)
#5E7794
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7c57e1;
/* rgb */ color: rgb(124, 87, 225);
/* oklch */ color: oklch(56.9% 0.200 291.0);
Tailwind
colors: {
  custom: {
    50: '#a988eb',
    500: '#7c57e1',
    950: '#000000',
  },
}
SCSS
$custom: #7c57e1;
$custom-light: #a988eb;
$custom-dark: #000000;
JSON
{
  "hex": "#7c57e1",
  "rgb": {
    "r": 124,
    "g": 87,
    "b": 225
  },
  "hsl": {
    "h": 256.087,
    "s": 69.697,
    "l": 61.176
  },
  "oklch": {
    "l": 0.56898,
    "c": 0.19998,
    "h": 291
  },
  "luminance": 0.16538
}

Semantic roles & 50–950 ramp

primary
#7C57E1
secondary
#D6E4B0
accent
#D2149F
background
#FAF8FE
surface
#F5F0FD
border
#CFCBD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7C57E1

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

Preview Lab → · Contrast checker → · Palette generator →

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