#7D4DD7#7D4DD7

#7D4DD7 is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 54.8% C 0.201 H 294.9°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#7D4DD7
RGBrgb(125, 77, 215)
HSLhsl(261, 63%, 57%)
HSVhsv(261, 64%, 84%)
CMYKcmyk(41.9%, 64.2%, 0%, 15.7%)
CIE-LABlab(45.04, 50.13, -63.89)
CIE-LCHlch(45.04, 81.21, 308.12°)
OKLaboklab(54.79% 0.0846 -0.1824)
OKLCHoklch(54.79% 0.201 294.9)
XYZxyz(23.3738, 14.5735, 65.8583)
Luminance0.1457 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4DD7 #A7D74D
analogous
#4D62D7 #7D4DD7 #C24DD7
triadic
#7D4DD7 #D77D4D #4DD77D
tetradic
#7D4DD7 #D74D62 #A7D74D #4DD7C2
square
#7D4DD7 #D74D62 #A7D74D #4DD7C2
split-complementary
#7D4DD7 #D7C24D #62D74D
monochromatic
#441F8A #5D2ABC #7D4DD7 #A17FE2 #C6B1ED

Accessibility & contrast

On white

5.36
#7D4DD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7D4DD7
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4DD7#FFFFFF#000000##FFFFFF
##7D4DD71.005.363.915.36
#FFFFFF5.361.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDB
Deuteranopia (green-blind)
#0068D4
Tritanopia (blue-blind)
#656D8B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7d4dd7;
/* rgb */ color: rgb(125, 77, 215);
/* oklch */ color: oklch(54.8% 0.201 294.9);
Tailwind
colors: {
  custom: {
    50: '#a981e4',
    500: '#7d4dd7',
    950: '#000000',
  },
}
SCSS
$custom: #7d4dd7;
$custom-light: #a981e4;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4dd7",
  "rgb": {
    "r": 125,
    "g": 77,
    "b": 215
  },
  "hsl": {
    "h": 260.87,
    "s": 63.303,
    "l": 57.255
  },
  "oklch": {
    "l": 0.54792,
    "c": 0.20106,
    "h": 294.9
  },
  "luminance": 0.14574
}

Semantic roles & 50–950 ramp

primary
#7D4DD7
secondary
#C8DCA4
accent
#E641AD
background
#FAF8FE
surface
#F5EFFC
border
#CFCAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7D4DD7

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

Preview Lab → · Contrast checker → · Palette generator →

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