#7C54E4#7C54E4

#7C54E4 is a mid, highly saturated violet. Relative luminance 0.162; OKLCH L 56.7% C 0.207 H 291.1°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#7C54E4
RGBrgb(124, 84, 228)
HSLhsl(257, 73%, 61%)
HSVhsv(257, 63%, 89%)
CMYKcmyk(45.6%, 63.2%, 0%, 10.6%)
CIE-LABlab(47.27, 49.69, -67.68)
CIE-LCHlch(47.27, 83.96, 306.29°)
OKLaboklab(56.67% 0.0747 -0.1936)
OKLCHoklch(56.67% 0.207 291.1)
XYZxyz(25.4822, 16.2263, 75.1731)
Luminance0.1623 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C54E4 #BCE454
analogous
#5474E4 #7C54E4 #C454E4
triadic
#7C54E4 #E47C54 #54E47C
tetradic
#7C54E4 #E45474 #BCE454 #54E4C4
square
#7C54E4 #E45474 #BCE454 #54E4C4
split-complementary
#7C54E4 #E4C454 #74E454
monochromatic
#401AA4 #5522D9 #7C54E4 #A489EC #CDBEF5

Accessibility & contrast

On white

4.95
#7C54E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#7C54E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C54E4
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C54E4#FFFFFF#000000##FFFFFF
##7C54E41.004.954.254.95
#FFFFFF4.951.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E9
Deuteranopia (green-blind)
#006DE1
Tritanopia (blue-blind)
#5C7694
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7c54e4;
/* rgb */ color: rgb(124, 84, 228);
/* oklch */ color: oklch(56.7% 0.207 291.1);
Tailwind
colors: {
  custom: {
    50: '#a986ed',
    500: '#7c54e4',
    950: '#000000',
  },
}
SCSS
$custom: #7c54e4;
$custom-light: #a986ed;
$custom-dark: #000000;
JSON
{
  "hex": "#7c54e4",
  "rgb": {
    "r": 124,
    "g": 84,
    "b": 228
  },
  "hsl": {
    "h": 256.667,
    "s": 72.727,
    "l": 61.176
  },
  "oklch": {
    "l": 0.56674,
    "c": 0.20747,
    "h": 291.1
  },
  "luminance": 0.16227
}

Semantic roles & 50–950 ramp

primary
#7C54E4
secondary
#D6E5AF
accent
#D5119E
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #7C54E4

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

Preview Lab → · Contrast checker → · Palette generator →

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