#7C4E95#7C4E95

#7C4E95 is a mid, moderate violet. Relative luminance 0.119; OKLCH L 50.5% C 0.119 H 312.7°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#7C4E95
RGBrgb(124, 78, 149)
HSLhsl(279, 31%, 45%)
HSVhsv(279, 48%, 58%)
CMYKcmyk(16.8%, 47.7%, 0%, 41.6%)
CIE-LABlab(41.06, 32.74, -31.55)
CIE-LCHlch(41.06, 45.47, 316.06°)
OKLaboklab(50.54% 0.0809 -0.0877)
OKLCHoklch(50.54% 0.119 312.7)
XYZxyz(16.4605, 11.9041, 29.8586)
Luminance0.1190 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C4E95 #67954E
analogous
#584E95 #7C4E95 #954E8B
triadic
#7C4E95 #957C4E #4E957C
tetradic
#7C4E95 #95584E #67954E #4E8B95
square
#7C4E95 #95584E #67954E #4E8B95
split-complementary
#7C4E95 #8B954E #4E9558
monochromatic
#392445 #5B396D #7C4E95 #9A6DB3 #B696C8

Accessibility & contrast

On white

6.21
#7C4E95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#7C4E95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C4E95
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C4E95#FFFFFF#000000##FFFFFF
##7C4E951.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5E97
Deuteranopia (green-blind)
#4B6293
Tritanopia (blue-blind)
#7A596A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7c4e95;
/* rgb */ color: rgb(124, 78, 149);
/* oklch */ color: oklch(50.5% 0.119 312.7);
Tailwind
colors: {
  custom: {
    50: '#a381b4',
    500: '#7c4e95',
    950: '#000000',
  },
}
SCSS
$custom: #7c4e95;
$custom-light: #a381b4;
$custom-dark: #000000;
JSON
{
  "hex": "#7c4e95",
  "rgb": {
    "r": 124,
    "g": 78,
    "b": 149
  },
  "hsl": {
    "h": 278.873,
    "s": 31.278,
    "l": 44.51
  },
  "oklch": {
    "l": 0.50539,
    "c": 0.11932,
    "h": 312.7
  },
  "luminance": 0.11904
}

Semantic roles & 50–950 ramp

primary
#7C4E95
secondary
#99B48A
accent
#C76085
background
#FAF7FB
surface
#F4EEF6
border
#CEC9D0
text
#0F0A11
muted
#7F7C80

Preview Lab

Preview with #7C4E95

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

Preview Lab → · Contrast checker → · Palette generator →

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