#7D409C#7D409C

#7D409C is a mid, vivid violet. Relative luminance 0.104; OKLCH L 48.9% C 0.151 H 312.7°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#7D409C
RGBrgb(125, 64, 156)
HSLhsl(280, 42%, 43%)
HSVhsv(280, 59%, 61%)
CMYKcmyk(19.9%, 59%, 0%, 38.8%)
CIE-LABlab(38.60, 42.40, -39.66)
CIE-LCHlch(38.60, 58.06, 316.91°)
OKLaboklab(48.87% 0.1028 -0.1112)
OKLCHoklch(48.87% 0.151 312.7)
XYZxyz(16.2905, 10.4275, 32.6006)
Luminance0.1043 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D409C #5F9C40
analogous
#4F409C #7D409C #9C408D
triadic
#7D409C #9C7D40 #409C7D
tetradic
#7D409C #9C4F40 #5F9C40 #408D9C
square
#7D409C #9C4F40 #5F9C40 #408D9C
split-complementary
#7D409C #8D9C40 #409C4F
monochromatic
#371C45 #5A2E71 #7D409C #9C5DBC #B788CE

Accessibility & contrast

On white

6.81
#7D409C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#7D409C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D409C
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D409C#FFFFFF#000000##FFFFFF
##7D409C1.006.813.096.81
#FFFFFF6.811.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23589F
Deuteranopia (green-blind)
#3B5C9A
Tritanopia (blue-blind)
#7A5068
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7d409c;
/* rgb */ color: rgb(125, 64, 156);
/* oklch */ color: oklch(48.9% 0.151 312.7);
Tailwind
colors: {
  custom: {
    50: '#a578ba',
    500: '#7d409c',
    950: '#000000',
  },
}
SCSS
$custom: #7d409c;
$custom-light: #a578ba;
$custom-dark: #000000;
JSON
{
  "hex": "#7d409c",
  "rgb": {
    "r": 125,
    "g": 64,
    "b": 156
  },
  "hsl": {
    "h": 279.783,
    "s": 41.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.48872,
    "c": 0.15145,
    "h": 312.7
  },
  "luminance": 0.10427
}

Semantic roles & 50–950 ramp

primary
#7D409C
secondary
#92B97F
accent
#D25680
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#100911
muted
#7F7B80

Preview Lab

Preview with #7D409C

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

Preview Lab → · Contrast checker → · Palette generator →

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