#7C41D9#7C41D9

#7C41D9 is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 53.3% C 0.218 H 295.8°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#7C41D9
RGBrgb(124, 65, 217)
HSLhsl(263, 67%, 55%)
HSVhsv(263, 70%, 85%)
CMYKcmyk(42.9%, 70%, 0%, 14.9%)
CIE-LABlab(42.88, 56.55, -68.57)
CIE-LCHlch(42.88, 88.88, 309.51°)
OKLaboklab(53.26% 0.095 -0.1961)
OKLCHoklch(53.26% 0.218 295.8)
XYZxyz(22.7235, 13.0749, 66.9587)
Luminance0.1308 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C41D9 #9ED941
analogous
#4152D9 #7C41D9 #C841D9
triadic
#7C41D9 #D97C41 #41D97C
tetradic
#7C41D9 #D94152 #9ED941 #41D9C8
square
#7C41D9 #D94152 #9ED941 #41D9C8
split-complementary
#7C41D9 #D9C841 #52D941
monochromatic
#441B85 #5E25B8 #7C41D9 #9F74E3 #C2A7ED

Accessibility & contrast

On white

5.81
#7C41D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#7C41D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C41D9
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C41D9#FFFFFF#000000##FFFFFF
##7C41D91.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066DD
Deuteranopia (green-blind)
#0063D6
Tritanopia (blue-blind)
#636789
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7c41d9;
/* rgb */ color: rgb(124, 65, 217);
/* oklch */ color: oklch(53.3% 0.218 295.8);
Tailwind
colors: {
  custom: {
    50: '#a97ae6',
    500: '#7c41d9',
    950: '#000000',
  },
}
SCSS
$custom: #7c41d9;
$custom-light: #a97ae6;
$custom-dark: #000000;
JSON
{
  "hex": "#7c41d9",
  "rgb": {
    "r": 124,
    "g": 65,
    "b": 217
  },
  "hsl": {
    "h": 263.289,
    "s": 66.667,
    "l": 55.294
  },
  "oklch": {
    "l": 0.5326,
    "c": 0.21792,
    "h": 295.8
  },
  "luminance": 0.13075
}

Semantic roles & 50–950 ramp

primary
#7C41D9
secondary
#C2DB9B
accent
#EA3EA7
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #7C41D9

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

Preview Lab → · Contrast checker → · Palette generator →

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