#7C54EA#7C54EA

#7C54EA is a mid, highly saturated violet. Relative luminance 0.166; OKLCH L 57.1% C 0.215 H 290.2°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#7C54EA
RGBrgb(124, 84, 234)
HSLhsl(256, 78%, 62%)
HSVhsv(256, 64%, 92%)
CMYKcmyk(47%, 64.1%, 0%, 8.2%)
CIE-LABlab(47.71, 51.34, -70.36)
CIE-LCHlch(47.71, 87.10, 306.12°)
OKLaboklab(57.13% 0.0741 -0.2014)
OKLCHoklch(57.13% 0.215 290.2)
XYZxyz(26.3296, 16.5652, 79.6361)
Luminance0.1657 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C54EA #C2EA54
analogous
#5477EA #7C54EA #C754EA
triadic
#7C54EA #EA7C54 #54EA7C
tetradic
#7C54EA #EA5477 #C2EA54 #54EAC7
square
#7C54EA #EA5477 #C2EA54 #54EAC7
split-complementary
#7C54EA #EAC754 #77EA54
monochromatic
#3E15AE #521DE3 #7C54EA #A68BF1 #D0C1F7

Accessibility & contrast

On white

4.87
#7C54EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#7C54EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C54EA
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C54EA#FFFFFF#000000##FFFFFF
##7C54EA1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074EF
Deuteranopia (green-blind)
#006EE7
Tritanopia (blue-blind)
#597898
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7c54ea;
/* rgb */ color: rgb(124, 84, 234);
/* oklch */ color: oklch(57.1% 0.215 290.2);
Tailwind
colors: {
  custom: {
    50: '#aa86f2',
    500: '#7c54ea',
    950: '#000000',
  },
}
SCSS
$custom: #7c54ea;
$custom-light: #aa86f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7c54ea",
  "rgb": {
    "r": 124,
    "g": 84,
    "b": 234
  },
  "hsl": {
    "h": 256,
    "s": 78.125,
    "l": 62.353
  },
  "oklch": {
    "l": 0.57128,
    "c": 0.21463,
    "h": 290.2
  },
  "luminance": 0.16566
}

Semantic roles & 50–950 ramp

primary
#7C54EA
secondary
#DAE8B2
accent
#DA0BA3
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #7C54EA

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

Preview Lab → · Contrast checker → · Palette generator →

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