#7C41BD#7C41BD

#7C41BD is a mid, vivid violet. Relative luminance 0.117; OKLCH L 51.1% C 0.187 H 302.0°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#7C41BD
RGBrgb(124, 65, 189)
HSLhsl(269, 49%, 50%)
HSVhsv(269, 66%, 74%)
CMYKcmyk(34.4%, 65.6%, 0%, 25.9%)
CIE-LABlab(40.80, 49.49, -55.73)
CIE-LCHlch(40.80, 74.53, 311.61°)
OKLaboklab(51.12% 0.099 -0.1584)
OKLCHoklch(51.12% 0.187 302)
XYZxyz(19.3856, 11.7397, 49.3789)
Luminance0.1174 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C41BD #82BD41
analogous
#4144BD #7C41BD #BA41BD
triadic
#7C41BD #BD7C41 #41BD7C
tetradic
#7C41BD #BD4144 #82BD41 #41BDBA
square
#7C41BD #BD4144 #82BD41 #41BDBA
split-complementary
#7C41BD #BDBA41 #44BD41
monochromatic
#402262 #5E318F #7C41BD #9B6ECD #BB9CDD

Accessibility & contrast

On white

6.27
#7C41BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#7C41BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C41BD
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C41BD#FFFFFF#000000##FFFFFF
##7C41BD1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC1
Deuteranopia (green-blind)
#0C60BA
Tritanopia (blue-blind)
#6F5D79
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7c41bd;
/* rgb */ color: rgb(124, 65, 189);
/* oklch */ color: oklch(51.1% 0.187 302.0);
Tailwind
colors: {
  custom: {
    50: '#a779d2',
    500: '#7c41bd',
    950: '#000000',
  },
}
SCSS
$custom: #7c41bd;
$custom-light: #a779d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7c41bd",
  "rgb": {
    "r": 124,
    "g": 65,
    "b": 189
  },
  "hsl": {
    "h": 268.548,
    "s": 48.819,
    "l": 49.804
  },
  "oklch": {
    "l": 0.51123,
    "c": 0.18679,
    "h": 302
  },
  "luminance": 0.1174
}

Semantic roles & 50–950 ramp

primary
#7C41BD
secondary
#AEC991
accent
#D84F97
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7C41BD

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

Preview Lab → · Contrast checker → · Palette generator →

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