#7D4CC0#7D4CC0

#7D4CC0 is a mid, vivid violet. Relative luminance 0.133; OKLCH L 53.0% C 0.175 H 299.9°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#7D4CC0
RGBrgb(125, 76, 192)
HSLhsl(265, 48%, 53%)
HSVhsv(265, 60%, 75%)
CMYKcmyk(34.9%, 60.4%, 0%, 24.7%)
CIE-LABlab(43.26, 44.67, -53.50)
CIE-LCHlch(43.26, 69.70, 309.86°)
OKLaboklab(53% 0.0873 -0.1518)
OKLCHoklch(53% 0.175 299.9)
XYZxyz(20.5540, 13.3345, 51.3499)
Luminance0.1333 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4CC0 #8FC04C
analogous
#4C55C0 #7D4CC0 #B74CC0
triadic
#7D4CC0 #C07D4C #4CC07D
tetradic
#7D4CC0 #C04C55 #8FC04C #4CC0B7
square
#7D4CC0 #C04C55 #8FC04C #4CC0B7
split-complementary
#7D4CC0 #C0B74C #55C04C
monochromatic
#43266C #603699 #7D4CC0 #9E79D0 #BFA7E0

Accessibility & contrast

On white

5.73
#7D4CC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7D4CC0
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4CC0#FFFFFF#000000##FFFFFF
##7D4CC01.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C4
Deuteranopia (green-blind)
#2465BD
Tritanopia (blue-blind)
#6F657F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7d4cc0;
/* rgb */ color: rgb(125, 76, 192);
/* oklch */ color: oklch(53.0% 0.175 299.9);
Tailwind
colors: {
  custom: {
    50: '#a780d4',
    500: '#7d4cc0',
    950: '#000000',
  },
}
SCSS
$custom: #7d4cc0;
$custom-light: #a780d4;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4cc0",
  "rgb": {
    "r": 125,
    "g": 76,
    "b": 192
  },
  "hsl": {
    "h": 265.345,
    "s": 47.934,
    "l": 52.549
  },
  "oklch": {
    "l": 0.52998,
    "c": 0.17515,
    "h": 299.9
  },
  "luminance": 0.13335
}

Semantic roles & 50–950 ramp

primary
#7D4CC0
secondary
#B8CD9B
accent
#D8509E
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #7D4CC0

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

Preview Lab → · Contrast checker → · Palette generator →

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