#7D4CD4#7D4CD4

#7D4CD4 is a mid, vivid violet. Relative luminance 0.143; OKLCH L 54.4% C 0.199 H 295.6°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#7D4CD4
RGBrgb(125, 76, 212)
HSLhsl(262, 61%, 56%)
HSVhsv(262, 64%, 83%)
CMYKcmyk(41%, 64.2%, 0%, 16.9%)
CIE-LABlab(44.63, 49.87, -62.84)
CIE-LCHlch(44.63, 80.22, 308.44°)
OKLaboklab(54.43% 0.086 -0.1793)
OKLCHoklch(54.43% 0.199 295.6)
XYZxyz(22.9224, 14.2818, 63.8235)
Luminance0.1428 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4CD4 #A3D44C
analogous
#4C5FD4 #7D4CD4 #C14CD4
triadic
#7D4CD4 #D47D4C #4CD47D
tetradic
#7D4CD4 #D44C5F #A3D44C #4CD4C1
square
#7D4CD4 #D44C5F #A3D44C #4CD4C1
split-complementary
#7D4CD4 #D4C14C #5FD44C
monochromatic
#452086 #5E2CB7 #7D4CD4 #A17DE0 #C5AFEC

Accessibility & contrast

On white

5.45
#7D4CD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#7D4CD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4CD4
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4CD4#FFFFFF#000000##FFFFFF
##7D4CD41.005.453.865.45
#FFFFFF5.451.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD8
Deuteranopia (green-blind)
#0068D1
Tritanopia (blue-blind)
#666B89
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7d4cd4;
/* rgb */ color: rgb(125, 76, 212);
/* oklch */ color: oklch(54.4% 0.199 295.6);
Tailwind
colors: {
  custom: {
    50: '#a981e2',
    500: '#7d4cd4',
    950: '#000000',
  },
}
SCSS
$custom: #7d4cd4;
$custom-light: #a981e2;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4cd4",
  "rgb": {
    "r": 125,
    "g": 76,
    "b": 212
  },
  "hsl": {
    "h": 261.618,
    "s": 61.261,
    "l": 56.471
  },
  "oklch": {
    "l": 0.54428,
    "c": 0.19884,
    "h": 295.6
  },
  "luminance": 0.14282
}

Semantic roles & 50–950 ramp

primary
#7D4CD4
secondary
#C6DAA2
accent
#E443AA
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100A15
muted
#7F7C84

Preview Lab

Preview with #7D4CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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