#7D4DD4#7D4DD4

#7D4DD4 is a mid, vivid violet. Relative luminance 0.144; OKLCH L 54.6% C 0.198 H 295.5°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#7D4DD4
RGBrgb(125, 77, 212)
HSLhsl(261, 61%, 57%)
HSVhsv(261, 64%, 83%)
CMYKcmyk(41%, 63.7%, 0%, 16.9%)
CIE-LABlab(44.83, 49.34, -62.52)
CIE-LCHlch(44.83, 79.65, 308.28°)
OKLaboklab(54.57% 0.0849 -0.1784)
OKLCHoklch(54.57% 0.198 295.5)
XYZxyz(22.9919, 14.4207, 63.8467)
Luminance0.1442 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4DD4 #A4D44D
analogous
#4D61D4 #7D4DD4 #C04DD4
triadic
#7D4DD4 #D47D4D #4DD47D
tetradic
#7D4DD4 #D44D61 #A4D44D #4DD4C0
square
#7D4DD4 #D44D61 #A4D44D #4DD4C0
split-complementary
#7D4DD4 #D4C04D #61D44D
monochromatic
#452086 #5E2CB7 #7D4DD4 #A17EE0 #C5B0EC

Accessibility & contrast

On white

5.41
#7D4DD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#7D4DD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4DD4
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4DD4#FFFFFF#000000##FFFFFF
##7D4DD41.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d4dd4;
/* rgb */ color: rgb(125, 77, 212);
/* oklch */ color: oklch(54.6% 0.198 295.5);
Tailwind
colors: {
  custom: {
    50: '#a981e2',
    500: '#7d4dd4',
    950: '#000000',
  },
}
SCSS
$custom: #7d4dd4;
$custom-light: #a981e2;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4dd4",
  "rgb": {
    "r": 125,
    "g": 77,
    "b": 212
  },
  "hsl": {
    "h": 261.333,
    "s": 61.086,
    "l": 56.667
  },
  "oklch": {
    "l": 0.5457,
    "c": 0.19753,
    "h": 295.5
  },
  "luminance": 0.14421
}

Semantic roles & 50–950 ramp

primary
#7D4DD4
secondary
#C6DAA3
accent
#E444AB
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100A15
muted
#7F7C84

Preview Lab

Preview with #7D4DD4

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

Preview Lab → · Contrast checker → · Palette generator →

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