#7D56EC#7D56EC

#7D56EC is a mid, highly saturated violet. Relative luminance 0.171; OKLCH L 57.7% C 0.215 H 290.0°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#7D56EC
RGBrgb(125, 86, 236)
HSLhsl(256, 80%, 63%)
HSVhsv(256, 64%, 93%)
CMYKcmyk(47%, 63.6%, 0%, 7.5%)
CIE-LABlab(48.35, 51.00, -70.44)
CIE-LCHlch(48.35, 86.96, 305.91°)
OKLaboklab(57.66% 0.0732 -0.2016)
OKLCHoklch(57.66% 0.215 290)
XYZxyz(26.9212, 17.0706, 81.2171)
Luminance0.1707 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D56EC #C5EC56
analogous
#567AEC #7D56EC #C856EC
triadic
#7D56EC #EC7D56 #56EC7D
tetradic
#7D56EC #EC567A #C5EC56 #56ECC8
square
#7D56EC #EC567A #C5EC56 #56ECC8
split-complementary
#7D56EC #ECC856 #7AEC56
monochromatic
#3E14B3 #531FE6 #7D56EC #A78DF2 #D2C4F8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D56EC#FFFFFF#000000##FFFFFF
##7D56EC1.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)
#0076F1
Deuteranopia (green-blind)
#006FE9
Tritanopia (blue-blind)
#597A99
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7d56ec;
/* rgb */ color: rgb(125, 86, 236);
/* oklch */ color: oklch(57.7% 0.215 290.0);
Tailwind
colors: {
  custom: {
    50: '#ab88f3',
    500: '#7d56ec',
    950: '#000000',
  },
}
SCSS
$custom: #7d56ec;
$custom-light: #ab88f3;
$custom-dark: #000000;
JSON
{
  "hex": "#7d56ec",
  "rgb": {
    "r": 125,
    "g": 86,
    "b": 236
  },
  "hsl": {
    "h": 255.6,
    "s": 79.787,
    "l": 63.137
  },
  "oklch": {
    "l": 0.5766,
    "c": 0.21452,
    "h": 290
  },
  "luminance": 0.17072
}

Semantic roles & 50–950 ramp

primary
#7D56EC
secondary
#DCEAB4
accent
#DC09A5
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110B17
muted
#807C85

Preview Lab

Preview with #7D56EC

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

Preview Lab → · Contrast checker → · Palette generator →

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