#7D4CBE#7D4CBE

#7D4CBE is a mid, vivid violet. Relative luminance 0.132; OKLCH L 52.9% C 0.173 H 300.4°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#7D4CBE
RGBrgb(125, 76, 190)
HSLhsl(266, 47%, 52%)
HSVhsv(266, 60%, 75%)
CMYKcmyk(34.2%, 60%, 0%, 25.5%)
CIE-LABlab(43.13, 44.16, -52.54)
CIE-LCHlch(43.13, 68.64, 310.05°)
OKLaboklab(52.86% 0.0874 -0.149)
OKLCHoklch(52.86% 0.173 300.4)
XYZxyz(20.3339, 13.2464, 50.1908)
Luminance0.1325 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4CBE #8DBE4C
analogous
#4C54BE #7D4CBE #B64CBE
triadic
#7D4CBE #BE7D4C #4CBE7D
tetradic
#7D4CBE #BE4C54 #8DBE4C #4CBEB6
square
#7D4CBE #BE4C54 #8DBE4C #4CBEB6
split-complementary
#7D4CBE #BEB64C #54BE4C
monochromatic
#432669 #603796 #7D4CBE #9E79CE #BEA6DF

Accessibility & contrast

On white

5.75
#7D4CBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#7D4CBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4CBE
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4CBE#FFFFFF#000000##FFFFFF
##7D4CBE1.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0665C2
Deuteranopia (green-blind)
#2765BB
Tritanopia (blue-blind)
#6F647E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7d4cbe;
/* rgb */ color: rgb(125, 76, 190);
/* oklch */ color: oklch(52.9% 0.173 300.4);
Tailwind
colors: {
  custom: {
    50: '#a780d2',
    500: '#7d4cbe',
    950: '#000000',
  },
}
SCSS
$custom: #7d4cbe;
$custom-light: #a780d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4cbe",
  "rgb": {
    "r": 125,
    "g": 76,
    "b": 190
  },
  "hsl": {
    "h": 265.789,
    "s": 46.721,
    "l": 52.157
  },
  "oklch": {
    "l": 0.52861,
    "c": 0.17276,
    "h": 300.4
  },
  "luminance": 0.13247
}

Semantic roles & 50–950 ramp

primary
#7D4CBE
secondary
#B6CC9A
accent
#D6519D
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #7D4CBE

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

Preview Lab → · Contrast checker → · Palette generator →

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