#7E56F0#7E56F0

#7E56F0 is a mid, highly saturated violet. Relative luminance 0.174; OKLCH L 58.1% C 0.219 H 289.8°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#7E56F0
RGBrgb(126, 86, 240)
HSLhsl(256, 84%, 64%)
HSVhsv(256, 64%, 94%)
CMYKcmyk(47.5%, 64.2%, 0%, 5.9%)
CIE-LABlab(48.74, 52.28, -72.05)
CIE-LCHlch(48.74, 89.02, 305.97°)
OKLaboklab(58.06% 0.0741 -0.2063)
OKLCHoklch(58.06% 0.219 289.8)
XYZxyz(27.6557, 17.3814, 84.3189)
Luminance0.1738 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E56F0 #C8F056
analogous
#567BF0 #7E56F0 #CB56F0
triadic
#7E56F0 #F07E56 #56F07E
tetradic
#7E56F0 #F0567B #C8F056 #56F0CB
square
#7E56F0 #F0567B #C8F056 #56F0CB
split-complementary
#7E56F0 #F0CB56 #7BF056
monochromatic
#3D11BB #531EEB #7E56F0 #A98EF5 #D4C6FA

Accessibility & contrast

On white

4.69
#7E56F0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#7E56F0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E56F0
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E56F0#FFFFFF#000000##FFFFFF
##7E56F01.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077F5
Deuteranopia (green-blind)
#0070ED
Tritanopia (blue-blind)
#597B9C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7e56f0;
/* rgb */ color: rgb(126, 86, 240);
/* oklch */ color: oklch(58.1% 0.219 289.8);
Tailwind
colors: {
  custom: {
    50: '#ac88f6',
    500: '#7e56f0',
    950: '#000000',
  },
}
SCSS
$custom: #7e56f0;
$custom-light: #ac88f6;
$custom-dark: #000000;
JSON
{
  "hex": "#7e56f0",
  "rgb": {
    "r": 126,
    "g": 86,
    "b": 240
  },
  "hsl": {
    "h": 255.584,
    "s": 83.696,
    "l": 63.922
  },
  "oklch": {
    "l": 0.58056,
    "c": 0.21924,
    "h": 289.8
  },
  "luminance": 0.17382
}

Semantic roles & 50–950 ramp

primary
#7E56F0
secondary
#DEECB6
accent
#E005A7
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #7E56F0

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

Preview Lab → · Contrast checker → · Palette generator →

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