#7D4EAE#7D4EAE

#7D4EAE is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.1% C 0.150 H 304.3°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#7D4EAE
RGBrgb(125, 78, 174)
HSLhsl(269, 38%, 49%)
HSVhsv(269, 55%, 68%)
CMYKcmyk(28.2%, 55.2%, 0%, 31.8%)
CIE-LABlab(42.56, 39.02, -44.08)
CIE-LCHlch(42.56, 58.87, 311.52°)
OKLaboklab(52.12% 0.0847 -0.1242)
OKLCHoklch(52.12% 0.15 304.3)
XYZxyz(18.8201, 12.8648, 41.5279)
Luminance0.1286 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4EAE #7FAE4E
analogous
#4E4FAE #7D4EAE #AD4EAE
triadic
#7D4EAE #AE7D4E #4EAE7D
tetradic
#7D4EAE #AE4E4F #7FAE4E #4EAEAD
square
#7D4EAE #AE4E4F #7FAE4E #4EAEAD
split-complementary
#7D4EAE #AEAD4E #4FAE4E
monochromatic
#402859 #5F3B84 #7D4EAE #9C77C2 #BBA1D5

Accessibility & contrast

On white

5.88
#7D4EAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#7D4EAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4EAE
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4EAE#FFFFFF#000000##FFFFFF
##7D4EAE1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C63B1
Deuteranopia (green-blind)
#3B64AC
Tritanopia (blue-blind)
#746076
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7d4eae;
/* rgb */ color: rgb(125, 78, 174);
/* oklch */ color: oklch(52.1% 0.150 304.3);
Tailwind
colors: {
  custom: {
    50: '#a581c7',
    500: '#7d4eae',
    950: '#000000',
  },
}
SCSS
$custom: #7d4eae;
$custom-light: #a581c7;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4eae",
  "rgb": {
    "r": 125,
    "g": 78,
    "b": 174
  },
  "hsl": {
    "h": 269.375,
    "s": 38.095,
    "l": 49.412
  },
  "oklch": {
    "l": 0.52121,
    "c": 0.15031,
    "h": 304.3
  },
  "luminance": 0.12865
}

Semantic roles & 50–950 ramp

primary
#7D4EAE
secondary
#ACC296
accent
#CE5A95
background
#FAF8FC
surface
#F4EFF8
border
#CECAD1
text
#100A13
muted
#7F7C82

Preview Lab

Preview with #7D4EAE

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

Preview Lab → · Contrast checker → · Palette generator →

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