#7D4EBD#7D4EBD

#7D4EBD is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.1% C 0.169 H 300.2°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#7D4EBD
RGBrgb(125, 78, 189)
HSLhsl(265, 46%, 52%)
HSVhsv(265, 59%, 74%)
CMYKcmyk(33.9%, 58.7%, 0%, 25.9%)
CIE-LABlab(43.48, 42.81, -51.40)
CIE-LCHlch(43.48, 66.89, 309.79°)
OKLaboklab(53.1% 0.0849 -0.1457)
OKLCHoklch(53.1% 0.169 300.2)
XYZxyz(20.3649, 13.4827, 49.6638)
Luminance0.1348 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4EBD #8EBD4E
analogous
#4E57BD #7D4EBD #B44EBD
triadic
#7D4EBD #BD7D4E #4EBD7D
tetradic
#7D4EBD #BD4E57 #8EBD4E #4EBDB4
square
#7D4EBD #BD4E57 #8EBD4E #4EBDB4
split-complementary
#7D4EBD #BDB44E #57BD4E
monochromatic
#432769 #603896 #7D4EBD #9E7BCE #BEA7DE

Accessibility & contrast

On white

5.68
#7D4EBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#7D4EBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4EBD
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4EBD#FFFFFF#000000##FFFFFF
##7D4EBD1.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1466C1
Deuteranopia (green-blind)
#2C66BA
Tritanopia (blue-blind)
#70657E
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7d4ebd;
/* rgb */ color: rgb(125, 78, 189);
/* oklch */ color: oklch(53.1% 0.169 300.2);
Tailwind
colors: {
  custom: {
    50: '#a781d1',
    500: '#7d4ebd',
    950: '#000000',
  },
}
SCSS
$custom: #7d4ebd;
$custom-light: #a781d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4ebd",
  "rgb": {
    "r": 125,
    "g": 78,
    "b": 189
  },
  "hsl": {
    "h": 265.405,
    "s": 45.679,
    "l": 52.353
  },
  "oklch": {
    "l": 0.53096,
    "c": 0.16863,
    "h": 300.2
  },
  "luminance": 0.13483
}

Semantic roles & 50–950 ramp

primary
#7D4EBD
secondary
#B7CC9B
accent
#D5529E
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#100A14
muted
#7F7C82

Preview Lab

Preview with #7D4EBD

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

Preview Lab → · Contrast checker → · Palette generator →

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