#7E41BC#7E41BC

#7E41BC is a mid, vivid violet. Relative luminance 0.118; OKLCH L 51.3% C 0.186 H 303.2°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#7E41BC
RGBrgb(126, 65, 188)
HSLhsl(270, 49%, 50%)
HSVhsv(270, 65%, 74%)
CMYKcmyk(33%, 65.4%, 0%, 26.3%)
CIE-LABlab(40.97, 49.68, -54.85)
CIE-LCHlch(40.97, 74.00, 312.17°)
OKLaboklab(51.28% 0.1018 -0.1557)
OKLCHoklch(51.28% 0.186 303.2)
XYZxyz(19.5695, 11.8471, 48.8229)
Luminance0.1185 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E41BC #7FBC41
analogous
#4141BC #7E41BC #BC41BC
triadic
#7E41BC #BC7E41 #41BC7E
tetradic
#7E41BC #BC4141 #7FBC41 #41BCBC
square
#7E41BC #BC4141 #7FBC41 #41BCBC
split-complementary
#7E41BC #BCBC41 #41BC41
monochromatic
#412261 #60318F #7E41BC #9D6ECD #BB9BDC

Accessibility & contrast

On white

6.23
#7E41BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#7E41BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E41BC
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E41BC#FFFFFF#000000##FFFFFF
##7E41BC1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC0
Deuteranopia (green-blind)
#1560B9
Tritanopia (blue-blind)
#725C79
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7e41bc;
/* rgb */ color: rgb(126, 65, 188);
/* oklch */ color: oklch(51.3% 0.186 303.2);
Tailwind
colors: {
  custom: {
    50: '#a879d1',
    500: '#7e41bc',
    950: '#000000',
  },
}
SCSS
$custom: #7e41bc;
$custom-light: #a879d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7e41bc",
  "rgb": {
    "r": 126,
    "g": 65,
    "b": 188
  },
  "hsl": {
    "h": 269.756,
    "s": 48.617,
    "l": 49.608
  },
  "oklch": {
    "l": 0.51278,
    "c": 0.18607,
    "h": 303.2
  },
  "luminance": 0.11847
}

Semantic roles & 50–950 ramp

primary
#7E41BC
secondary
#ADC990
accent
#D85094
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #7E41BC

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

Preview Lab → · Contrast checker → · Palette generator →

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