#7D41D5#7D41D5

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

Color values

HEX#7D41D5
RGBrgb(125, 65, 213)
HSLhsl(264, 64%, 55%)
HSVhsv(264, 69%, 84%)
CMYKcmyk(41.3%, 69.5%, 0%, 16.5%)
CIE-LABlab(42.68, 55.71, -66.59)
CIE-LCHlch(42.68, 86.82, 309.92°)
OKLaboklab(53.05% 0.0971 -0.1903)
OKLCHoklch(53.05% 0.214 297)
XYZxyz(22.3549, 12.9442, 64.2586)
Luminance0.1295 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D41D5 #99D541
analogous
#414FD5 #7D41D5 #C741D5
triadic
#7D41D5 #D57D41 #41D57D
tetradic
#7D41D5 #D5414F #99D541 #41D5C7
square
#7D41D5 #D5414F #99D541 #41D5C7
split-complementary
#7D41D5 #D5C741 #4FD541
monochromatic
#441C7F #5F27B2 #7D41D5 #9F73E0 #C2A5EB

Accessibility & contrast

On white

5.85
#7D41D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#7D41D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D41D5
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D41D5#FFFFFF#000000##FFFFFF
##7D41D51.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d41d5;
/* rgb */ color: rgb(125, 65, 213);
/* oklch */ color: oklch(53.0% 0.214 297.0);
Tailwind
colors: {
  custom: {
    50: '#a97ae3',
    500: '#7d41d5',
    950: '#000000',
  },
}
SCSS
$custom: #7d41d5;
$custom-light: #a97ae3;
$custom-dark: #000000;
JSON
{
  "hex": "#7d41d5",
  "rgb": {
    "r": 125,
    "g": 65,
    "b": 213
  },
  "hsl": {
    "h": 264.324,
    "s": 63.793,
    "l": 54.51
  },
  "oklch": {
    "l": 0.53049,
    "c": 0.21362,
    "h": 297
  },
  "luminance": 0.12945
}

Semantic roles & 50–950 ramp

primary
#7D41D5
secondary
#BFD89A
accent
#E741A4
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110916
muted
#807B84

Preview Lab

Preview with #7D41D5

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

Preview Lab → · Contrast checker → · Palette generator →

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