#7C57EA#7C57EA

#7C57EA is a mid, highly saturated violet. Relative luminance 0.170; OKLCH L 57.6% C 0.211 H 289.7°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#7C57EA
RGBrgb(124, 87, 234)
HSLhsl(255, 78%, 63%)
HSVhsv(255, 63%, 92%)
CMYKcmyk(47%, 62.8%, 0%, 8.2%)
CIE-LABlab(48.31, 49.71, -69.37)
CIE-LCHlch(48.31, 85.35, 305.63°)
OKLaboklab(57.57% 0.0711 -0.1985)
OKLCHoklch(57.57% 0.211 289.7)
XYZxyz(26.5674, 17.0409, 79.7153)
Luminance0.1704 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C57EA #C5EA57
analogous
#577BEA #7C57EA #C557EA
triadic
#7C57EA #EA7C57 #57EA7C
tetradic
#7C57EA #EA577B #C5EA57 #57EAC5
square
#7C57EA #EA577B #C5EA57 #57EAC5
split-complementary
#7C57EA #EAC557 #7BEA57
monochromatic
#3D16B1 #5221E3 #7C57EA #A68DF1 #D1C4F8

Accessibility & contrast

On white

4.76
#7C57EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#7C57EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C57EA
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C57EA#FFFFFF#000000##FFFFFF
##7C57EA1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076EF
Deuteranopia (green-blind)
#006FE7
Tritanopia (blue-blind)
#587A99
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7c57ea;
/* rgb */ color: rgb(124, 87, 234);
/* oklch */ color: oklch(57.6% 0.211 289.7);
Tailwind
colors: {
  custom: {
    50: '#aa88f2',
    500: '#7c57ea',
    950: '#000000',
  },
}
SCSS
$custom: #7c57ea;
$custom-light: #aa88f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7c57ea",
  "rgb": {
    "r": 124,
    "g": 87,
    "b": 234
  },
  "hsl": {
    "h": 255.102,
    "s": 77.778,
    "l": 62.941
  },
  "oklch": {
    "l": 0.57565,
    "c": 0.21088,
    "h": 289.7
  },
  "luminance": 0.17042
}

Semantic roles & 50–950 ramp

primary
#7C57EA
secondary
#DCE9B4
accent
#DA0BA6
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #7C57EA

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

Preview Lab → · Contrast checker → · Palette generator →

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