#7C54DE#7C54DE

#7C54DE is a mid, highly saturated violet. Relative luminance 0.159; OKLCH L 56.2% C 0.200 H 292.1°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#7C54DE
RGBrgb(124, 84, 222)
HSLhsl(257, 68%, 60%)
HSVhsv(257, 62%, 87%)
CMYKcmyk(44.1%, 62.2%, 0%, 12.9%)
CIE-LABlab(46.84, 48.05, -64.97)
CIE-LCHlch(46.84, 80.81, 306.48°)
OKLaboklab(56.23% 0.0752 -0.1856)
OKLCHoklch(56.23% 0.2 292.1)
XYZxyz(24.6637, 15.8989, 70.8624)
Luminance0.1590 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C54DE #B6DE54
analogous
#5471DE #7C54DE #C154DE
triadic
#7C54DE #DE7C54 #54DE7C
tetradic
#7C54DE #DE5471 #B6DE54 #54DEC1
square
#7C54DE #DE5471 #B6DE54 #54DEC1
split-complementary
#7C54DE #DEC154 #71DE54
monochromatic
#421E9A #5828CD #7C54DE #A387E8 #CBBBF2

Accessibility & contrast

On white

5.02
#7C54DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#7C54DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C54DE
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C54DE#FFFFFF#000000##FFFFFF
##7C54DE1.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E2
Deuteranopia (green-blind)
#006CDB
Tritanopia (blue-blind)
#5F7491
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7c54de;
/* rgb */ color: rgb(124, 84, 222);
/* oklch */ color: oklch(56.2% 0.200 292.1);
Tailwind
colors: {
  custom: {
    50: '#a986e9',
    500: '#7c54de',
    950: '#000000',
  },
}
SCSS
$custom: #7c54de;
$custom-light: #a986e9;
$custom-dark: #000000;
JSON
{
  "hex": "#7c54de",
  "rgb": {
    "r": 124,
    "g": 84,
    "b": 222
  },
  "hsl": {
    "h": 257.391,
    "s": 67.647,
    "l": 60
  },
  "oklch": {
    "l": 0.56228,
    "c": 0.20026,
    "h": 292.1
  },
  "luminance": 0.159
}

Semantic roles & 50–950 ramp

primary
#7C54DE
secondary
#D2E1AC
accent
#EB3DB8
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7C54DE

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

Preview Lab → · Contrast checker → · Palette generator →

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