#7D56EF#7D56EF

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

Color values

HEX#7D56EF
RGBrgb(125, 86, 239)
HSLhsl(255, 83%, 64%)
HSVhsv(255, 64%, 94%)
CMYKcmyk(47.7%, 64%, 0%, 6.3%)
CIE-LABlab(48.57, 51.83, -71.76)
CIE-LCHlch(48.57, 88.52, 305.84°)
OKLaboklab(57.89% 0.0729 -0.2055)
OKLCHoklch(57.89% 0.218 289.5)
XYZxyz(27.3608, 17.2464, 83.5319)
Luminance0.1725 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D56EF #C8EF56
analogous
#567BEF #7D56EF #C956EF
triadic
#7D56EF #EF7D56 #56EF7D
tetradic
#7D56EF #EF567B #C8EF56 #56EFC9
square
#7D56EF #EF567B #C8EF56 #56EFC9
split-complementary
#7D56EF #EFC956 #7BEF56
monochromatic
#3C12B9 #521EEA #7D56EF #A88EF4 #D3C6FA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D56EF#FFFFFF#000000##FFFFFF
##7D56EF1.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)
#0076F4
Deuteranopia (green-blind)
#0070EC
Tritanopia (blue-blind)
#577B9B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7d56ef;
/* rgb */ color: rgb(125, 86, 239);
/* oklch */ color: oklch(57.9% 0.218 289.5);
Tailwind
colors: {
  custom: {
    50: '#ab88f5',
    500: '#7d56ef',
    950: '#000000',
  },
}
SCSS
$custom: #7d56ef;
$custom-light: #ab88f5;
$custom-dark: #000000;
JSON
{
  "hex": "#7d56ef",
  "rgb": {
    "r": 125,
    "g": 86,
    "b": 239
  },
  "hsl": {
    "h": 255.294,
    "s": 82.703,
    "l": 63.725
  },
  "oklch": {
    "l": 0.57889,
    "c": 0.21808,
    "h": 289.5
  },
  "luminance": 0.17248
}

Semantic roles & 50–950 ramp

primary
#7D56EF
secondary
#DEEBB5
accent
#DF06A8
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #7D56EF

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

Preview Lab → · Contrast checker → · Palette generator →

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