#7C54DC#7C54DC

#7C54DC is a mid, vivid violet. Relative luminance 0.158; OKLCH L 56.1% C 0.198 H 292.4°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#7C54DC
RGBrgb(124, 84, 220)
HSLhsl(258, 66%, 60%)
HSVhsv(258, 62%, 86%)
CMYKcmyk(43.6%, 61.8%, 0%, 13.7%)
CIE-LABlab(46.70, 47.50, -64.06)
CIE-LCHlch(46.70, 79.75, 306.56°)
OKLaboklab(56.08% 0.0753 -0.1829)
OKLCHoklch(56.08% 0.198 292.4)
XYZxyz(24.3972, 15.7923, 69.4590)
Luminance0.1579 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C54DC #B4DC54
analogous
#5470DC #7C54DC #C054DC
triadic
#7C54DC #DC7C54 #54DC7C
tetradic
#7C54DC #DC5470 #B4DC54 #54DCC0
square
#7C54DC #DC5470 #B4DC54 #54DCC0
split-complementary
#7C54DC #DCC054 #70DC54
monochromatic
#421F97 #5829CA #7C54DC #A387E6 #CABAF1

Accessibility & contrast

On white

5.05
#7C54DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#7C54DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C54DC
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C54DC#FFFFFF#000000##FFFFFF
##7C54DC1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E0
Deuteranopia (green-blind)
#006CD9
Tritanopia (blue-blind)
#617390
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7c54dc;
/* rgb */ color: rgb(124, 84, 220);
/* oklch */ color: oklch(56.1% 0.198 292.4);
Tailwind
colors: {
  custom: {
    50: '#a886e8',
    500: '#7c54dc',
    950: '#000000',
  },
}
SCSS
$custom: #7c54dc;
$custom-light: #a886e8;
$custom-dark: #000000;
JSON
{
  "hex": "#7c54dc",
  "rgb": {
    "r": 124,
    "g": 84,
    "b": 220
  },
  "hsl": {
    "h": 257.647,
    "s": 66.019,
    "l": 59.608
  },
  "oklch": {
    "l": 0.56081,
    "c": 0.19783,
    "h": 292.4
  },
  "luminance": 0.15793
}

Semantic roles & 50–950 ramp

primary
#7C54DC
secondary
#D1E0AC
accent
#E93FB7
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7C54DC

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

Preview Lab → · Contrast checker → · Palette generator →

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