#7D409D#7D409D

#7D409D is a mid, vivid violet. Relative luminance 0.105; OKLCH L 48.9% C 0.153 H 312.4°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#7D409D
RGBrgb(125, 64, 157)
HSLhsl(279, 42%, 43%)
HSVhsv(279, 59%, 62%)
CMYKcmyk(20.4%, 59.2%, 0%, 38.4%)
CIE-LABlab(38.66, 42.62, -40.17)
CIE-LCHlch(38.66, 58.57, 316.70°)
OKLaboklab(48.93% 0.1028 -0.1127)
OKLCHoklch(48.93% 0.153 312.4)
XYZxyz(16.3756, 10.4615, 33.0484)
Luminance0.1046 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D409D #609D40
analogous
#4E409D #7D409D #9D408E
triadic
#7D409D #9D7D40 #409D7D
tetradic
#7D409D #9D4E40 #609D40 #408E9D
square
#7D409D #9D4E40 #609D40 #408E9D
split-complementary
#7D409D #8E9D40 #409D4E
monochromatic
#381D46 #5A2E72 #7D409D #9C5DBD #B789CF

Accessibility & contrast

On white

6.79
#7D409D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7D409D
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D409D#FFFFFF#000000##FFFFFF
##7D409D1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2258A0
Deuteranopia (green-blind)
#3A5C9B
Tritanopia (blue-blind)
#7A5168
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7d409d;
/* rgb */ color: rgb(125, 64, 157);
/* oklch */ color: oklch(48.9% 0.153 312.4);
Tailwind
colors: {
  custom: {
    50: '#a578ba',
    500: '#7d409d',
    950: '#000000',
  },
}
SCSS
$custom: #7d409d;
$custom-light: #a578ba;
$custom-dark: #000000;
JSON
{
  "hex": "#7d409d",
  "rgb": {
    "r": 125,
    "g": 64,
    "b": 157
  },
  "hsl": {
    "h": 279.355,
    "s": 42.081,
    "l": 43.333
  },
  "oklch": {
    "l": 0.48934,
    "c": 0.15257,
    "h": 312.4
  },
  "luminance": 0.10461
}

Semantic roles & 50–950 ramp

primary
#7D409D
secondary
#93B97F
accent
#D25681
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#100912
muted
#7F7B81

Preview Lab

Preview with #7D409D

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

Preview Lab → · Contrast checker → · Palette generator →

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