#7D4DCD#7D4DCD

#7D4DCD is a mid, vivid violet. Relative luminance 0.141; OKLCH L 54.1% C 0.189 H 296.8°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#7D4DCD
RGBrgb(125, 77, 205)
HSLhsl(263, 56%, 55%)
HSVhsv(263, 62%, 80%)
CMYKcmyk(39%, 62.4%, 0%, 19.6%)
CIE-LABlab(44.34, 47.50, -59.29)
CIE-LCHlch(44.34, 75.97, 308.70°)
OKLaboklab(54.06% 0.0855 -0.1689)
OKLCHoklch(54.06% 0.189 296.8)
XYZxyz(22.1279, 14.0751, 59.2967)
Luminance0.1408 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4DCD #9DCD4D
analogous
#4D5DCD #7D4DCD #BD4DCD
triadic
#7D4DCD #CD7D4D #4DCD7D
tetradic
#7D4DCD #CD4D5D #9DCD4D #4DCDBD
square
#7D4DCD #CD4D5D #9DCD4D #4DCDBD
split-complementary
#7D4DCD #CDBD4D #5DCD4D
monochromatic
#45237D #5F30AC #7D4DCD #A07DDA #C3ADE8

Accessibility & contrast

On white

5.50
#7D4DCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#7D4DCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4DCD
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4DCD#FFFFFF#000000##FFFFFF
##7D4DCD1.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D1
Deuteranopia (green-blind)
#0067CA
Tritanopia (blue-blind)
#696A86
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7d4dcd;
/* rgb */ color: rgb(125, 77, 205);
/* oklch */ color: oklch(54.1% 0.189 296.8);
Tailwind
colors: {
  custom: {
    50: '#a881dd',
    500: '#7d4dcd',
    950: '#000000',
  },
}
SCSS
$custom: #7d4dcd;
$custom-light: #a881dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4dcd",
  "rgb": {
    "r": 125,
    "g": 77,
    "b": 205
  },
  "hsl": {
    "h": 262.5,
    "s": 56.14,
    "l": 55.294
  },
  "oklch": {
    "l": 0.5406,
    "c": 0.18925,
    "h": 296.8
  },
  "luminance": 0.14076
}

Semantic roles & 50–950 ramp

primary
#7D4DCD
secondary
#C2D6A0
accent
#DF48A7
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7D4DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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