#7D4DC2#7D4DC2

#7D4DC2 is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.3% C 0.176 H 299.2°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#7D4DC2
RGBrgb(125, 77, 194)
HSLhsl(265, 49%, 53%)
HSVhsv(265, 60%, 76%)
CMYKcmyk(35.6%, 60.3%, 0%, 23.9%)
CIE-LABlab(43.60, 44.64, -54.12)
CIE-LCHlch(43.60, 70.16, 309.52°)
OKLaboklab(53.29% 0.0861 -0.1537)
OKLCHoklch(53.29% 0.176 299.2)
XYZxyz(20.8465, 13.5626, 52.5480)
Luminance0.1356 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4DC2 #92C24D
analogous
#4D57C2 #7D4DC2 #B74DC2
triadic
#7D4DC2 #C27D4D #4DC27D
tetradic
#7D4DC2 #C24D57 #92C24D #4DC2B7
square
#7D4DC2 #C24D57 #92C24D #4DC2B7
split-complementary
#7D4DC2 #C2B74D #57C24D
monochromatic
#44266F #60369C #7D4DC2 #9E7BD2 #C0A8E1

Accessibility & contrast

On white

5.66
#7D4DC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#7D4DC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4DC2
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4DC2#FFFFFF#000000##FFFFFF
##7D4DC21.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067C6
Deuteranopia (green-blind)
#2266BF
Tritanopia (blue-blind)
#6E6680
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7d4dc2;
/* rgb */ color: rgb(125, 77, 194);
/* oklch */ color: oklch(53.3% 0.176 299.2);
Tailwind
colors: {
  custom: {
    50: '#a781d5',
    500: '#7d4dc2',
    950: '#000000',
  },
}
SCSS
$custom: #7d4dc2;
$custom-light: #a781d5;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4dc2",
  "rgb": {
    "r": 125,
    "g": 77,
    "b": 194
  },
  "hsl": {
    "h": 264.615,
    "s": 48.954,
    "l": 53.137
  },
  "oklch": {
    "l": 0.53285,
    "c": 0.17611,
    "h": 299.2
  },
  "luminance": 0.13563
}

Semantic roles & 50–950 ramp

primary
#7D4DC2
secondary
#BACF9C
accent
#D94FA0
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #7D4DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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