#7C41D4#7C41D4

#7C41D4 is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 52.9% C 0.212 H 296.8°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#7C41D4
RGBrgb(124, 65, 212)
HSLhsl(264, 63%, 54%)
HSVhsv(264, 69%, 83%)
CMYKcmyk(41.5%, 69.3%, 0%, 16.9%)
CIE-LABlab(42.49, 55.27, -66.33)
CIE-LCHlch(42.49, 86.34, 309.81°)
OKLaboklab(52.86% 0.0959 -0.1895)
OKLCHoklch(52.86% 0.212 296.8)
XYZxyz(22.0830, 12.8187, 63.5854)
Luminance0.1282 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C41D4 #99D441
analogous
#4150D4 #7C41D4 #C641D4
triadic
#7C41D4 #D47C41 #41D47C
tetradic
#7C41D4 #D44150 #99D441 #41D4C6
square
#7C41D4 #D44150 #99D441 #41D4C6
split-complementary
#7C41D4 #D4C641 #50D441
monochromatic
#441D7E #5E28B0 #7C41D4 #9E73DF #C1A5EB

Accessibility & contrast

On white

5.89
#7C41D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#7C41D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C41D4
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C41D4#FFFFFF#000000##FFFFFF
##7C41D41.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D8
Deuteranopia (green-blind)
#0062D1
Tritanopia (blue-blind)
#656586
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7c41d4;
/* rgb */ color: rgb(124, 65, 212);
/* oklch */ color: oklch(52.9% 0.212 296.8);
Tailwind
colors: {
  custom: {
    50: '#a97ae2',
    500: '#7c41d4',
    950: '#000000',
  },
}
SCSS
$custom: #7c41d4;
$custom-light: #a97ae2;
$custom-dark: #000000;
JSON
{
  "hex": "#7c41d4",
  "rgb": {
    "r": 124,
    "g": 65,
    "b": 212
  },
  "hsl": {
    "h": 264.082,
    "s": 63.09,
    "l": 54.314
  },
  "oklch": {
    "l": 0.52864,
    "c": 0.21242,
    "h": 296.8
  },
  "luminance": 0.12819
}

Semantic roles & 50–950 ramp

primary
#7C41D4
secondary
#BFD899
accent
#E642A4
background
#FAF7FE
surface
#F5EEFC
border
#CFC9D5
text
#110915
muted
#807B84

Preview Lab

Preview with #7C41D4

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

Preview Lab → · Contrast checker → · Palette generator →

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