#7D4CCD#7D4CCD

#7D4CCD is a mid, vivid violet. Relative luminance 0.139; OKLCH L 53.9% C 0.191 H 297.0°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#7D4CCD
RGBrgb(125, 76, 205)
HSLhsl(263, 56%, 55%)
HSVhsv(263, 63%, 80%)
CMYKcmyk(39%, 62.9%, 0%, 19.6%)
CIE-LABlab(44.14, 48.04, -59.61)
CIE-LCHlch(44.14, 76.56, 308.86°)
OKLaboklab(53.92% 0.0866 -0.1698)
OKLCHoklch(53.92% 0.191 297)
XYZxyz(22.0585, 13.9363, 59.2736)
Luminance0.1394 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4CCD #9CCD4C
analogous
#4C5BCD #7D4CCD #BE4CCD
triadic
#7D4CCD #CD7D4C #4CCD7D
tetradic
#7D4CCD #CD4C5B #9CCD4C #4CCDBE
square
#7D4CCD #CD4C5B #9CCD4C #4CCDBE
split-complementary
#7D4CCD #CDBE4C #5BCD4C
monochromatic
#45237C #5F30AC #7D4CCD #A07CDA #C2ACE8

Accessibility & contrast

On white

5.54
#7D4CCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#7D4CCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4CCD
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4CCD#FFFFFF#000000##FFFFFF
##7D4CCD1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D1
Deuteranopia (green-blind)
#0067CA
Tritanopia (blue-blind)
#6A6985
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7d4ccd;
/* rgb */ color: rgb(125, 76, 205);
/* oklch */ color: oklch(53.9% 0.191 297.0);
Tailwind
colors: {
  custom: {
    50: '#a881dd',
    500: '#7d4ccd',
    950: '#000000',
  },
}
SCSS
$custom: #7d4ccd;
$custom-light: #a881dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4ccd",
  "rgb": {
    "r": 125,
    "g": 76,
    "b": 205
  },
  "hsl": {
    "h": 262.791,
    "s": 56.332,
    "l": 55.098
  },
  "oklch": {
    "l": 0.53916,
    "c": 0.1906,
    "h": 297
  },
  "luminance": 0.13937
}

Semantic roles & 50–950 ramp

primary
#7D4CCD
secondary
#C1D59F
accent
#E048A6
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7D4CCD

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

Preview Lab → · Contrast checker → · Palette generator →

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