#7E41BD#7E41BD

#7E41BD is a mid, vivid violet. Relative luminance 0.119; OKLCH L 51.3% C 0.187 H 302.9°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#7E41BD
RGBrgb(126, 65, 189)
HSLhsl(270, 49%, 50%)
HSVhsv(270, 66%, 74%)
CMYKcmyk(33.3%, 65.6%, 0%, 25.9%)
CIE-LABlab(41.04, 49.92, -55.33)
CIE-LCHlch(41.04, 74.52, 312.06°)
OKLaboklab(51.35% 0.1017 -0.1571)
OKLCHoklch(51.35% 0.187 302.9)
XYZxyz(19.6777, 11.8903, 49.3926)
Luminance0.1189 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E41BD #80BD41
analogous
#4142BD #7E41BD #BC41BD
triadic
#7E41BD #BD7E41 #41BD7E
tetradic
#7E41BD #BD4142 #80BD41 #41BDBC
square
#7E41BD #BD4142 #80BD41 #41BDBC
split-complementary
#7E41BD #BDBC41 #42BD41
monochromatic
#412262 #60318F #7E41BD #9D6ECD #BC9CDD

Accessibility & contrast

On white

6.22
#7E41BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#7E41BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E41BD
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E41BD#FFFFFF#000000##FFFFFF
##7E41BD1.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C1
Deuteranopia (green-blind)
#1260BA
Tritanopia (blue-blind)
#725C79
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7e41bd;
/* rgb */ color: rgb(126, 65, 189);
/* oklch */ color: oklch(51.3% 0.187 302.9);
Tailwind
colors: {
  custom: {
    50: '#a879d2',
    500: '#7e41bd',
    950: '#000000',
  },
}
SCSS
$custom: #7e41bd;
$custom-light: #a879d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7e41bd",
  "rgb": {
    "r": 126,
    "g": 65,
    "b": 189
  },
  "hsl": {
    "h": 269.516,
    "s": 48.819,
    "l": 49.804
  },
  "oklch": {
    "l": 0.5135,
    "c": 0.1872,
    "h": 302.9
  },
  "luminance": 0.1189
}

Semantic roles & 50–950 ramp

primary
#7E41BD
secondary
#ADC991
accent
#D84F95
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7E41BD

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

Preview Lab → · Contrast checker → · Palette generator →

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