#7D41A2#7D41A2

#7D41A2 is a mid, vivid violet. Relative luminance 0.107; OKLCH L 49.4% C 0.157 H 310.4°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#7D41A2
RGBrgb(125, 65, 162)
HSLhsl(277, 43%, 45%)
HSVhsv(277, 60%, 64%)
CMYKcmyk(22.8%, 59.9%, 0%, 36.5%)
CIE-LABlab(39.16, 43.24, -42.38)
CIE-LCHlch(39.16, 60.55, 315.58°)
OKLaboklab(49.39% 0.1016 -0.1192)
OKLCHoklch(49.39% 0.157 310.4)
XYZxyz(16.8681, 10.7495, 35.3617)
Luminance0.1075 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D41A2 #66A241
analogous
#4C41A2 #7D41A2 #A24197
triadic
#7D41A2 #A27D41 #41A27D
tetradic
#7D41A2 #A24C41 #66A241 #4197A2
square
#7D41A2 #A24C41 #66A241 #4197A2
split-complementary
#7D41A2 #97A241 #41A24C
monochromatic
#3A1E4B #5B2F76 #7D41A2 #9B61BF #B78CD1

Accessibility & contrast

On white

6.67
#7D41A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#7D41A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D41A2
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D41A2#FFFFFF#000000##FFFFFF
##7D41A21.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E59A5
Deuteranopia (green-blind)
#375DA0
Tritanopia (blue-blind)
#78536B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7d41a2;
/* rgb */ color: rgb(125, 65, 162);
/* oklch */ color: oklch(49.4% 0.157 310.4);
Tailwind
colors: {
  custom: {
    50: '#a579be',
    500: '#7d41a2',
    950: '#000000',
  },
}
SCSS
$custom: #7d41a2;
$custom-light: #a579be;
$custom-dark: #000000;
JSON
{
  "hex": "#7d41a2",
  "rgb": {
    "r": 125,
    "g": 65,
    "b": 162
  },
  "hsl": {
    "h": 277.113,
    "s": 42.731,
    "l": 44.51
  },
  "oklch": {
    "l": 0.49394,
    "c": 0.1566,
    "h": 310.4
  },
  "luminance": 0.10749
}

Semantic roles & 50–950 ramp

primary
#7D41A2
secondary
#99BC83
accent
#D35585
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#100912
muted
#7F7B81

Preview Lab

Preview with #7D41A2

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

Preview Lab → · Contrast checker → · Palette generator →

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