#7D54FD#7D54FD

#7D54FD is a mid, highly saturated violet. Relative luminance 0.178; OKLCH L 58.7% C 0.237 H 287.9°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#7D54FD
RGBrgb(125, 84, 253)
HSLhsl(255, 98%, 66%)
HSVhsv(255, 67%, 99%)
CMYKcmyk(50.6%, 66.8%, 0%, 0.8%)
CIE-LABlab(49.24, 56.75, -78.49)
CIE-LCHlch(49.24, 96.86, 305.87°)
OKLaboklab(58.7% 0.073 -0.2253)
OKLCHoklch(58.7% 0.237 287.9)
XYZxyz(29.3522, 17.7911, 94.7969)
Luminance0.1779 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D54FD #D4FD54
analogous
#547FFD #7D54FD #D154FD
triadic
#7D54FD #FD7D54 #54FD7D
tetradic
#7D54FD #FD547F #D4FD54 #54FDD1
square
#7D54FD #FD547F #D4FD54 #54FDD1
split-complementary
#7D54FD #FDD154 #7FFD54
monochromatic
#3502D4 #4F18FC #7D54FD #AB90FE #D9CDFE

Accessibility & contrast

On white

4.61
#7D54FD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#7D54FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7D54FD
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D54FD#FFFFFF#000000##FFFFFF
##7D54FD1.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d54fd;
/* rgb */ color: rgb(125, 84, 253);
/* oklch */ color: oklch(58.7% 0.237 287.9);
Tailwind
colors: {
  custom: {
    50: '#ad87ff',
    500: '#7d54fd',
    950: '#000000',
  },
}
SCSS
$custom: #7d54fd;
$custom-light: #ad87ff;
$custom-dark: #000000;
JSON
{
  "hex": "#7d54fd",
  "rgb": {
    "r": 125,
    "g": 84,
    "b": 253
  },
  "hsl": {
    "h": 254.556,
    "s": 97.688,
    "l": 66.078
  },
  "oklch": {
    "l": 0.58704,
    "c": 0.23683,
    "h": 287.9
  },
  "luminance": 0.17792
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7D54FD

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

Preview Lab → · Contrast checker → · Palette generator →

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