#7C4E9F#7C4E9F

#7C4E9F is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.1% C 0.132 H 308.7°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#7C4E9F
RGBrgb(124, 78, 159)
HSLhsl(274, 34%, 46%)
HSVhsv(274, 51%, 62%)
CMYKcmyk(22%, 50.9%, 0%, 37.6%)
CIE-LABlab(41.59, 35.09, -36.72)
CIE-LCHlch(41.59, 50.79, 313.70°)
OKLaboklab(51.1% 0.0822 -0.1027)
OKLCHoklch(51.1% 0.132 308.7)
XYZxyz(17.2934, 12.2373, 34.2452)
Luminance0.1224 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C4E9F #719F4E
analogous
#544E9F #7C4E9F #9F4E9A
triadic
#7C4E9F #9F7C4E #4E9F7C
tetradic
#7C4E9F #9F544E #719F4E #4E9A9F
square
#7C4E9F #9F544E #719F4E #4E9A9F
split-complementary
#7C4E9F #9A9F4E #4E9F54
monochromatic
#3C264D #5C3A76 #7C4E9F #9A71B9 #B79ACD

Accessibility & contrast

On white

6.09
#7C4E9F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#7C4E9F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C4E9F
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C4E9F#FFFFFF#000000##FFFFFF
##7C4E9F1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3860A2
Deuteranopia (green-blind)
#46639D
Tritanopia (blue-blind)
#775C6F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7c4e9f;
/* rgb */ color: rgb(124, 78, 159);
/* oklch */ color: oklch(51.1% 0.132 308.7);
Tailwind
colors: {
  custom: {
    50: '#a481bc',
    500: '#7c4e9f',
    950: '#000000',
  },
}
SCSS
$custom: #7c4e9f;
$custom-light: #a481bc;
$custom-dark: #000000;
JSON
{
  "hex": "#7c4e9f",
  "rgb": {
    "r": 124,
    "g": 78,
    "b": 159
  },
  "hsl": {
    "h": 274.074,
    "s": 34.177,
    "l": 46.471
  },
  "oklch": {
    "l": 0.51103,
    "c": 0.13157,
    "h": 308.7
  },
  "luminance": 0.12237
}

Semantic roles & 50–950 ramp

primary
#7C4E9F
secondary
#A1BA8F
accent
#CA5E8D
background
#FAF7FB
surface
#F4EEF6
border
#CEC9D0
text
#0F0A12
muted
#7F7C81

Preview Lab

Preview with #7C4E9F

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

Preview Lab → · Contrast checker → · Palette generator →

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