#7D4DBE#7D4DBE

#7D4DBE is a mid, vivid violet. Relative luminance 0.134; OKLCH L 53.0% C 0.171 H 300.2°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#7D4DBE
RGBrgb(125, 77, 190)
HSLhsl(265, 47%, 52%)
HSVhsv(265, 59%, 75%)
CMYKcmyk(34.2%, 59.5%, 0%, 25.5%)
CIE-LABlab(43.34, 43.61, -52.21)
CIE-LCHlch(43.34, 68.03, 309.87°)
OKLaboklab(53.01% 0.0862 -0.148)
OKLCHoklch(53.01% 0.171 300.2)
XYZxyz(20.4033, 13.3853, 50.2139)
Luminance0.1338 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4DBE #8EBE4D
analogous
#4D55BE #7D4DBE #B64DBE
triadic
#7D4DBE #BE7D4D #4DBE7D
tetradic
#7D4DBE #BE4D55 #8EBE4D #4DBEB6
square
#7D4DBE #BE4D55 #8EBE4D #4DBEB6
split-complementary
#7D4DBE #BEB64D #55BE4D
monochromatic
#43276A #603797 #7D4DBE #9E7ACE #BEA7DF

Accessibility & contrast

On white

5.71
#7D4DBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#7D4DBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4DBE
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4DBE#FFFFFF#000000##FFFFFF
##7D4DBE1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D66C2
Deuteranopia (green-blind)
#2966BB
Tritanopia (blue-blind)
#6F657E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7d4dbe;
/* rgb */ color: rgb(125, 77, 190);
/* oklch */ color: oklch(53.0% 0.171 300.2);
Tailwind
colors: {
  custom: {
    50: '#a781d2',
    500: '#7d4dbe',
    950: '#000000',
  },
}
SCSS
$custom: #7d4dbe;
$custom-light: #a781d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4dbe",
  "rgb": {
    "r": 125,
    "g": 77,
    "b": 190
  },
  "hsl": {
    "h": 265.487,
    "s": 46.502,
    "l": 52.353
  },
  "oklch": {
    "l": 0.53011,
    "c": 0.1713,
    "h": 300.2
  },
  "luminance": 0.13385
}

Semantic roles & 50–950 ramp

primary
#7D4DBE
secondary
#B7CC9B
accent
#D6529E
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #7D4DBE

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

Preview Lab → · Contrast checker → · Palette generator →

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