#7D4CC7#7D4CC7

#7D4CC7 is a mid, vivid violet. Relative luminance 0.137; OKLCH L 53.5% C 0.183 H 298.3°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#7D4CC7
RGBrgb(125, 76, 199)
HSLhsl(264, 52%, 54%)
HSVhsv(264, 62%, 78%)
CMYKcmyk(37.2%, 61.8%, 0%, 22%)
CIE-LABlab(43.73, 46.48, -56.81)
CIE-LCHlch(43.73, 73.40, 309.29°)
OKLaboklab(53.49% 0.087 -0.1616)
OKLCHoklch(53.49% 0.184 298.3)
XYZxyz(21.3481, 13.6521, 55.5321)
Luminance0.1365 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4CC7 #96C74C
analogous
#4C59C7 #7D4CC7 #BA4CC7
triadic
#7D4CC7 #C77D4C #4CC77D
tetradic
#7D4CC7 #C74C59 #96C74C #4CC7BA
square
#7D4CC7 #C74C59 #96C74C #4CC7BA
split-complementary
#7D4CC7 #C7BA4C #59C74C
monochromatic
#442474 #6033A3 #7D4CC7 #9F7BD6 #C1A9E4

Accessibility & contrast

On white

5.63
#7D4CC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#7D4CC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4CC7
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4CC7#FFFFFF#000000##FFFFFF
##7D4CC71.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CB
Deuteranopia (green-blind)
#1566C4
Tritanopia (blue-blind)
#6C6782
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7d4cc7;
/* rgb */ color: rgb(125, 76, 199);
/* oklch */ color: oklch(53.5% 0.183 298.3);
Tailwind
colors: {
  custom: {
    50: '#a780d9',
    500: '#7d4cc7',
    950: '#000000',
  },
}
SCSS
$custom: #7d4cc7;
$custom-light: #a780d9;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4cc7",
  "rgb": {
    "r": 125,
    "g": 76,
    "b": 199
  },
  "hsl": {
    "h": 263.902,
    "s": 52.34,
    "l": 53.922
  },
  "oklch": {
    "l": 0.53486,
    "c": 0.1835,
    "h": 298.3
  },
  "luminance": 0.13652
}

Semantic roles & 50–950 ramp

primary
#7D4CC7
secondary
#BDD29D
accent
#DC4CA3
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7D4CC7

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

Preview Lab → · Contrast checker → · Palette generator →

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