#7C41CA#7C41CA

#7C41CA is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 52.1% C 0.201 H 298.9°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#7C41CA
RGBrgb(124, 65, 202)
HSLhsl(266, 56%, 52%)
HSVhsv(266, 68%, 79%)
CMYKcmyk(38.6%, 67.8%, 0%, 20.8%)
CIE-LABlab(41.74, 52.74, -61.78)
CIE-LCHlch(41.74, 81.23, 310.49°)
OKLaboklab(52.09% 0.0974 -0.1762)
OKLCHoklch(52.09% 0.201 298.9)
XYZxyz(20.8605, 12.3297, 57.1465)
Luminance0.1233 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C41CA #8FCA41
analogous
#414BCA #7C41CA #C041CA
triadic
#7C41CA #CA7C41 #41CA7C
tetradic
#7C41CA #CA414B #8FCA41 #41CAC0
square
#7C41CA #CA414B #8FCA41 #41CAC0
split-complementary
#7C41CA #CAC041 #4BCA41
monochromatic
#432071 #5F2DA1 #7C41CA #9D71D7 #BEA1E5

Accessibility & contrast

On white

6.06
#7C41CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#7C41CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C41CA
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C41CA#FFFFFF#000000##FFFFFF
##7C41CA1.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CE
Deuteranopia (green-blind)
#0061C7
Tritanopia (blue-blind)
#6A6180
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7c41ca;
/* rgb */ color: rgb(124, 65, 202);
/* oklch */ color: oklch(52.1% 0.201 298.9);
Tailwind
colors: {
  custom: {
    50: '#a87adb',
    500: '#7c41ca',
    950: '#000000',
  },
}
SCSS
$custom: #7c41ca;
$custom-light: #a87adb;
$custom-dark: #000000;
JSON
{
  "hex": "#7c41ca",
  "rgb": {
    "r": 124,
    "g": 65,
    "b": 202
  },
  "hsl": {
    "h": 265.839,
    "s": 56.379,
    "l": 52.353
  },
  "oklch": {
    "l": 0.5209,
    "c": 0.20134,
    "h": 298.9
  },
  "luminance": 0.1233
}

Semantic roles & 50–950 ramp

primary
#7C41CA
secondary
#B8D196
accent
#E0489E
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7C41CA

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

Preview Lab → · Contrast checker → · Palette generator →

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