#7D4EDF#7D4EDF

#7D4EDF is a mid, highly saturated violet. Relative luminance 0.151; OKLCH L 55.5% C 0.209 H 293.3°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#7D4EDF
RGBrgb(125, 78, 223)
HSLhsl(259, 69%, 59%)
HSVhsv(259, 65%, 87%)
CMYKcmyk(43.9%, 65%, 0%, 12.5%)
CIE-LABlab(45.82, 51.73, -67.19)
CIE-LCHlch(45.82, 84.80, 307.59°)
OKLaboklab(55.53% 0.0827 -0.1921)
OKLCHoklch(55.53% 0.209 293.3)
XYZxyz(24.4975, 15.1358, 71.4285)
Luminance0.1514 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4EDF #B0DF4E
analogous
#4E68DF #7D4EDF #C54EDF
triadic
#7D4EDF #DF7D4E #4EDF7D
tetradic
#7D4EDF #DF4E68 #B0DF4E #4EDFC5
square
#7D4EDF #DF4E68 #B0DF4E #4EDFC5
split-complementary
#7D4EDF #DFC54E #68DF4E
monochromatic
#441B97 #5B25CB #7D4EDF #A382E8 #C9B6F2

Accessibility & contrast

On white

5.21
#7D4EDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#7D4EDF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4EDF
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4EDF#FFFFFF#000000##FFFFFF
##7D4EDF1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE3
Deuteranopia (green-blind)
#006ADC
Tritanopia (blue-blind)
#617190
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7d4edf;
/* rgb */ color: rgb(125, 78, 223);
/* oklch */ color: oklch(55.5% 0.209 293.3);
Tailwind
colors: {
  custom: {
    50: '#aa82ea',
    500: '#7d4edf',
    950: '#000000',
  },
}
SCSS
$custom: #7d4edf;
$custom-light: #aa82ea;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4edf",
  "rgb": {
    "r": 125,
    "g": 78,
    "b": 223
  },
  "hsl": {
    "h": 259.448,
    "s": 69.378,
    "l": 59.02
  },
  "oklch": {
    "l": 0.55534,
    "c": 0.20914,
    "h": 293.3
  },
  "luminance": 0.15136
}

Semantic roles & 50–950 ramp

primary
#7D4EDF
secondary
#CEE1A8
accent
#EC3CB3
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #7D4EDF

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

Preview Lab → · Contrast checker → · Palette generator →

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