#7C41C3#7C41C3

#7C41C3 is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.6% C 0.194 H 300.5°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#7C41C3
RGBrgb(124, 65, 195)
HSLhsl(267, 52%, 51%)
HSVhsv(267, 67%, 76%)
CMYKcmyk(36.4%, 66.7%, 0%, 23.5%)
CIE-LABlab(41.23, 50.98, -58.54)
CIE-LCHlch(41.23, 77.63, 311.05°)
OKLaboklab(51.56% 0.0984 -0.1667)
OKLCHoklch(51.56% 0.194 300.5)
XYZxyz(20.0504, 12.0057, 52.8802)
Luminance0.1201 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C41C3 #88C341
analogous
#4147C3 #7C41C3 #BD41C3
triadic
#7C41C3 #C37C41 #41C37C
tetradic
#7C41C3 #C34147 #88C341 #41C3BD
square
#7C41C3 #C34147 #88C341 #41C3BD
split-complementary
#7C41C3 #C3BD41 #47C341
monochromatic
#412169 #5F3097 #7C41C3 #9C70D2 #BC9EE0

Accessibility & contrast

On white

6.17
#7C41C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#7C41C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C41C3
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C41C3#FFFFFF#000000##FFFFFF
##7C41C31.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C7
Deuteranopia (green-blind)
#0060C0
Tritanopia (blue-blind)
#6C5F7D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7c41c3;
/* rgb */ color: rgb(124, 65, 195);
/* oklch */ color: oklch(51.6% 0.194 300.5);
Tailwind
colors: {
  custom: {
    50: '#a779d6',
    500: '#7c41c3',
    950: '#000000',
  },
}
SCSS
$custom: #7c41c3;
$custom-light: #a779d6;
$custom-dark: #000000;
JSON
{
  "hex": "#7c41c3",
  "rgb": {
    "r": 124,
    "g": 65,
    "b": 195
  },
  "hsl": {
    "h": 267.231,
    "s": 52,
    "l": 50.98
  },
  "oklch": {
    "l": 0.51563,
    "c": 0.19352,
    "h": 300.5
  },
  "luminance": 0.12006
}

Semantic roles & 50–950 ramp

primary
#7C41C3
secondary
#B3CD93
accent
#DB4C9B
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7C41C3

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

Preview Lab → · Contrast checker → · Palette generator →

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