#7D56EE#7D56EE

#7D56EE is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 57.8% C 0.217 H 289.7°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#7D56EE
RGBrgb(125, 86, 238)
HSLhsl(255, 82%, 64%)
HSVhsv(255, 64%, 93%)
CMYKcmyk(47.5%, 63.9%, 0%, 6.7%)
CIE-LABlab(48.50, 51.55, -71.32)
CIE-LCHlch(48.50, 88.00, 305.86°)
OKLaboklab(57.81% 0.073 -0.2042)
OKLCHoklch(57.81% 0.217 289.7)
XYZxyz(27.2134, 17.1875, 82.7560)
Luminance0.1719 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D56EE #C7EE56
analogous
#567BEE #7D56EE #C956EE
triadic
#7D56EE #EE7D56 #56EE7D
tetradic
#7D56EE #EE567B #C7EE56 #56EEC9
square
#7D56EE #EE567B #C7EE56 #56EEC9
split-complementary
#7D56EE #EEC956 #7BEE56
monochromatic
#3D12B7 #521EE8 #7D56EE #A88EF4 #D3C5F9

Accessibility & contrast

On white

4.73
#7D56EE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#7D56EE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D56EE
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D56EE#FFFFFF#000000##FFFFFF
##7D56EE1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d56ee;
/* rgb */ color: rgb(125, 86, 238);
/* oklch */ color: oklch(57.8% 0.217 289.7);
Tailwind
colors: {
  custom: {
    50: '#ab88f5',
    500: '#7d56ee',
    950: '#000000',
  },
}
SCSS
$custom: #7d56ee;
$custom-light: #ab88f5;
$custom-dark: #000000;
JSON
{
  "hex": "#7d56ee",
  "rgb": {
    "r": 125,
    "g": 86,
    "b": 238
  },
  "hsl": {
    "h": 255.395,
    "s": 81.72,
    "l": 63.529
  },
  "oklch": {
    "l": 0.57812,
    "c": 0.21689,
    "h": 289.7
  },
  "luminance": 0.17189
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7D56EE

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

Preview Lab → · Contrast checker → · Palette generator →

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