#7D41D4#7D41D4

#7D41D4 is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 53.0% C 0.213 H 297.2°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#7D41D4
RGBrgb(125, 65, 212)
HSLhsl(264, 63%, 54%)
HSVhsv(264, 69%, 83%)
CMYKcmyk(41%, 69.3%, 0%, 16.9%)
CIE-LABlab(42.60, 55.46, -66.14)
CIE-LCHlch(42.60, 86.31, 309.98°)
OKLaboklab(52.97% 0.0973 -0.189)
OKLCHoklch(52.97% 0.213 297.2)
XYZxyz(22.2283, 12.8936, 63.5922)
Luminance0.1289 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D41D4 #98D441
analogous
#414FD4 #7D41D4 #C741D4
triadic
#7D41D4 #D47D41 #41D47D
tetradic
#7D41D4 #D4414F #98D441 #41D4C7
square
#7D41D4 #D4414F #98D441 #41D4C7
split-complementary
#7D41D4 #D4C741 #4FD441
monochromatic
#441D7E #5F28B0 #7D41D4 #9F73DF #C1A5EB

Accessibility & contrast

On white

5.87
#7D41D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#7D41D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D41D4
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D41D4#FFFFFF#000000##FFFFFF
##7D41D41.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D8
Deuteranopia (green-blind)
#0063D1
Tritanopia (blue-blind)
#676586
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7d41d4;
/* rgb */ color: rgb(125, 65, 212);
/* oklch */ color: oklch(53.0% 0.213 297.2);
Tailwind
colors: {
  custom: {
    50: '#a97ae2',
    500: '#7d41d4',
    950: '#000000',
  },
}
SCSS
$custom: #7d41d4;
$custom-light: #a97ae2;
$custom-dark: #000000;
JSON
{
  "hex": "#7d41d4",
  "rgb": {
    "r": 125,
    "g": 65,
    "b": 212
  },
  "hsl": {
    "h": 264.49,
    "s": 63.09,
    "l": 54.314
  },
  "oklch": {
    "l": 0.5297,
    "c": 0.21252,
    "h": 297.2
  },
  "luminance": 0.12894
}

Semantic roles & 50–950 ramp

primary
#7D41D4
secondary
#BED899
accent
#E642A3
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110915
muted
#807B84

Preview Lab

Preview with #7D41D4

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

Preview Lab → · Contrast checker → · Palette generator →

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