#7D4DD2#7D4DD2

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

Color values

HEX#7D4DD2
RGBrgb(125, 77, 210)
HSLhsl(262, 60%, 56%)
HSVhsv(262, 63%, 82%)
CMYKcmyk(40.5%, 63.3%, 0%, 17.6%)
CIE-LABlab(44.69, 48.81, -61.60)
CIE-LCHlch(44.69, 78.60, 308.39°)
OKLaboklab(54.42% 0.0851 -0.1757)
OKLCHoklch(54.42% 0.195 295.8)
XYZxyz(22.7411, 14.3204, 62.5262)
Luminance0.1432 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4DD2 #A2D24D
analogous
#4D60D2 #7D4DD2 #C04DD2
triadic
#7D4DD2 #D27D4D #4DD27D
tetradic
#7D4DD2 #D24D60 #A2D24D #4DD2C0
square
#7D4DD2 #D24D60 #A2D24D #4DD2C0
split-complementary
#7D4DD2 #D2C04D #60D24D
monochromatic
#452183 #5E2EB4 #7D4DD2 #A17EDE #C4AFEB

Accessibility & contrast

On white

5.43
#7D4DD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7D4DD2
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4DD2#FFFFFF#000000##FFFFFF
##7D4DD21.005.433.865.43
#FFFFFF5.431.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD6
Deuteranopia (green-blind)
#0068CF
Tritanopia (blue-blind)
#676B88
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7d4dd2;
/* rgb */ color: rgb(125, 77, 210);
/* oklch */ color: oklch(54.4% 0.195 295.8);
Tailwind
colors: {
  custom: {
    50: '#a881e1',
    500: '#7d4dd2',
    950: '#000000',
  },
}
SCSS
$custom: #7d4dd2;
$custom-light: #a881e1;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4dd2",
  "rgb": {
    "r": 125,
    "g": 77,
    "b": 210
  },
  "hsl": {
    "h": 261.654,
    "s": 59.641,
    "l": 56.275
  },
  "oklch": {
    "l": 0.54423,
    "c": 0.19518,
    "h": 295.8
  },
  "luminance": 0.14321
}

Semantic roles & 50–950 ramp

primary
#7D4DD2
secondary
#C5D9A2
accent
#E345AA
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7D4DD2

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

Preview Lab → · Contrast checker → · Palette generator →

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