#7C56EA#7C56EA

#7C56EA is a mid, highly saturated violet. Relative luminance 0.169; OKLCH L 57.4% C 0.212 H 289.9°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#7C56EA
RGBrgb(124, 86, 234)
HSLhsl(255, 78%, 63%)
HSVhsv(255, 63%, 92%)
CMYKcmyk(47%, 63.2%, 0%, 8.2%)
CIE-LABlab(48.11, 50.26, -69.70)
CIE-LCHlch(48.11, 85.93, 305.79°)
OKLaboklab(57.42% 0.0721 -0.1995)
OKLCHoklch(57.42% 0.212 289.9)
XYZxyz(26.4870, 16.8801, 79.6885)
Luminance0.1688 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C56EA #C4EA56
analogous
#567AEA #7C56EA #C656EA
triadic
#7C56EA #EA7C56 #56EA7C
tetradic
#7C56EA #EA567A #C4EA56 #56EAC6
square
#7C56EA #EA567A #C4EA56 #56EAC6
split-complementary
#7C56EA #EAC656 #7AEA56
monochromatic
#3D16B0 #5220E3 #7C56EA #A68CF1 #D0C3F8

Accessibility & contrast

On white

4.80
#7C56EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#7C56EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C56EA
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C56EA#FFFFFF#000000##FFFFFF
##7C56EA1.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075EF
Deuteranopia (green-blind)
#006FE7
Tritanopia (blue-blind)
#597998
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7c56ea;
/* rgb */ color: rgb(124, 86, 234);
/* oklch */ color: oklch(57.4% 0.212 289.9);
Tailwind
colors: {
  custom: {
    50: '#aa88f2',
    500: '#7c56ea',
    950: '#000000',
  },
}
SCSS
$custom: #7c56ea;
$custom-light: #aa88f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7c56ea",
  "rgb": {
    "r": 124,
    "g": 86,
    "b": 234
  },
  "hsl": {
    "h": 255.405,
    "s": 77.895,
    "l": 62.745
  },
  "oklch": {
    "l": 0.57418,
    "c": 0.21214,
    "h": 289.9
  },
  "luminance": 0.16881
}

Semantic roles & 50–950 ramp

primary
#7C56EA
secondary
#DBE9B3
accent
#DA0BA5
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #7C56EA

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

Preview Lab → · Contrast checker → · Palette generator →

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