#7C409D#7C409D

#7C409D is a mid, vivid violet. Relative luminance 0.104; OKLCH L 48.8% C 0.152 H 311.8°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#7C409D
RGBrgb(124, 64, 157)
HSLhsl(279, 42%, 43%)
HSVhsv(279, 59%, 62%)
CMYKcmyk(21%, 59.2%, 0%, 38.4%)
CIE-LABlab(38.53, 42.36, -40.39)
CIE-LCHlch(38.53, 58.53, 316.37°)
OKLaboklab(48.81% 0.1015 -0.1134)
OKLCHoklch(48.81% 0.152 311.8)
XYZxyz(16.2303, 10.3866, 33.0416)
Luminance0.1039 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C409D #619D40
analogous
#4E409D #7C409D #9D408F
triadic
#7C409D #9D7C40 #409D7C
tetradic
#7C409D #9D4E40 #619D40 #408F9D
square
#7C409D #9D4E40 #619D40 #408F9D
split-complementary
#7C409D #8F9D40 #409D4E
monochromatic
#371D46 #5A2E72 #7C409D #9B5DBD #B689CF

Accessibility & contrast

On white

6.82
#7C409D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#7C409D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C409D
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C409D#FFFFFF#000000##FFFFFF
##7C409D1.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2158A0
Deuteranopia (green-blind)
#395C9B
Tritanopia (blue-blind)
#785168
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7c409d;
/* rgb */ color: rgb(124, 64, 157);
/* oklch */ color: oklch(48.8% 0.152 311.8);
Tailwind
colors: {
  custom: {
    50: '#a578ba',
    500: '#7c409d',
    950: '#000000',
  },
}
SCSS
$custom: #7c409d;
$custom-light: #a578ba;
$custom-dark: #000000;
JSON
{
  "hex": "#7c409d",
  "rgb": {
    "r": 124,
    "g": 64,
    "b": 157
  },
  "hsl": {
    "h": 278.71,
    "s": 42.081,
    "l": 43.333
  },
  "oklch": {
    "l": 0.4881,
    "c": 0.15218,
    "h": 311.8
  },
  "luminance": 0.10386
}

Semantic roles & 50–950 ramp

primary
#7C409D
secondary
#94B97F
accent
#D25682
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#0F0912
muted
#7F7B81

Preview Lab

Preview with #7C409D

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

Preview Lab → · Contrast checker → · Palette generator →

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