#7C56DD#7C56DD

#7C56DD is a mid, vivid violet. Relative luminance 0.162; OKLCH L 56.5% C 0.196 H 291.8°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#7C56DD
RGBrgb(124, 86, 221)
HSLhsl(257, 67%, 60%)
HSVhsv(257, 61%, 87%)
CMYKcmyk(43.9%, 61.1%, 0%, 13.3%)
CIE-LABlab(47.18, 46.67, -63.85)
CIE-LCHlch(47.18, 79.09, 306.17°)
OKLaboklab(56.46% 0.0731 -0.1823)
OKLCHoklch(56.46% 0.196 291.8)
XYZxyz(24.6875, 16.1603, 70.2111)
Luminance0.1616 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C56DD #B7DD56
analogous
#5673DD #7C56DD #BF56DD
triadic
#7C56DD #DD7C56 #56DD7C
tetradic
#7C56DD #DD5673 #B7DD56 #56DDBF
square
#7C56DD #DD5673 #B7DD56 #56DDBF
split-complementary
#7C56DD #DDBF56 #73DD56
monochromatic
#411F9A #5729CD #7C56DD #A389E7 #CBBCF2

Accessibility & contrast

On white

4.96
#7C56DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#7C56DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C56DD
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C56DD#FFFFFF#000000##FFFFFF
##7C56DD1.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E1
Deuteranopia (green-blind)
#006DDA
Tritanopia (blue-blind)
#607591
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7c56dd;
/* rgb */ color: rgb(124, 86, 221);
/* oklch */ color: oklch(56.5% 0.196 291.8);
Tailwind
colors: {
  custom: {
    50: '#a887e8',
    500: '#7c56dd',
    950: '#000000',
  },
}
SCSS
$custom: #7c56dd;
$custom-light: #a887e8;
$custom-dark: #000000;
JSON
{
  "hex": "#7c56dd",
  "rgb": {
    "r": 124,
    "g": 86,
    "b": 221
  },
  "hsl": {
    "h": 256.889,
    "s": 66.502,
    "l": 60.196
  },
  "oklch": {
    "l": 0.56455,
    "c": 0.19641,
    "h": 291.8
  },
  "luminance": 0.16161
}

Semantic roles & 50–950 ramp

primary
#7C56DD
secondary
#D3E1AE
accent
#CE179B
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7C56DD

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

Preview Lab → · Contrast checker → · Palette generator →

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