#7D4FD4#7D4FD4

#7D4FD4 is a mid, vivid violet. Relative luminance 0.147; OKLCH L 54.9% C 0.195 H 295.1°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#7D4FD4
RGBrgb(125, 79, 212)
HSLhsl(261, 61%, 57%)
HSVhsv(261, 63%, 83%)
CMYKcmyk(41%, 62.7%, 0%, 16.9%)
CIE-LABlab(45.23, 48.27, -61.88)
CIE-LCHlch(45.23, 78.48, 307.96°)
OKLaboklab(54.86% 0.0827 -0.1765)
OKLCHoklch(54.86% 0.195 295.1)
XYZxyz(23.1339, 14.7049, 63.8941)
Luminance0.1470 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4FD4 #A6D44F
analogous
#4F64D4 #7D4FD4 #C04FD4
triadic
#7D4FD4 #D47D4F #4FD47D
tetradic
#7D4FD4 #D44F64 #A6D44F #4FD4C0
square
#7D4FD4 #D44F64 #A6D44F #4FD4C0
split-complementary
#7D4FD4 #D4C04F #64D44F
monochromatic
#452187 #5D2DB9 #7D4FD4 #A180E0 #C6B1EC

Accessibility & contrast

On white

5.33
#7D4FD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#7D4FD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4FD4
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4FD4#FFFFFF#000000##FFFFFF
##7D4FD41.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD8
Deuteranopia (green-blind)
#0069D1
Tritanopia (blue-blind)
#666D8A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7d4fd4;
/* rgb */ color: rgb(125, 79, 212);
/* oklch */ color: oklch(54.9% 0.195 295.1);
Tailwind
colors: {
  custom: {
    50: '#a983e2',
    500: '#7d4fd4',
    950: '#000000',
  },
}
SCSS
$custom: #7d4fd4;
$custom-light: #a983e2;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4fd4",
  "rgb": {
    "r": 125,
    "g": 79,
    "b": 212
  },
  "hsl": {
    "h": 260.752,
    "s": 60.731,
    "l": 57.059
  },
  "oklch": {
    "l": 0.54857,
    "c": 0.19489,
    "h": 295.1
  },
  "luminance": 0.14705
}

Semantic roles & 50–950 ramp

primary
#7D4FD4
secondary
#C8DAA4
accent
#E444AD
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7D4FD4

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

Preview Lab → · Contrast checker → · Palette generator →

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