#7D41BD#7D41BD

#7D41BD is a mid, vivid violet. Relative luminance 0.118; OKLCH L 51.2% C 0.187 H 302.5°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#7D41BD
RGBrgb(125, 65, 189)
HSLhsl(269, 49%, 50%)
HSVhsv(269, 66%, 74%)
CMYKcmyk(33.9%, 65.6%, 0%, 25.9%)
CIE-LABlab(40.92, 49.71, -55.53)
CIE-LCHlch(40.92, 74.53, 311.83°)
OKLaboklab(51.24% 0.1004 -0.1578)
OKLCHoklch(51.24% 0.187 302.5)
XYZxyz(19.5309, 11.8147, 49.3858)
Luminance0.1182 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D41BD #81BD41
analogous
#4143BD #7D41BD #BB41BD
triadic
#7D41BD #BD7D41 #41BD7D
tetradic
#7D41BD #BD4143 #81BD41 #41BDBB
square
#7D41BD #BD4143 #81BD41 #41BDBB
split-complementary
#7D41BD #BDBB41 #43BD41
monochromatic
#412262 #5F318F #7D41BD #9C6ECD #BB9CDD

Accessibility & contrast

On white

6.24
#7D41BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#7D41BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D41BD
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D41BD#FFFFFF#000000##FFFFFF
##7D41BD1.006.243.366.24
#FFFFFF6.241.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC1
Deuteranopia (green-blind)
#0F60BA
Tritanopia (blue-blind)
#705C79
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7d41bd;
/* rgb */ color: rgb(125, 65, 189);
/* oklch */ color: oklch(51.2% 0.187 302.5);
Tailwind
colors: {
  custom: {
    50: '#a779d2',
    500: '#7d41bd',
    950: '#000000',
  },
}
SCSS
$custom: #7d41bd;
$custom-light: #a779d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7d41bd",
  "rgb": {
    "r": 125,
    "g": 65,
    "b": 189
  },
  "hsl": {
    "h": 269.032,
    "s": 48.819,
    "l": 49.804
  },
  "oklch": {
    "l": 0.51236,
    "c": 0.18698,
    "h": 302.5
  },
  "luminance": 0.11815
}

Semantic roles & 50–950 ramp

primary
#7D41BD
secondary
#AEC991
accent
#D84F96
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7D41BD

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

Preview Lab → · Contrast checker → · Palette generator →

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