#7C56CF#7C56CF

#7C56CF is a mid, vivid violet. Relative luminance 0.154; OKLCH L 55.5% C 0.179 H 294.3°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#7C56CF
RGBrgb(124, 86, 207)
HSLhsl(259, 56%, 57%)
HSVhsv(259, 58%, 81%)
CMYKcmyk(40.1%, 58.5%, 0%, 18.8%)
CIE-LABlab(46.24, 42.86, -57.38)
CIE-LCHlch(46.24, 71.62, 306.75°)
OKLaboklab(55.46% 0.0737 -0.1633)
OKLCHoklch(55.46% 0.179 294.3)
XYZxyz(22.8995, 15.4451, 60.7941)
Luminance0.1545 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C56CF #A9CF56
analogous
#566DCF #7C56CF #B856CF
triadic
#7C56CF #CF7C56 #56CF7C
tetradic
#7C56CF #CF566D #A9CF56 #56CFB8
square
#7C56CF #CF566D #A9CF56 #56CFB8
split-complementary
#7C56CF #CFB856 #6DCF56
monochromatic
#442685 #5C33B5 #7C56CF #A186DD #C6B5EA

Accessibility & contrast

On white

5.14
#7C56CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#7C56CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C56CF
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C56CF#FFFFFF#000000##FFFFFF
##7C56CF1.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#036FD3
Deuteranopia (green-blind)
#1C6CCC
Tritanopia (blue-blind)
#67708A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7c56cf;
/* rgb */ color: rgb(124, 86, 207);
/* oklch */ color: oklch(55.5% 0.179 294.3);
Tailwind
colors: {
  custom: {
    50: '#a787de',
    500: '#7c56cf',
    950: '#000000',
  },
}
SCSS
$custom: #7c56cf;
$custom-light: #a787de;
$custom-dark: #000000;
JSON
{
  "hex": "#7c56cf",
  "rgb": {
    "r": 124,
    "g": 86,
    "b": 207
  },
  "hsl": {
    "h": 258.843,
    "s": 55.76,
    "l": 57.451
  },
  "oklch": {
    "l": 0.55463,
    "c": 0.17913,
    "h": 294.3
  },
  "luminance": 0.15446
}

Semantic roles & 50–950 ramp

primary
#7C56CF
secondary
#C9D9A8
accent
#DF49B0
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7C56CF

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

Preview Lab → · Contrast checker → · Palette generator →

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