#7C4CBE#7C4CBE

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

Color values

HEX#7C4CBE
RGBrgb(124, 76, 190)
HSLhsl(265, 47%, 52%)
HSVhsv(265, 60%, 75%)
CMYKcmyk(34.7%, 60%, 0%, 25.5%)
CIE-LABlab(43.02, 43.93, -52.73)
CIE-LCHlch(43.02, 68.63, 309.80°)
OKLaboklab(52.75% 0.0861 -0.1496)
OKLCHoklch(52.75% 0.173 299.9)
XYZxyz(20.1886, 13.1715, 50.1839)
Luminance0.1317 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C4CBE #8EBE4C
analogous
#4C55BE #7C4CBE #B54CBE
triadic
#7C4CBE #BE7C4C #4CBE7C
tetradic
#7C4CBE #BE4C55 #8EBE4C #4CBEB5
square
#7C4CBE #BE4C55 #8EBE4C #4CBEB5
split-complementary
#7C4CBE #BEB54C #55BE4C
monochromatic
#432669 #5F3796 #7C4CBE #9D79CE #BEA6DF

Accessibility & contrast

On white

5.78
#7C4CBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#7C4CBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C4CBE
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C4CBE#FFFFFF#000000##FFFFFF
##7C4CBE1.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0465C2
Deuteranopia (green-blind)
#2565BB
Tritanopia (blue-blind)
#6E647E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7c4cbe;
/* rgb */ color: rgb(124, 76, 190);
/* oklch */ color: oklch(52.8% 0.173 299.9);
Tailwind
colors: {
  custom: {
    50: '#a680d2',
    500: '#7c4cbe',
    950: '#000000',
  },
}
SCSS
$custom: #7c4cbe;
$custom-light: #a680d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7c4cbe",
  "rgb": {
    "r": 124,
    "g": 76,
    "b": 190
  },
  "hsl": {
    "h": 265.263,
    "s": 46.721,
    "l": 52.157
  },
  "oklch": {
    "l": 0.52754,
    "c": 0.17258,
    "h": 299.9
  },
  "luminance": 0.13172
}

Semantic roles & 50–950 ramp

primary
#7C4CBE
secondary
#B7CC9A
accent
#D6519E
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #7C4CBE

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

Preview Lab → · Contrast checker → · Palette generator →

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