#7C41D2#7C41D2

#7C41D2 is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 52.7% C 0.210 H 297.2°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#7C41D2
RGBrgb(124, 65, 210)
HSLhsl(264, 62%, 54%)
HSVhsv(264, 69%, 82%)
CMYKcmyk(41%, 69%, 0%, 17.6%)
CIE-LABlab(42.34, 54.77, -65.43)
CIE-LCHlch(42.34, 85.32, 309.93°)
OKLaboklab(52.71% 0.0962 -0.1869)
OKLCHoklch(52.71% 0.21 297.2)
XYZxyz(21.8323, 12.7184, 62.2649)
Luminance0.1272 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C41D2 #97D241
analogous
#414FD2 #7C41D2 #C541D2
triadic
#7C41D2 #D27C41 #41D27C
tetradic
#7C41D2 #D2414F #97D241 #41D2C5
square
#7C41D2 #D2414F #97D241 #41D2C5
split-complementary
#7C41D2 #D2C541 #4FD241
monochromatic
#441D7B #5F29AD #7C41D2 #9E72DE #C0A4E9

Accessibility & contrast

On white

5.93
#7C41D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#7C41D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C41D2
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C41D2#FFFFFF#000000##FFFFFF
##7C41D21.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D6
Deuteranopia (green-blind)
#0062CF
Tritanopia (blue-blind)
#666485
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7c41d2;
/* rgb */ color: rgb(124, 65, 210);
/* oklch */ color: oklch(52.7% 0.210 297.2);
Tailwind
colors: {
  custom: {
    50: '#a97ae1',
    500: '#7c41d2',
    950: '#000000',
  },
}
SCSS
$custom: #7c41d2;
$custom-light: #a97ae1;
$custom-dark: #000000;
JSON
{
  "hex": "#7c41d2",
  "rgb": {
    "r": 124,
    "g": 65,
    "b": 210
  },
  "hsl": {
    "h": 264.414,
    "s": 61.702,
    "l": 53.922
  },
  "oklch": {
    "l": 0.52707,
    "c": 0.21021,
    "h": 297.2
  },
  "luminance": 0.12719
}

Semantic roles & 50–950 ramp

primary
#7C41D2
secondary
#BDD698
accent
#E543A3
background
#FAF7FD
surface
#F5EEFB
border
#CFC9D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7C41D2

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

Preview Lab → · Contrast checker → · Palette generator →

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