#7C57EB#7C57EB

#7C57EB is a mid, highly saturated violet. Relative luminance 0.171; OKLCH L 57.6% C 0.212 H 289.5°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#7C57EB
RGBrgb(124, 87, 235)
HSLhsl(255, 79%, 63%)
HSVhsv(255, 63%, 92%)
CMYKcmyk(47.2%, 63%, 0%, 7.8%)
CIE-LABlab(48.38, 49.99, -69.82)
CIE-LCHlch(48.38, 85.87, 305.60°)
OKLaboklab(57.64% 0.071 -0.1999)
OKLCHoklch(57.64% 0.212 289.5)
XYZxyz(26.7115, 17.0986, 80.4741)
Luminance0.1710 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C57EB #C6EB57
analogous
#577CEB #7C57EB #C657EB
triadic
#7C57EB #EB7C57 #57EB7C
tetradic
#7C57EB #EB577C #C6EB57 #57EBC6
square
#7C57EB #EB577C #C6EB57 #57EBC6
split-complementary
#7C57EB #EBC657 #7CEB57
monochromatic
#3D15B2 #5120E4 #7C57EB #A78EF2 #D1C4F8

Accessibility & contrast

On white

4.75
#7C57EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#7C57EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C57EB
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C57EB#FFFFFF#000000##FFFFFF
##7C57EB1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c57eb;
/* rgb */ color: rgb(124, 87, 235);
/* oklch */ color: oklch(57.6% 0.212 289.5);
Tailwind
colors: {
  custom: {
    50: '#aa88f2',
    500: '#7c57eb',
    950: '#000000',
  },
}
SCSS
$custom: #7c57eb;
$custom-light: #aa88f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7c57eb",
  "rgb": {
    "r": 124,
    "g": 87,
    "b": 235
  },
  "hsl": {
    "h": 255,
    "s": 78.723,
    "l": 63.137
  },
  "oklch": {
    "l": 0.57641,
    "c": 0.21209,
    "h": 289.5
  },
  "luminance": 0.171
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7C57EB

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

Preview Lab → · Contrast checker → · Palette generator →

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