#7C56BE#7C56BE

#7C56BE is a mid, vivid violet. Relative luminance 0.147; OKLCH L 54.3% C 0.158 H 297.8°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#7C56BE
RGBrgb(124, 86, 190)
HSLhsl(262, 44%, 54%)
HSVhsv(262, 55%, 75%)
CMYKcmyk(34.7%, 54.7%, 0%, 25.5%)
CIE-LABlab(45.16, 38.31, -49.29)
CIE-LCHlch(45.16, 62.43, 307.86°)
OKLaboklab(54.33% 0.0735 -0.1395)
OKLCHoklch(54.33% 0.158 297.8)
XYZxyz(20.9319, 14.6581, 50.4317)
Luminance0.1466 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C56BE #98BE56
analogous
#5664BE #7C56BE #B056BE
triadic
#7C56BE #BE7C56 #56BE7C
tetradic
#7C56BE #BE5664 #98BE56 #56BEB0
square
#7C56BE #BE5664 #98BE56 #56BEB0
split-complementary
#7C56BE #BEB056 #64BE56
monochromatic
#442B6F #5F3C9B #7C56BE #9E82CF #C1AEE0

Accessibility & contrast

On white

5.34
#7C56BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#7C56BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C56BE
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C56BE#FFFFFF#000000##FFFFFF
##7C56BE1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A6BC2
Deuteranopia (green-blind)
#366ABC
Tritanopia (blue-blind)
#6D6B82
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7c56be;
/* rgb */ color: rgb(124, 86, 190);
/* oklch */ color: oklch(54.3% 0.158 297.8);
Tailwind
colors: {
  custom: {
    50: '#a587d2',
    500: '#7c56be',
    950: '#000000',
  },
}
SCSS
$custom: #7c56be;
$custom-light: #a587d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7c56be",
  "rgb": {
    "r": 124,
    "g": 86,
    "b": 190
  },
  "hsl": {
    "h": 261.923,
    "s": 44.444,
    "l": 54.118
  },
  "oklch": {
    "l": 0.54327,
    "c": 0.15771,
    "h": 297.8
  },
  "luminance": 0.14658
}

Semantic roles & 50–950 ramp

primary
#7C56BE
secondary
#BECEA2
accent
#D454A5
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100B14
muted
#7F7C83

Preview Lab

Preview with #7C56BE

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

Preview Lab → · Contrast checker → · Palette generator →

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