#7D4DBD#7D4DBD

#7D4DBD is a mid, vivid violet. Relative luminance 0.133; OKLCH L 52.9% C 0.170 H 300.4°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#7D4DBD
RGBrgb(125, 77, 189)
HSLhsl(266, 46%, 52%)
HSVhsv(266, 59%, 74%)
CMYKcmyk(33.9%, 59.3%, 0%, 25.9%)
CIE-LABlab(43.27, 43.36, -51.73)
CIE-LCHlch(43.27, 67.50, 309.97°)
OKLaboklab(52.94% 0.0862 -0.1466)
OKLCHoklch(52.94% 0.17 300.4)
XYZxyz(20.2944, 13.3417, 49.6403)
Luminance0.1334 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4DBD #8DBD4D
analogous
#4D55BD #7D4DBD #B54DBD
triadic
#7D4DBD #BD7D4D #4DBD7D
tetradic
#7D4DBD #BD4D55 #8DBD4D #4DBDB5
square
#7D4DBD #BD4D55 #8DBD4D #4DBDB5
split-complementary
#7D4DBD #BDB54D #55BD4D
monochromatic
#432769 #603795 #7D4DBD #9E7ACE #BEA6DE

Accessibility & contrast

On white

5.72
#7D4DBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#7D4DBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4DBD
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4DBD#FFFFFF#000000##FFFFFF
##7D4DBD1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1066C1
Deuteranopia (green-blind)
#2A65BA
Tritanopia (blue-blind)
#70647E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7d4dbd;
/* rgb */ color: rgb(125, 77, 189);
/* oklch */ color: oklch(52.9% 0.170 300.4);
Tailwind
colors: {
  custom: {
    50: '#a781d1',
    500: '#7d4dbd',
    950: '#000000',
  },
}
SCSS
$custom: #7d4dbd;
$custom-light: #a781d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4dbd",
  "rgb": {
    "r": 125,
    "g": 77,
    "b": 189
  },
  "hsl": {
    "h": 265.714,
    "s": 45.902,
    "l": 52.157
  },
  "oklch": {
    "l": 0.52944,
    "c": 0.1701,
    "h": 300.4
  },
  "luminance": 0.13342
}

Semantic roles & 50–950 ramp

primary
#7D4DBD
secondary
#B6CB9A
accent
#D6529D
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#100A14
muted
#7F7C82

Preview Lab

Preview with #7D4DBD

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

Preview Lab → · Contrast checker → · Palette generator →

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