#7D4DDC#7D4DDC

#7D4DDC is a mid, highly saturated violet. Relative luminance 0.148; OKLCH L 55.2% C 0.207 H 294.0°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#7D4DDC
RGBrgb(125, 77, 220)
HSLhsl(260, 67%, 58%)
HSVhsv(260, 65%, 86%)
CMYKcmyk(43.2%, 65%, 0%, 13.7%)
CIE-LABlab(45.41, 51.46, -66.16)
CIE-LCHlch(45.41, 83.82, 307.88°)
OKLaboklab(55.17% 0.0841 -0.189)
OKLCHoklch(55.17% 0.207 294)
XYZxyz(24.0261, 14.8344, 69.2937)
Luminance0.1484 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4DDC #ACDC4D
analogous
#4D64DC #7D4DDC #C44DDC
triadic
#7D4DDC #DC7D4D #4DDC7D
tetradic
#7D4DDC #DC4D64 #ACDC4D #4DDCC4
square
#7D4DDC #DC4D64 #ACDC4D #4DDCC4
split-complementary
#7D4DDC #DCC44D #64DC4D
monochromatic
#441D92 #5C27C5 #7D4DDC #A280E6 #C8B3F0

Accessibility & contrast

On white

5.29
#7D4DDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#7D4DDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4DDC
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4DDC#FFFFFF#000000##FFFFFF
##7D4DDC1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE0
Deuteranopia (green-blind)
#0069D9
Tritanopia (blue-blind)
#636F8E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7d4ddc;
/* rgb */ color: rgb(125, 77, 220);
/* oklch */ color: oklch(55.2% 0.207 294.0);
Tailwind
colors: {
  custom: {
    50: '#a982e8',
    500: '#7d4ddc',
    950: '#000000',
  },
}
SCSS
$custom: #7d4ddc;
$custom-light: #a982e8;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4ddc",
  "rgb": {
    "r": 125,
    "g": 77,
    "b": 220
  },
  "hsl": {
    "h": 260.14,
    "s": 67.136,
    "l": 58.235
  },
  "oklch": {
    "l": 0.55168,
    "c": 0.2069,
    "h": 294
  },
  "luminance": 0.14835
}

Semantic roles & 50–950 ramp

primary
#7D4DDC
secondary
#CCDFA6
accent
#EA3EB0
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #7D4DDC

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

Preview Lab → · Contrast checker → · Palette generator →

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