#7C54FD#7C54FD

#7C54FD is a mid, highly saturated violet. Relative luminance 0.177; OKLCH L 58.6% C 0.237 H 287.6°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#7C54FD
RGBrgb(124, 84, 253)
HSLhsl(254, 98%, 66%)
HSVhsv(254, 67%, 99%)
CMYKcmyk(51%, 66.8%, 0%, 0.8%)
CIE-LABlab(49.15, 56.59, -78.64)
CIE-LCHlch(49.15, 96.88, 305.74°)
OKLaboklab(58.62% 0.0717 -0.2258)
OKLCHoklch(58.62% 0.237 287.6)
XYZxyz(29.2069, 17.7162, 94.7901)
Luminance0.1772 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C54FD #D5FD54
analogous
#5480FD #7C54FD #D054FD
triadic
#7C54FD #FD7C54 #54FD7C
tetradic
#7C54FD #FD5480 #D5FD54 #54FDD0
square
#7C54FD #FD5480 #D5FD54 #54FDD0
split-complementary
#7C54FD #FDD054 #80FD54
monochromatic
#3402D4 #4E18FC #7C54FD #AA90FE #D9CDFE

Accessibility & contrast

On white

4.62
#7C54FD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#7C54FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7C54FD
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C54FD#FFFFFF#000000##FFFFFF
##7C54FD1.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079FF
Deuteranopia (green-blind)
#0070FA
Tritanopia (blue-blind)
#4B7FA2
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7c54fd;
/* rgb */ color: rgb(124, 84, 253);
/* oklch */ color: oklch(58.6% 0.237 287.6);
Tailwind
colors: {
  custom: {
    50: '#ac87ff',
    500: '#7c54fd',
    950: '#000000',
  },
}
SCSS
$custom: #7c54fd;
$custom-light: #ac87ff;
$custom-dark: #000000;
JSON
{
  "hex": "#7c54fd",
  "rgb": {
    "r": 124,
    "g": 84,
    "b": 253
  },
  "hsl": {
    "h": 254.201,
    "s": 97.688,
    "l": 66.078
  },
  "oklch": {
    "l": 0.58617,
    "c": 0.23688,
    "h": 287.6
  },
  "luminance": 0.17718
}

Semantic roles & 50–950 ramp

primary
#7C54FD
secondary
#E5F2BB
accent
#E600AF
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110B18
muted
#807C86

Preview Lab

Preview with #7C54FD

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

Preview Lab → · Contrast checker → · Palette generator →

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