#7E54FD#7E54FD

#7E54FD is a mid, highly saturated violet. Relative luminance 0.179; OKLCH L 58.8% C 0.237 H 288.3°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#7E54FD
RGBrgb(126, 84, 253)
HSLhsl(255, 98%, 66%)
HSVhsv(255, 67%, 99%)
CMYKcmyk(50.2%, 66.8%, 0%, 0.8%)
CIE-LABlab(49.33, 56.91, -78.33)
CIE-LCHlch(49.33, 96.83, 306.00°)
OKLaboklab(58.79% 0.0743 -0.2248)
OKLCHoklch(58.79% 0.237 288.3)
XYZxyz(29.4990, 17.8668, 94.8038)
Luminance0.1787 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E54FD #D3FD54
analogous
#547EFD #7E54FD #D254FD
triadic
#7E54FD #FD7E54 #54FD7E
tetradic
#7E54FD #FD547E #D3FD54 #54FDD2
square
#7E54FD #FD547E #D3FD54 #54FDD2
split-complementary
#7E54FD #FDD254 #7EFD54
monochromatic
#3702D4 #5018FC #7E54FD #AC90FE #D9CDFE

Accessibility & contrast

On white

4.59
#7E54FD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#7E54FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7E54FD
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E54FD#FFFFFF#000000##FFFFFF
##7E54FD1.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079FF
Deuteranopia (green-blind)
#0071FA
Tritanopia (blue-blind)
#507FA2
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7e54fd;
/* rgb */ color: rgb(126, 84, 253);
/* oklch */ color: oklch(58.8% 0.237 288.3);
Tailwind
colors: {
  custom: {
    50: '#ad87ff',
    500: '#7e54fd',
    950: '#000000',
  },
}
SCSS
$custom: #7e54fd;
$custom-light: #ad87ff;
$custom-dark: #000000;
JSON
{
  "hex": "#7e54fd",
  "rgb": {
    "r": 126,
    "g": 84,
    "b": 253
  },
  "hsl": {
    "h": 254.911,
    "s": 97.688,
    "l": 66.078
  },
  "oklch": {
    "l": 0.58793,
    "c": 0.23677,
    "h": 288.3
  },
  "luminance": 0.17868
}

Semantic roles & 50–950 ramp

primary
#7E54FD
secondary
#E4F2BB
accent
#E600AC
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110B18
muted
#807C86

Preview Lab

Preview with #7E54FD

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

Preview Lab → · Contrast checker → · Palette generator →

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