#7D41B4#7D41B4

#7D41B4 is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.6% C 0.177 H 304.9°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#7D41B4
RGBrgb(125, 65, 180)
HSLhsl(271, 47%, 48%)
HSVhsv(271, 64%, 71%)
CMYKcmyk(30.6%, 63.9%, 0%, 29.4%)
CIE-LABlab(40.31, 47.51, -51.23)
CIE-LCHlch(40.31, 69.87, 312.84°)
OKLaboklab(50.6% 0.1011 -0.1451)
OKLCHoklch(50.6% 0.177 304.9)
XYZxyz(18.5841, 11.4360, 44.3995)
Luminance0.1144 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D41B4 #78B441
analogous
#4341B4 #7D41B4 #B441B2
triadic
#7D41B4 #B47D41 #41B47D
tetradic
#7D41B4 #B44341 #78B441 #41B2B4
square
#7D41B4 #B44341 #78B441 #41B2B4
split-complementary
#7D41B4 #B2B441 #41B443
monochromatic
#3F215A #5E3187 #7D41B4 #9B69C9 #B996D9

Accessibility & contrast

On white

6.39
#7D41B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#7D41B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D41B4
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D41B4#FFFFFF#000000##FFFFFF
##7D41B41.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB8
Deuteranopia (green-blind)
#235FB1
Tritanopia (blue-blind)
#735974
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7d41b4;
/* rgb */ color: rgb(125, 65, 180);
/* oklch */ color: oklch(50.6% 0.177 304.9);
Tailwind
colors: {
  custom: {
    50: '#a779cb',
    500: '#7d41b4',
    950: '#000000',
  },
}
SCSS
$custom: #7d41b4;
$custom-light: #a779cb;
$custom-dark: #000000;
JSON
{
  "hex": "#7d41b4",
  "rgb": {
    "r": 125,
    "g": 65,
    "b": 180
  },
  "hsl": {
    "h": 271.304,
    "s": 46.939,
    "l": 48.039
  },
  "oklch": {
    "l": 0.50597,
    "c": 0.17688,
    "h": 304.9
  },
  "luminance": 0.11436
}

Semantic roles & 50–950 ramp

primary
#7D41B4
secondary
#A7C58C
accent
#D75191
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100913
muted
#7F7B82

Preview Lab

Preview with #7D41B4

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

Preview Lab → · Contrast checker → · Palette generator →

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