#7D419C#7D419C

#7D419C is a mid, vivid violet. Relative luminance 0.105; OKLCH L 49.0% C 0.150 H 312.6°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#7D419C
RGBrgb(125, 65, 156)
HSLhsl(280, 41%, 43%)
HSVhsv(280, 58%, 61%)
CMYKcmyk(19.9%, 58.3%, 0%, 38.8%)
CIE-LABlab(38.80, 41.87, -39.35)
CIE-LCHlch(38.80, 57.45, 316.78°)
OKLaboklab(49.02% 0.1015 -0.1103)
OKLCHoklch(49.02% 0.15 312.6)
XYZxyz(16.3474, 10.5413, 32.6196)
Luminance0.1054 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D419C #609C41
analogous
#4F419C #7D419C #9C418D
triadic
#7D419C #9C7D41 #419C7D
tetradic
#7D419C #9C4F41 #609C41 #418D9C
square
#7D419C #9C4F41 #609C41 #418D9C
split-complementary
#7D419C #8D9C41 #419C4F
monochromatic
#381D46 #5A2F71 #7D419C #9C5EBC #B789CE

Accessibility & contrast

On white

6.76
#7D419C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#7D419C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D419C
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D419C#FFFFFF#000000##FFFFFF
##7D419C1.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25589F
Deuteranopia (green-blind)
#3C5D9A
Tritanopia (blue-blind)
#7A5168
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7d419c;
/* rgb */ color: rgb(125, 65, 156);
/* oklch */ color: oklch(49.0% 0.150 312.6);
Tailwind
colors: {
  custom: {
    50: '#a578ba',
    500: '#7d419c',
    950: '#000000',
  },
}
SCSS
$custom: #7d419c;
$custom-light: #a578ba;
$custom-dark: #000000;
JSON
{
  "hex": "#7d419c",
  "rgb": {
    "r": 125,
    "g": 65,
    "b": 156
  },
  "hsl": {
    "h": 279.56,
    "s": 41.176,
    "l": 43.333
  },
  "oklch": {
    "l": 0.49016,
    "c": 0.14987,
    "h": 312.6
  },
  "luminance": 0.10541
}

Semantic roles & 50–950 ramp

primary
#7D419C
secondary
#93B980
accent
#D15780
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#100911
muted
#7F7B80

Preview Lab

Preview with #7D419C

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

Preview Lab → · Contrast checker → · Palette generator →

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