#7D4EDA#7D4EDA

#7D4EDA is a mid, highly saturated violet. Relative luminance 0.149; OKLCH L 55.2% C 0.203 H 294.2°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#7D4EDA
RGBrgb(125, 78, 218)
HSLhsl(260, 65%, 58%)
HSVhsv(260, 64%, 85%)
CMYKcmyk(42.7%, 64.2%, 0%, 14.5%)
CIE-LABlab(45.46, 50.40, -64.94)
CIE-LCHlch(45.46, 82.20, 307.82°)
OKLaboklab(55.16% 0.0832 -0.1855)
OKLCHoklch(55.16% 0.203 294.2)
XYZxyz(23.8333, 14.8701, 67.9306)
Luminance0.1487 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4EDA #ABDA4E
analogous
#4E65DA #7D4EDA #C34EDA
triadic
#7D4EDA #DA7D4E #4EDA7D
tetradic
#7D4EDA #DA4E65 #ABDA4E #4EDAC3
square
#7D4EDA #DA4E65 #ABDA4E #4EDAC3
split-complementary
#7D4EDA #DAC34E #65DA4E
monochromatic
#441E90 #5C29C2 #7D4EDA #A281E5 #C7B3EF

Accessibility & contrast

On white

5.28
#7D4EDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7D4EDA
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4EDA#FFFFFF#000000##FFFFFF
##7D4EDA1.005.283.975.28
#FFFFFF5.281.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDE
Deuteranopia (green-blind)
#0069D7
Tritanopia (blue-blind)
#646F8D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7d4eda;
/* rgb */ color: rgb(125, 78, 218);
/* oklch */ color: oklch(55.2% 0.203 294.2);
Tailwind
colors: {
  custom: {
    50: '#a982e6',
    500: '#7d4eda',
    950: '#000000',
  },
}
SCSS
$custom: #7d4eda;
$custom-light: #a982e6;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4eda",
  "rgb": {
    "r": 125,
    "g": 78,
    "b": 218
  },
  "hsl": {
    "h": 260.143,
    "s": 65.421,
    "l": 58.039
  },
  "oklch": {
    "l": 0.55157,
    "c": 0.20329,
    "h": 294.2
  },
  "luminance": 0.14871
}

Semantic roles & 50–950 ramp

primary
#7D4EDA
secondary
#CBDEA6
accent
#E83FB0
background
#FAF8FE
surface
#F5EFFC
border
#CFCAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #7D4EDA

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

Preview Lab → · Contrast checker → · Palette generator →

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