#7F54FD#7F54FD

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

Color values

HEX#7F54FD
RGBrgb(127, 84, 253)
HSLhsl(255, 98%, 66%)
HSVhsv(255, 67%, 99%)
CMYKcmyk(49.8%, 66.8%, 0%, 0.8%)
CIE-LABlab(49.43, 57.08, -78.18)
CIE-LCHlch(49.43, 96.80, 306.13°)
OKLaboklab(58.88% 0.0756 -0.2243)
OKLCHoklch(58.88% 0.237 288.6)
XYZxyz(29.6472, 17.9432, 94.8107)
Luminance0.1794 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F54FD #D2FD54
analogous
#547DFD #7F54FD #D354FD
triadic
#7F54FD #FD7F54 #54FD7F
tetradic
#7F54FD #FD547D #D2FD54 #54FDD3
square
#7F54FD #FD547D #D2FD54 #54FDD3
split-complementary
#7F54FD #FDD354 #7DFD54
monochromatic
#3802D4 #5218FC #7F54FD #AC90FE #DACDFE

Accessibility & contrast

On white

4.58
#7F54FD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#7F54FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F54FD
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F54FD#FFFFFF#000000##000000
##7F54FD1.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f54fd;
/* rgb */ color: rgb(127, 84, 253);
/* oklch */ color: oklch(58.9% 0.237 288.6);
Tailwind
colors: {
  custom: {
    50: '#ae87ff',
    500: '#7f54fd',
    950: '#000000',
  },
}
SCSS
$custom: #7f54fd;
$custom-light: #ae87ff;
$custom-dark: #000000;
JSON
{
  "hex": "#7f54fd",
  "rgb": {
    "r": 127,
    "g": 84,
    "b": 253
  },
  "hsl": {
    "h": 255.266,
    "s": 97.688,
    "l": 66.078
  },
  "oklch": {
    "l": 0.58882,
    "c": 0.23674,
    "h": 288.6
  },
  "luminance": 0.17945
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7F54FD

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

Preview Lab → · Contrast checker → · Palette generator →

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