#7D41D9#7D41D9

#7D41D9 is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 53.4% C 0.218 H 296.2°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#7D41D9
RGBrgb(125, 65, 217)
HSLhsl(264, 67%, 55%)
HSVhsv(264, 70%, 85%)
CMYKcmyk(42.4%, 70%, 0%, 14.9%)
CIE-LABlab(42.99, 56.73, -68.38)
CIE-LCHlch(42.99, 88.85, 309.68°)
OKLaboklab(53.36% 0.0964 -0.1955)
OKLCHoklch(53.36% 0.218 296.2)
XYZxyz(22.8688, 13.1498, 66.9655)
Luminance0.1315 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D41D9 #9DD941
analogous
#4151D9 #7D41D9 #C941D9
triadic
#7D41D9 #D97D41 #41D97D
tetradic
#7D41D9 #D94151 #9DD941 #41D9C9
square
#7D41D9 #D94151 #9DD941 #41D9C9
split-complementary
#7D41D9 #D9C941 #51D941
monochromatic
#451B85 #5F25B8 #7D41D9 #A074E3 #C3A7ED

Accessibility & contrast

On white

5.79
#7D41D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#7D41D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D41D9
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D41D9#FFFFFF#000000##FFFFFF
##7D41D91.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066DD
Deuteranopia (green-blind)
#0063D6
Tritanopia (blue-blind)
#656789
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7d41d9;
/* rgb */ color: rgb(125, 65, 217);
/* oklch */ color: oklch(53.4% 0.218 296.2);
Tailwind
colors: {
  custom: {
    50: '#aa7ae6',
    500: '#7d41d9',
    950: '#000000',
  },
}
SCSS
$custom: #7d41d9;
$custom-light: #aa7ae6;
$custom-dark: #000000;
JSON
{
  "hex": "#7d41d9",
  "rgb": {
    "r": 125,
    "g": 65,
    "b": 217
  },
  "hsl": {
    "h": 263.684,
    "s": 66.667,
    "l": 55.294
  },
  "oklch": {
    "l": 0.53365,
    "c": 0.21801,
    "h": 296.2
  },
  "luminance": 0.1315
}

Semantic roles & 50–950 ramp

primary
#7D41D9
secondary
#C2DB9B
accent
#EA3EA6
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #7D41D9

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

Preview Lab → · Contrast checker → · Palette generator →

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