#7C41BA#7C41BA

#7C41BA is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.9% C 0.183 H 302.8°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#7C41BA
RGBrgb(124, 65, 186)
HSLhsl(269, 48%, 49%)
HSVhsv(269, 65%, 73%)
CMYKcmyk(33.3%, 65.1%, 0%, 27.1%)
CIE-LABlab(40.59, 48.75, -54.31)
CIE-LCHlch(40.59, 72.98, 311.91°)
OKLaboklab(50.91% 0.0993 -0.1542)
OKLCHoklch(50.91% 0.183 302.8)
XYZxyz(19.0633, 11.6108, 47.6817)
Luminance0.1161 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C41BA #7FBA41
analogous
#4143BA #7C41BA #B941BA
triadic
#7C41BA #BA7C41 #41BA7C
tetradic
#7C41BA #BA4143 #7FBA41 #41BAB9
square
#7C41BA #BA4143 #7FBA41 #41BAB9
split-complementary
#7C41BA #BAB941 #43BA41
monochromatic
#40215F #5E318D #7C41BA #9B6CCC #BA9ADC

Accessibility & contrast

On white

6.32
#7C41BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#7C41BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C41BA
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C41BA#FFFFFF#000000##FFFFFF
##7C41BA1.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBE
Deuteranopia (green-blind)
#155FB7
Tritanopia (blue-blind)
#705C78
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7c41ba;
/* rgb */ color: rgb(124, 65, 186);
/* oklch */ color: oklch(50.9% 0.183 302.8);
Tailwind
colors: {
  custom: {
    50: '#a679cf',
    500: '#7c41ba',
    950: '#000000',
  },
}
SCSS
$custom: #7c41ba;
$custom-light: #a679cf;
$custom-dark: #000000;
JSON
{
  "hex": "#7c41ba",
  "rgb": {
    "r": 124,
    "g": 65,
    "b": 186
  },
  "hsl": {
    "h": 269.256,
    "s": 48.207,
    "l": 49.216
  },
  "oklch": {
    "l": 0.50906,
    "c": 0.18341,
    "h": 302.8
  },
  "luminance": 0.11611
}

Semantic roles & 50–950 ramp

primary
#7C41BA
secondary
#ACC88F
accent
#D85096
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #7C41BA

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

Preview Lab → · Contrast checker → · Palette generator →

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