#7C4EBE#7C4EBE

#7C4EBE is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.1% C 0.170 H 299.5°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#7C4EBE
RGBrgb(124, 78, 190)
HSLhsl(265, 46%, 53%)
HSVhsv(265, 59%, 75%)
CMYKcmyk(34.7%, 58.9%, 0%, 25.5%)
CIE-LABlab(43.44, 42.83, -52.06)
CIE-LCHlch(43.44, 67.41, 309.44°)
OKLaboklab(53.06% 0.0836 -0.1476)
OKLCHoklch(53.06% 0.17 299.5)
XYZxyz(20.3286, 13.4514, 50.2306)
Luminance0.1345 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C4EBE #90BE4E
analogous
#4E58BE #7C4EBE #B44EBE
triadic
#7C4EBE #BE7C4E #4EBE7C
tetradic
#7C4EBE #BE4E58 #90BE4E #4EBEB4
square
#7C4EBE #BE4E58 #90BE4E #4EBEB4
split-complementary
#7C4EBE #BEB44E #58BE4E
monochromatic
#43276A #5F3897 #7C4EBE #9D7BCE #BEA8DF

Accessibility & contrast

On white

5.69
#7C4EBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#7C4EBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C4EBE
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C4EBE#FFFFFF#000000##FFFFFF
##7C4EBE1.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1166C2
Deuteranopia (green-blind)
#2966BB
Tritanopia (blue-blind)
#6E657E
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7c4ebe;
/* rgb */ color: rgb(124, 78, 190);
/* oklch */ color: oklch(53.1% 0.170 299.5);
Tailwind
colors: {
  custom: {
    50: '#a681d2',
    500: '#7c4ebe',
    950: '#000000',
  },
}
SCSS
$custom: #7c4ebe;
$custom-light: #a681d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7c4ebe",
  "rgb": {
    "r": 124,
    "g": 78,
    "b": 190
  },
  "hsl": {
    "h": 264.643,
    "s": 46.281,
    "l": 52.549
  },
  "oklch": {
    "l": 0.53057,
    "c": 0.16967,
    "h": 299.5
  },
  "luminance": 0.13452
}

Semantic roles & 50–950 ramp

primary
#7C4EBE
secondary
#B8CC9C
accent
#D652A0
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #7C4EBE

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

Preview Lab → · Contrast checker → · Palette generator →

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