#7C41C5#7C41C5

#7C41C5 is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.7% C 0.196 H 300.1°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#7C41C5
RGBrgb(124, 65, 197)
HSLhsl(267, 53%, 51%)
HSVhsv(267, 67%, 77%)
CMYKcmyk(37.1%, 67%, 0%, 22.7%)
CIE-LABlab(41.37, 51.48, -59.47)
CIE-LCHlch(41.37, 78.66, 310.88°)
OKLaboklab(51.71% 0.0981 -0.1694)
OKLCHoklch(51.71% 0.196 300.1)
XYZxyz(20.2780, 12.0967, 54.0791)
Luminance0.1210 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C41C5 #8AC541
analogous
#4148C5 #7C41C5 #BE41C5
triadic
#7C41C5 #C57C41 #41C57C
tetradic
#7C41C5 #C54148 #8AC541 #41C5BE
square
#7C41C5 #C54148 #8AC541 #41C5BE
split-complementary
#7C41C5 #C5BE41 #48C541
monochromatic
#42216B #5F2F9A #7C41C5 #9C70D3 #BD9FE2

Accessibility & contrast

On white

6.14
#7C41C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#7C41C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C41C5
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C41C5#FFFFFF#000000##FFFFFF
##7C41C51.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C9
Deuteranopia (green-blind)
#0061C2
Tritanopia (blue-blind)
#6C607E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7c41c5;
/* rgb */ color: rgb(124, 65, 197);
/* oklch */ color: oklch(51.7% 0.196 300.1);
Tailwind
colors: {
  custom: {
    50: '#a77ad7',
    500: '#7c41c5',
    950: '#000000',
  },
}
SCSS
$custom: #7c41c5;
$custom-light: #a77ad7;
$custom-dark: #000000;
JSON
{
  "hex": "#7c41c5",
  "rgb": {
    "r": 124,
    "g": 65,
    "b": 197
  },
  "hsl": {
    "h": 266.818,
    "s": 53.226,
    "l": 51.373
  },
  "oklch": {
    "l": 0.51712,
    "c": 0.19576,
    "h": 300.1
  },
  "luminance": 0.12097
}

Semantic roles & 50–950 ramp

primary
#7C41C5
secondary
#B4CE94
accent
#DD4B9C
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7C41C5

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

Preview Lab → · Contrast checker → · Palette generator →

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