#7D56E6#7D56E6

#7D56E6 is a mid, highly saturated violet. Relative luminance 0.167; OKLCH L 57.2% C 0.207 H 290.8°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#7D56E6
RGBrgb(125, 86, 230)
HSLhsl(256, 74%, 62%)
HSVhsv(256, 63%, 90%)
CMYKcmyk(45.7%, 62.6%, 0%, 9.8%)
CIE-LABlab(47.92, 49.35, -67.76)
CIE-LCHlch(47.92, 83.82, 306.06°)
OKLaboklab(57.21% 0.0738 -0.1938)
OKLCHoklch(57.21% 0.207 290.8)
XYZxyz(26.0642, 16.7278, 76.7031)
Luminance0.1673 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D56E6 #BFE656
analogous
#5677E6 #7D56E6 #C556E6
triadic
#7D56E6 #E67D56 #56E67D
tetradic
#7D56E6 #E65677 #BFE656 #56E6C5
square
#7D56E6 #E65677 #BFE656 #56E6C5
split-complementary
#7D56E6 #E6C556 #77E656
monochromatic
#4019A9 #5421DE #7D56E6 #A68BEE #CFC1F6

Accessibility & contrast

On white

4.83
#7D56E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#7D56E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D56E6
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D56E6#FFFFFF#000000##FFFFFF
##7D56E61.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d56e6;
/* rgb */ color: rgb(125, 86, 230);
/* oklch */ color: oklch(57.2% 0.207 290.8);
Tailwind
colors: {
  custom: {
    50: '#aa88ef',
    500: '#7d56e6',
    950: '#000000',
  },
}
SCSS
$custom: #7d56e6;
$custom-light: #aa88ef;
$custom-dark: #000000;
JSON
{
  "hex": "#7d56e6",
  "rgb": {
    "r": 125,
    "g": 86,
    "b": 230
  },
  "hsl": {
    "h": 256.25,
    "s": 74.227,
    "l": 61.961
  },
  "oklch": {
    "l": 0.5721,
    "c": 0.20733,
    "h": 290.8
  },
  "luminance": 0.16729
}

Semantic roles & 50–950 ramp

primary
#7D56E6
secondary
#D8E6B1
accent
#D60FA0
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #7D56E6

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

Preview Lab → · Contrast checker → · Palette generator →

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