#7C4EBD#7C4EBD

#7C4EBD is a mid, vivid violet. Relative luminance 0.134; OKLCH L 53.0% C 0.168 H 299.8°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#7C4EBD
RGBrgb(124, 78, 189)
HSLhsl(265, 46%, 52%)
HSVhsv(265, 59%, 74%)
CMYKcmyk(34.4%, 58.7%, 0%, 25.9%)
CIE-LABlab(43.37, 42.57, -51.58)
CIE-LCHlch(43.37, 66.88, 309.53°)
OKLaboklab(52.99% 0.0836 -0.1462)
OKLCHoklch(52.99% 0.168 299.8)
XYZxyz(20.2197, 13.4078, 49.6570)
Luminance0.1341 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C4EBD #8FBD4E
analogous
#4E57BD #7C4EBD #B44EBD
triadic
#7C4EBD #BD7C4E #4EBD7C
tetradic
#7C4EBD #BD4E57 #8FBD4E #4EBDB4
square
#7C4EBD #BD4E57 #8FBD4E #4EBDB4
split-complementary
#7C4EBD #BDB44E #57BD4E
monochromatic
#432769 #5F3896 #7C4EBD #9D7BCE #BEA7DE

Accessibility & contrast

On white

5.70
#7C4EBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#7C4EBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C4EBD
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C4EBD#FFFFFF#000000##FFFFFF
##7C4EBD1.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1366C1
Deuteranopia (green-blind)
#2A66BA
Tritanopia (blue-blind)
#6E657E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7c4ebd;
/* rgb */ color: rgb(124, 78, 189);
/* oklch */ color: oklch(53.0% 0.168 299.8);
Tailwind
colors: {
  custom: {
    50: '#a681d1',
    500: '#7c4ebd',
    950: '#000000',
  },
}
SCSS
$custom: #7c4ebd;
$custom-light: #a681d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7c4ebd",
  "rgb": {
    "r": 124,
    "g": 78,
    "b": 189
  },
  "hsl": {
    "h": 264.865,
    "s": 45.679,
    "l": 52.353
  },
  "oklch": {
    "l": 0.5299,
    "c": 0.16845,
    "h": 299.8
  },
  "luminance": 0.13408
}

Semantic roles & 50–950 ramp

primary
#7C4EBD
secondary
#B8CC9B
accent
#D5529F
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#100A14
muted
#7F7C82

Preview Lab

Preview with #7C4EBD

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

Preview Lab → · Contrast checker → · Palette generator →

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