#7C41BB#7C41BB

#7C41BB is a mid, vivid violet. Relative luminance 0.117; OKLCH L 51.0% C 0.185 H 302.5°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#7C41BB
RGBrgb(124, 65, 187)
HSLhsl(269, 48%, 49%)
HSVhsv(269, 65%, 73%)
CMYKcmyk(33.7%, 65.2%, 0%, 26.7%)
CIE-LABlab(40.66, 49.00, -54.78)
CIE-LCHlch(40.66, 73.50, 311.81°)
OKLaboklab(50.98% 0.0992 -0.1556)
OKLCHoklch(50.98% 0.185 302.5)
XYZxyz(19.1700, 11.6535, 48.2435)
Luminance0.1165 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C41BB #80BB41
analogous
#4143BB #7C41BB #B941BB
triadic
#7C41BB #BB7C41 #41BB7C
tetradic
#7C41BB #BB4143 #80BB41 #41BBB9
square
#7C41BB #BB4143 #80BB41 #41BBB9
split-complementary
#7C41BB #BBB941 #43BB41
monochromatic
#402160 #5E318E #7C41BB #9B6DCC #BA9ADC

Accessibility & contrast

On white

6.30
#7C41BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#7C41BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C41BB
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C41BB#FFFFFF#000000##FFFFFF
##7C41BB1.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBF
Deuteranopia (green-blind)
#125FB8
Tritanopia (blue-blind)
#6F5C78
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7c41bb;
/* rgb */ color: rgb(124, 65, 187);
/* oklch */ color: oklch(51.0% 0.185 302.5);
Tailwind
colors: {
  custom: {
    50: '#a679d0',
    500: '#7c41bb',
    950: '#000000',
  },
}
SCSS
$custom: #7c41bb;
$custom-light: #a679d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7c41bb",
  "rgb": {
    "r": 124,
    "g": 65,
    "b": 187
  },
  "hsl": {
    "h": 269.016,
    "s": 48.413,
    "l": 49.412
  },
  "oklch": {
    "l": 0.50978,
    "c": 0.18453,
    "h": 302.5
  },
  "luminance": 0.11654
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7C41BB

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

Preview Lab → · Contrast checker → · Palette generator →

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