#7D4FC7#7D4FC7

#7D4FC7 is a mid, vivid violet. Relative luminance 0.141; OKLCH L 53.9% C 0.179 H 297.7°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#7D4FC7
RGBrgb(125, 79, 199)
HSLhsl(263, 52%, 55%)
HSVhsv(263, 60%, 78%)
CMYKcmyk(37.2%, 60.3%, 0%, 22%)
CIE-LABlab(44.34, 44.84, -55.83)
CIE-LCHlch(44.34, 71.61, 308.77°)
OKLaboklab(53.93% 0.0835 -0.1587)
OKLCHoklch(53.93% 0.179 297.7)
XYZxyz(21.5596, 14.0752, 55.6027)
Luminance0.1407 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4FC7 #99C74F
analogous
#4F5DC7 #7D4FC7 #B94FC7
triadic
#7D4FC7 #C77D4F #4FC77D
tetradic
#7D4FC7 #C74F5D #99C74F #4FC7B9
square
#7D4FC7 #C74F5D #99C74F #4FC7B9
split-complementary
#7D4FC7 #C7B94F #5DC74F
monochromatic
#442676 #5F34A4 #7D4FC7 #9F7DD6 #C2ACE5

Accessibility & contrast

On white

5.50
#7D4FC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#7D4FC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4FC7
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4FC7#FFFFFF#000000##FFFFFF
##7D4FC71.005.503.815.50
#FFFFFF5.501.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CB
Deuteranopia (green-blind)
#1D68C4
Tritanopia (blue-blind)
#6C6983
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7d4fc7;
/* rgb */ color: rgb(125, 79, 199);
/* oklch */ color: oklch(53.9% 0.179 297.7);
Tailwind
colors: {
  custom: {
    50: '#a782d9',
    500: '#7d4fc7',
    950: '#000000',
  },
}
SCSS
$custom: #7d4fc7;
$custom-light: #a782d9;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4fc7",
  "rgb": {
    "r": 125,
    "g": 79,
    "b": 199
  },
  "hsl": {
    "h": 263,
    "s": 51.724,
    "l": 54.51
  },
  "oklch": {
    "l": 0.53931,
    "c": 0.17929,
    "h": 297.7
  },
  "luminance": 0.14075
}

Semantic roles & 50–950 ramp

primary
#7D4FC7
secondary
#BFD2A0
accent
#DB4DA5
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7D4FC7

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

Preview Lab → · Contrast checker → · Palette generator →

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