#7D56E5#7D56E5

#7D56E5 is a mid, highly saturated violet. Relative luminance 0.167; OKLCH L 57.1% C 0.206 H 291.0°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#7D56E5
RGBrgb(125, 86, 229)
HSLhsl(256, 73%, 62%)
HSVhsv(256, 62%, 90%)
CMYKcmyk(45.4%, 62.4%, 0%, 10.2%)
CIE-LABlab(47.84, 49.07, -67.31)
CIE-LCHlch(47.84, 83.30, 306.09°)
OKLaboklab(57.14% 0.0738 -0.1924)
OKLCHoklch(57.14% 0.206 291)
XYZxyz(25.9241, 16.6718, 75.9656)
Luminance0.1667 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D56E5 #BEE556
analogous
#5677E5 #7D56E5 #C556E5
triadic
#7D56E5 #E57D56 #56E57D
tetradic
#7D56E5 #E55677 #BEE556 #56E5C5
square
#7D56E5 #E55677 #BEE556 #56E5C5
split-complementary
#7D56E5 #E5C556 #77E556
monochromatic
#401AA7 #5522DC #7D56E5 #A68BED #CFC0F5

Accessibility & contrast

On white

4.84
#7D56E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#7D56E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D56E5
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D56E5#FFFFFF#000000##FFFFFF
##7D56E51.004.844.334.84
#FFFFFF4.841.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074EA
Deuteranopia (green-blind)
#006EE2
Tritanopia (blue-blind)
#5D7896
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7d56e5;
/* rgb */ color: rgb(125, 86, 229);
/* oklch */ color: oklch(57.1% 0.206 291.0);
Tailwind
colors: {
  custom: {
    50: '#aa87ee',
    500: '#7d56e5',
    950: '#000000',
  },
}
SCSS
$custom: #7d56e5;
$custom-light: #aa87ee;
$custom-dark: #000000;
JSON
{
  "hex": "#7d56e5",
  "rgb": {
    "r": 125,
    "g": 86,
    "b": 229
  },
  "hsl": {
    "h": 256.364,
    "s": 73.333,
    "l": 61.765
  },
  "oklch": {
    "l": 0.57135,
    "c": 0.20613,
    "h": 291
  },
  "luminance": 0.16673
}

Semantic roles & 50–950 ramp

primary
#7D56E5
secondary
#D7E6B1
accent
#D510A0
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #7D56E5

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

Preview Lab → · Contrast checker → · Palette generator →

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