#7D4FD7#7D4FD7

#7D4FD7 is a mid, vivid violet. Relative luminance 0.149; OKLCH L 55.1% C 0.198 H 294.5°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#7D4FD7
RGBrgb(125, 79, 215)
HSLhsl(260, 63%, 58%)
HSVhsv(260, 63%, 84%)
CMYKcmyk(41.9%, 63.3%, 0%, 15.7%)
CIE-LABlab(45.44, 49.07, -63.25)
CIE-LCHlch(45.44, 80.05, 307.80°)
OKLaboklab(55.08% 0.0825 -0.1805)
OKLCHoklch(55.08% 0.198 294.5)
XYZxyz(23.5159, 14.8577, 65.9056)
Luminance0.1486 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4FD7 #A9D74F
analogous
#4F65D7 #7D4FD7 #C14FD7
triadic
#7D4FD7 #D77D4F #4FD77D
tetradic
#7D4FD7 #D74F65 #A9D74F #4FD7C1
square
#7D4FD7 #D74F65 #A9D74F #4FD7C1
split-complementary
#7D4FD7 #D7C14F #65D74F
monochromatic
#44208C #5D2BBE #7D4FD7 #A281E2 #C7B3EE

Accessibility & contrast

On white

5.29
#7D4FD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#7D4FD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4FD7
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4FD7#FFFFFF#000000##FFFFFF
##7D4FD71.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDB
Deuteranopia (green-blind)
#0069D4
Tritanopia (blue-blind)
#656E8C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7d4fd7;
/* rgb */ color: rgb(125, 79, 215);
/* oklch */ color: oklch(55.1% 0.198 294.5);
Tailwind
colors: {
  custom: {
    50: '#a983e4',
    500: '#7d4fd7',
    950: '#000000',
  },
}
SCSS
$custom: #7d4fd7;
$custom-light: #a983e4;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4fd7",
  "rgb": {
    "r": 125,
    "g": 79,
    "b": 215
  },
  "hsl": {
    "h": 260.294,
    "s": 62.963,
    "l": 57.647
  },
  "oklch": {
    "l": 0.55077,
    "c": 0.19845,
    "h": 294.5
  },
  "luminance": 0.14858
}

Semantic roles & 50–950 ramp

primary
#7D4FD7
secondary
#CADCA6
accent
#E642AE
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7D4FD7

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

Preview Lab → · Contrast checker → · Palette generator →

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