#7D54F7#7D54F7

#7D54F7 is a mid, highly saturated violet. Relative luminance 0.174; OKLCH L 58.2% C 0.230 H 288.7°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#7D54F7
RGBrgb(125, 84, 247)
HSLhsl(255, 91%, 65%)
HSVhsv(255, 66%, 97%)
CMYKcmyk(49.4%, 66%, 0%, 3.1%)
CIE-LABlab(48.78, 55.10, -75.90)
CIE-LCHlch(48.78, 93.79, 305.98°)
OKLaboklab(58.23% 0.0738 -0.2177)
OKLCHoklch(58.23% 0.23 288.7)
XYZxyz(28.4114, 17.4148, 89.8420)
Luminance0.1742 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D54F7 #CEF754
analogous
#547DF7 #7D54F7 #CE54F7
triadic
#7D54F7 #F77D54 #54F77D
tetradic
#7D54F7 #F7547D #CEF754 #54F7CE
square
#7D54F7 #F7547D #CEF754 #54F7CE
split-complementary
#7D54F7 #F7CE54 #7DF754
monochromatic
#3909C7 #511AF4 #7D54F7 #A98EFA #D6C9FC

Accessibility & contrast

On white

4.68
#7D54F7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#7D54F7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D54F7
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D54F7#FFFFFF#000000##FFFFFF
##7D54F71.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077FC
Deuteranopia (green-blind)
#0070F4
Tritanopia (blue-blind)
#527D9F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7d54f7;
/* rgb */ color: rgb(125, 84, 247);
/* oklch */ color: oklch(58.2% 0.230 288.7);
Tailwind
colors: {
  custom: {
    50: '#ac87fb',
    500: '#7d54f7',
    950: '#000000',
  },
}
SCSS
$custom: #7d54f7;
$custom-light: #ac87fb;
$custom-dark: #000000;
JSON
{
  "hex": "#7d54f7",
  "rgb": {
    "r": 125,
    "g": 84,
    "b": 247
  },
  "hsl": {
    "h": 255.092,
    "s": 91.061,
    "l": 64.902
  },
  "oklch": {
    "l": 0.58228,
    "c": 0.22988,
    "h": 288.7
  },
  "luminance": 0.17416
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7D54F7

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

Preview Lab → · Contrast checker → · Palette generator →

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