#7D4DD5#7D4DD5

#7D4DD5 is a mid, vivid violet. Relative luminance 0.145; OKLCH L 54.6% C 0.199 H 295.3°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#7D4DD5
RGBrgb(125, 77, 213)
HSLhsl(261, 62%, 57%)
HSVhsv(261, 64%, 84%)
CMYKcmyk(41.3%, 63.8%, 0%, 16.5%)
CIE-LABlab(44.90, 49.61, -62.98)
CIE-LCHlch(44.90, 80.17, 308.23°)
OKLaboklab(54.64% 0.0848 -0.1797)
OKLCHoklch(54.64% 0.199 295.3)
XYZxyz(23.1184, 14.4713, 64.5131)
Luminance0.1447 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4DD5 #A5D54D
analogous
#4D61D5 #7D4DD5 #C14DD5
triadic
#7D4DD5 #D57D4D #4DD57D
tetradic
#7D4DD5 #D54D61 #A5D54D #4DD5C1
square
#7D4DD5 #D54D61 #A5D54D #4DD5C1
split-complementary
#7D4DD5 #D5C14D #61D54D
monochromatic
#452088 #5E2CB9 #7D4DD5 #A17FE1 #C5B0EC

Accessibility & contrast

On white

5.39
#7D4DD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#7D4DD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4DD5
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4DD5#FFFFFF#000000##FFFFFF
##7D4DD51.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d4dd5;
/* rgb */ color: rgb(125, 77, 213);
/* oklch */ color: oklch(54.6% 0.199 295.3);
Tailwind
colors: {
  custom: {
    50: '#a981e3',
    500: '#7d4dd5',
    950: '#000000',
  },
}
SCSS
$custom: #7d4dd5;
$custom-light: #a981e3;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4dd5",
  "rgb": {
    "r": 125,
    "g": 77,
    "b": 213
  },
  "hsl": {
    "h": 261.176,
    "s": 61.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.54644,
    "c": 0.1987,
    "h": 295.3
  },
  "luminance": 0.14472
}

Semantic roles & 50–950 ramp

primary
#7D4DD5
secondary
#C7DBA3
accent
#E543AC
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100A15
muted
#7F7C84

Preview Lab

Preview with #7D4DD5

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

Preview Lab → · Contrast checker → · Palette generator →

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