#7D4FD1#7D4FD1

#7D4FD1 is a mid, vivid violet. Relative luminance 0.146; OKLCH L 54.6% C 0.191 H 295.7°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#7D4FD1
RGBrgb(125, 79, 209)
HSLhsl(261, 59%, 56%)
HSVhsv(261, 62%, 82%)
CMYKcmyk(40.2%, 62.2%, 0%, 18%)
CIE-LABlab(45.02, 47.48, -60.49)
CIE-LCHlch(45.02, 76.90, 308.12°)
OKLaboklab(54.64% 0.0829 -0.1724)
OKLCHoklch(54.64% 0.191 295.7)
XYZxyz(22.7590, 14.5549, 61.9195)
Luminance0.1456 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4FD1 #A3D14F
analogous
#4F62D1 #7D4FD1 #BE4FD1
triadic
#7D4FD1 #D17D4F #4FD17D
tetradic
#7D4FD1 #D14F62 #A3D14F #4FD1BE
square
#7D4FD1 #D14F62 #A3D14F #4FD1BE
split-complementary
#7D4FD1 #D1BE4F #62D14F
monochromatic
#452283 #5E2FB4 #7D4FD1 #A180DE #C5B0EA

Accessibility & contrast

On white

5.37
#7D4FD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#7D4FD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4FD1
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4FD1#FFFFFF#000000##FFFFFF
##7D4FD11.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD5
Deuteranopia (green-blind)
#0069CE
Tritanopia (blue-blind)
#686C89
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7d4fd1;
/* rgb */ color: rgb(125, 79, 209);
/* oklch */ color: oklch(54.6% 0.191 295.7);
Tailwind
colors: {
  custom: {
    50: '#a883e0',
    500: '#7d4fd1',
    950: '#000000',
  },
}
SCSS
$custom: #7d4fd1;
$custom-light: #a883e0;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4fd1",
  "rgb": {
    "r": 125,
    "g": 79,
    "b": 209
  },
  "hsl": {
    "h": 261.231,
    "s": 58.559,
    "l": 56.471
  },
  "oklch": {
    "l": 0.5464,
    "c": 0.19131,
    "h": 295.7
  },
  "luminance": 0.14555
}

Semantic roles & 50–950 ramp

primary
#7D4FD1
secondary
#C6D9A3
accent
#E246AB
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7D4FD1

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

Preview Lab → · Contrast checker → · Palette generator →

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