#7D4ED9#7D4ED9

#7D4ED9 is a mid, highly saturated violet. Relative luminance 0.148; OKLCH L 55.1% C 0.202 H 294.4°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#7D4ED9
RGBrgb(125, 78, 217)
HSLhsl(260, 65%, 58%)
HSVhsv(260, 64%, 85%)
CMYKcmyk(42.4%, 64.1%, 0%, 14.9%)
CIE-LABlab(45.38, 50.13, -64.48)
CIE-LCHlch(45.38, 81.68, 307.86°)
OKLaboklab(55.08% 0.0833 -0.1841)
OKLCHoklch(55.08% 0.202 294.4)
XYZxyz(23.7029, 14.8179, 67.2435)
Luminance0.1482 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4ED9 #AAD94E
analogous
#4E64D9 #7D4ED9 #C34ED9
triadic
#7D4ED9 #D97D4E #4ED97D
tetradic
#7D4ED9 #D94E64 #AAD94E #4ED9C3
square
#7D4ED9 #D94E64 #AAD94E #4ED9C3
split-complementary
#7D4ED9 #D9C34E #64D94E
monochromatic
#441F8E #5C29C0 #7D4ED9 #A280E4 #C7B3EF

Accessibility & contrast

On white

5.30
#7D4ED9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#7D4ED9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4ED9
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4ED9#FFFFFF#000000##FFFFFF
##7D4ED91.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDD
Deuteranopia (green-blind)
#0069D6
Tritanopia (blue-blind)
#646E8D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7d4ed9;
/* rgb */ color: rgb(125, 78, 217);
/* oklch */ color: oklch(55.1% 0.202 294.4);
Tailwind
colors: {
  custom: {
    50: '#a982e6',
    500: '#7d4ed9',
    950: '#000000',
  },
}
SCSS
$custom: #7d4ed9;
$custom-light: #a982e6;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4ed9",
  "rgb": {
    "r": 125,
    "g": 78,
    "b": 217
  },
  "hsl": {
    "h": 260.288,
    "s": 64.651,
    "l": 57.843
  },
  "oklch": {
    "l": 0.55083,
    "c": 0.20211,
    "h": 294.4
  },
  "luminance": 0.14819
}

Semantic roles & 50–950 ramp

primary
#7D4ED9
secondary
#CADDA6
accent
#E840AF
background
#FAF8FE
surface
#F5EFFC
border
#CFCAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #7D4ED9

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

Preview Lab → · Contrast checker → · Palette generator →

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