#7C56CE#7C56CE

#7C56CE is a mid, vivid violet. Relative luminance 0.154; OKLCH L 55.4% C 0.178 H 294.5°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#7C56CE
RGBrgb(124, 86, 206)
HSLhsl(259, 55%, 57%)
HSVhsv(259, 58%, 81%)
CMYKcmyk(39.8%, 58.3%, 0%, 19.2%)
CIE-LABlab(46.17, 42.59, -56.91)
CIE-LCHlch(46.17, 71.08, 306.81°)
OKLaboklab(55.39% 0.0737 -0.1619)
OKLCHoklch(55.39% 0.178 294.5)
XYZxyz(22.7776, 15.3964, 60.1523)
Luminance0.1540 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C56CE #A8CE56
analogous
#566CCE #7C56CE #B856CE
triadic
#7C56CE #CE7C56 #56CE7C
tetradic
#7C56CE #CE566C #A8CE56 #56CEB8
square
#7C56CE #CE566C #A8CE56 #56CEB8
split-complementary
#7C56CE #CEB856 #6CCE56
monochromatic
#442683 #5C34B3 #7C56CE #A185DC #C6B5EA

Accessibility & contrast

On white

5.15
#7C56CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#7C56CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C56CE
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C56CE#FFFFFF#000000##FFFFFF
##7C56CE1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#076FD2
Deuteranopia (green-blind)
#1F6BCB
Tritanopia (blue-blind)
#67708A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7c56ce;
/* rgb */ color: rgb(124, 86, 206);
/* oklch */ color: oklch(55.4% 0.178 294.5);
Tailwind
colors: {
  custom: {
    50: '#a787de',
    500: '#7c56ce',
    950: '#000000',
  },
}
SCSS
$custom: #7c56ce;
$custom-light: #a787de;
$custom-dark: #000000;
JSON
{
  "hex": "#7c56ce",
  "rgb": {
    "r": 124,
    "g": 86,
    "b": 206
  },
  "hsl": {
    "h": 259,
    "s": 55.046,
    "l": 57.255
  },
  "oklch": {
    "l": 0.55394,
    "c": 0.17789,
    "h": 294.5
  },
  "luminance": 0.15397
}

Semantic roles & 50–950 ramp

primary
#7C56CE
secondary
#C9D8A8
accent
#DE49AF
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7C56CE

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

Preview Lab → · Contrast checker → · Palette generator →

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