#7E56EE#7E56EE

#7E56EE is a mid, highly saturated violet. Relative luminance 0.173; OKLCH L 57.9% C 0.217 H 290.0°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#7E56EE
RGBrgb(126, 86, 238)
HSLhsl(256, 82%, 64%)
HSVhsv(256, 64%, 93%)
CMYKcmyk(47.1%, 63.9%, 0%, 6.7%)
CIE-LABlab(48.59, 51.73, -71.16)
CIE-LCHlch(48.59, 87.98, 306.02°)
OKLaboklab(57.9% 0.0743 -0.2037)
OKLCHoklch(57.9% 0.217 290)
XYZxyz(27.3602, 17.2632, 82.7629)
Luminance0.1726 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E56EE #C6EE56
analogous
#567AEE #7E56EE #CA56EE
triadic
#7E56EE #EE7E56 #56EE7E
tetradic
#7E56EE #EE567A #C6EE56 #56EECA
square
#7E56EE #EE567A #C6EE56 #56EECA
split-complementary
#7E56EE #EECA56 #7AEE56
monochromatic
#3E12B7 #541EE8 #7E56EE #A88EF4 #D3C5F9

Accessibility & contrast

On white

4.72
#7E56EE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#7E56EE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E56EE
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E56EE#FFFFFF#000000##FFFFFF
##7E56EE1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076F3
Deuteranopia (green-blind)
#0070EB
Tritanopia (blue-blind)
#5A7B9A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7e56ee;
/* rgb */ color: rgb(126, 86, 238);
/* oklch */ color: oklch(57.9% 0.217 290.0);
Tailwind
colors: {
  custom: {
    50: '#ac88f5',
    500: '#7e56ee',
    950: '#000000',
  },
}
SCSS
$custom: #7e56ee;
$custom-light: #ac88f5;
$custom-dark: #000000;
JSON
{
  "hex": "#7e56ee",
  "rgb": {
    "r": 126,
    "g": 86,
    "b": 238
  },
  "hsl": {
    "h": 255.789,
    "s": 81.72,
    "l": 63.529
  },
  "oklch": {
    "l": 0.57903,
    "c": 0.21688,
    "h": 290
  },
  "luminance": 0.17264
}

Semantic roles & 50–950 ramp

primary
#7E56EE
secondary
#DDEBB5
accent
#DE07A6
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110B17
muted
#807C85

Preview Lab

Preview with #7E56EE

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

Preview Lab → · Contrast checker → · Palette generator →

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