#7C56EB#7C56EB

#7C56EB is a mid, highly saturated violet. Relative luminance 0.169; OKLCH L 57.5% C 0.213 H 289.7°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#7C56EB
RGBrgb(124, 86, 235)
HSLhsl(255, 79%, 63%)
HSVhsv(255, 63%, 92%)
CMYKcmyk(47.2%, 63.4%, 0%, 7.8%)
CIE-LABlab(48.18, 50.54, -70.15)
CIE-LCHlch(48.18, 86.46, 305.77°)
OKLaboklab(57.49% 0.072 -0.2008)
OKLCHoklch(57.49% 0.213 289.7)
XYZxyz(26.6311, 16.9378, 80.4473)
Luminance0.1694 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C56EB #C5EB56
analogous
#567AEB #7C56EB #C656EB
triadic
#7C56EB #EB7C56 #56EB7C
tetradic
#7C56EB #EB567A #C5EB56 #56EBC6
square
#7C56EB #EB567A #C5EB56 #56EBC6
split-complementary
#7C56EB #EBC656 #7AEB56
monochromatic
#3D15B2 #521FE5 #7C56EB #A68DF1 #D1C3F8

Accessibility & contrast

On white

4.79
#7C56EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#7C56EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C56EB
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C56EB#FFFFFF#000000##FFFFFF
##7C56EB1.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c56eb;
/* rgb */ color: rgb(124, 86, 235);
/* oklch */ color: oklch(57.5% 0.213 289.7);
Tailwind
colors: {
  custom: {
    50: '#aa88f2',
    500: '#7c56eb',
    950: '#000000',
  },
}
SCSS
$custom: #7c56eb;
$custom-light: #aa88f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7c56eb",
  "rgb": {
    "r": 124,
    "g": 86,
    "b": 235
  },
  "hsl": {
    "h": 255.302,
    "s": 78.836,
    "l": 62.941
  },
  "oklch": {
    "l": 0.57494,
    "c": 0.21334,
    "h": 289.7
  },
  "luminance": 0.16939
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7C56EB

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

Preview Lab → · Contrast checker → · Palette generator →

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