#7D4FF5#7D4FF5

#7D4FF5 is a mid, highly saturated violet. Relative luminance 0.165; OKLCH L 57.4% C 0.233 H 289.7°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#7D4FF5
RGBrgb(125, 79, 245)
HSLhsl(257, 89%, 64%)
HSVhsv(257, 68%, 96%)
CMYKcmyk(49%, 67.8%, 0%, 3.9%)
CIE-LABlab(47.68, 57.14, -76.58)
CIE-LCHlch(47.68, 95.54, 306.73°)
OKLaboklab(57.39% 0.0787 -0.2197)
OKLCHoklch(57.39% 0.233 289.7)
XYZxyz(27.7301, 16.5433, 88.1006)
Luminance0.1655 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4FF5 #C7F54F
analogous
#4F74F5 #7D4FF5 #D04FF5
triadic
#7D4FF5 #F57D4F #4FF57D
tetradic
#7D4FF5 #F54F74 #C7F54F #4FF5D0
square
#7D4FF5 #F54F74 #C7F54F #4FF5D0
split-complementary
#7D4FF5 #F5D04F #74F54F
monochromatic
#3D0BBF #5215F2 #7D4FF5 #A889F8 #D3C3FC

Accessibility & contrast

On white

4.87
#7D4FF5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#7D4FF5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4FF5
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4FF5#FFFFFF#000000##FFFFFF
##7D4FF51.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074FA
Deuteranopia (green-blind)
#006DF2
Tritanopia (blue-blind)
#54799C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7d4ff5;
/* rgb */ color: rgb(125, 79, 245);
/* oklch */ color: oklch(57.4% 0.233 289.7);
Tailwind
colors: {
  custom: {
    50: '#ac84fa',
    500: '#7d4ff5',
    950: '#000000',
  },
}
SCSS
$custom: #7d4ff5;
$custom-light: #ac84fa;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4ff5",
  "rgb": {
    "r": 125,
    "g": 79,
    "b": 245
  },
  "hsl": {
    "h": 256.627,
    "s": 89.247,
    "l": 63.529
  },
  "oklch": {
    "l": 0.57391,
    "c": 0.23333,
    "h": 289.7
  },
  "luminance": 0.16545
}

Semantic roles & 50–950 ramp

primary
#7D4FF5
secondary
#DDEDB2
accent
#E600A6
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #7D4FF5

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

Preview Lab → · Contrast checker → · Palette generator →

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