#7D419D#7D419D

#7D419D is a mid, vivid violet. Relative luminance 0.106; OKLCH L 49.1% C 0.151 H 312.2°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#7D419D
RGBrgb(125, 65, 157)
HSLhsl(279, 41%, 44%)
HSVhsv(279, 59%, 62%)
CMYKcmyk(20.4%, 58.6%, 0%, 38.4%)
CIE-LABlab(38.86, 42.10, -39.86)
CIE-LCHlch(38.86, 57.97, 316.57°)
OKLaboklab(49.08% 0.1015 -0.1118)
OKLCHoklch(49.08% 0.151 312.2)
XYZxyz(16.4325, 10.5753, 33.0674)
Luminance0.1057 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D419D #619D41
analogous
#4F419D #7D419D #9D418F
triadic
#7D419D #9D7D41 #419D7D
tetradic
#7D419D #9D4F41 #619D41 #418F9D
square
#7D419D #9D4F41 #619D41 #418F9D
split-complementary
#7D419D #8F9D41 #419D4F
monochromatic
#381D46 #5B2F72 #7D419D #9C5FBD #B78ACF

Accessibility & contrast

On white

6.74
#7D419D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#7D419D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D419D
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D419D#FFFFFF#000000##FFFFFF
##7D419D1.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2458A0
Deuteranopia (green-blind)
#3B5D9B
Tritanopia (blue-blind)
#7A5169
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7d419d;
/* rgb */ color: rgb(125, 65, 157);
/* oklch */ color: oklch(49.1% 0.151 312.2);
Tailwind
colors: {
  custom: {
    50: '#a578ba',
    500: '#7d419d',
    950: '#000000',
  },
}
SCSS
$custom: #7d419d;
$custom-light: #a578ba;
$custom-dark: #000000;
JSON
{
  "hex": "#7d419d",
  "rgb": {
    "r": 125,
    "g": 65,
    "b": 157
  },
  "hsl": {
    "h": 279.13,
    "s": 41.441,
    "l": 43.529
  },
  "oklch": {
    "l": 0.49078,
    "c": 0.15099,
    "h": 312.2
  },
  "luminance": 0.10575
}

Semantic roles & 50–950 ramp

primary
#7D419D
secondary
#94B980
accent
#D15781
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#100912
muted
#7F7B81

Preview Lab

Preview with #7D419D

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

Preview Lab → · Contrast checker → · Palette generator →

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