#7D4DD3#7D4DD3

#7D4DD3 is a mid, vivid violet. Relative luminance 0.144; OKLCH L 54.5% C 0.196 H 295.6°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#7D4DD3
RGBrgb(125, 77, 211)
HSLhsl(261, 60%, 56%)
HSVhsv(261, 64%, 83%)
CMYKcmyk(40.8%, 63.5%, 0%, 17.3%)
CIE-LABlab(44.76, 49.08, -62.06)
CIE-LCHlch(44.76, 79.12, 308.34°)
OKLaboklab(54.5% 0.085 -0.177)
OKLCHoklch(54.5% 0.196 295.6)
XYZxyz(22.8661, 14.3704, 63.1844)
Luminance0.1437 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4DD3 #A3D34D
analogous
#4D60D3 #7D4DD3 #C04DD3
triadic
#7D4DD3 #D37D4D #4DD37D
tetradic
#7D4DD3 #D34D60 #A3D34D #4DD3C0
square
#7D4DD3 #D34D60 #A3D34D #4DD3C0
split-complementary
#7D4DD3 #D3C04D #60D34D
monochromatic
#452185 #5E2DB6 #7D4DD3 #A17EDF #C5AFEB

Accessibility & contrast

On white

5.42
#7D4DD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#7D4DD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4DD3
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4DD3#FFFFFF#000000##FFFFFF
##7D4DD31.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD7
Deuteranopia (green-blind)
#0068D0
Tritanopia (blue-blind)
#676C89
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7d4dd3;
/* rgb */ color: rgb(125, 77, 211);
/* oklch */ color: oklch(54.5% 0.196 295.6);
Tailwind
colors: {
  custom: {
    50: '#a981e1',
    500: '#7d4dd3',
    950: '#000000',
  },
}
SCSS
$custom: #7d4dd3;
$custom-light: #a981e1;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4dd3",
  "rgb": {
    "r": 125,
    "g": 77,
    "b": 211
  },
  "hsl": {
    "h": 261.493,
    "s": 60.36,
    "l": 56.471
  },
  "oklch": {
    "l": 0.54496,
    "c": 0.19635,
    "h": 295.6
  },
  "luminance": 0.14371
}

Semantic roles & 50–950 ramp

primary
#7D4DD3
secondary
#C6D9A2
accent
#E444AA
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7D4DD3

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

Preview Lab → · Contrast checker → · Palette generator →

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