#7C41B7#7C41B7

#7C41B7 is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.7% C 0.180 H 303.6°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#7C41B7
RGBrgb(124, 65, 183)
HSLhsl(270, 48%, 49%)
HSVhsv(270, 64%, 72%)
CMYKcmyk(32.2%, 64.5%, 0%, 28.2%)
CIE-LABlab(40.38, 48.02, -52.88)
CIE-LCHlch(40.38, 71.42, 312.24°)
OKLaboklab(50.69% 0.0995 -0.15)
OKLCHoklch(50.69% 0.18 303.6)
XYZxyz(18.7478, 11.4846, 46.0196)
Luminance0.1148 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C41B7 #7CB741
analogous
#4141B7 #7C41B7 #B741B7
triadic
#7C41B7 #B77C41 #41B77C
tetradic
#7C41B7 #B74141 #7CB741 #41B7B7
square
#7C41B7 #B74141 #7CB741 #41B7B7
split-complementary
#7C41B7 #B7B741 #41B741
monochromatic
#3F215D #5D318A #7C41B7 #9B6BCA #B998DA

Accessibility & contrast

On white

6.37
#7C41B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#7C41B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C41B7
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C41B7#FFFFFF#000000##FFFFFF
##7C41B71.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBB
Deuteranopia (green-blind)
#1C5FB4
Tritanopia (blue-blind)
#715A76
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7c41b7;
/* rgb */ color: rgb(124, 65, 183);
/* oklch */ color: oklch(50.7% 0.180 303.6);
Tailwind
colors: {
  custom: {
    50: '#a679cd',
    500: '#7c41b7',
    950: '#000000',
  },
}
SCSS
$custom: #7c41b7;
$custom-light: #a679cd;
$custom-dark: #000000;
JSON
{
  "hex": "#7c41b7",
  "rgb": {
    "r": 124,
    "g": 65,
    "b": 183
  },
  "hsl": {
    "h": 270,
    "s": 47.581,
    "l": 48.627
  },
  "oklch": {
    "l": 0.50692,
    "c": 0.18002,
    "h": 303.6
  },
  "luminance": 0.11485
}

Semantic roles & 50–950 ramp

primary
#7C41B7
secondary
#AAC68E
accent
#D75194
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #7C41B7

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

Preview Lab → · Contrast checker → · Palette generator →

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