#7C41CF#7C41CF

#7C41CF is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 52.5% C 0.207 H 297.9°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#7C41CF
RGBrgb(124, 65, 207)
HSLhsl(265, 60%, 53%)
HSVhsv(265, 69%, 81%)
CMYKcmyk(40.1%, 68.6%, 0%, 18.8%)
CIE-LABlab(42.11, 54.00, -64.07)
CIE-LCHlch(42.11, 83.79, 310.13°)
OKLaboklab(52.47% 0.0967 -0.1829)
OKLCHoklch(52.47% 0.207 297.9)
XYZxyz(21.4621, 12.5703, 60.3150)
Luminance0.1257 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C41CF #94CF41
analogous
#414DCF #7C41CF #C341CF
triadic
#7C41CF #CF7C41 #41CF7C
tetradic
#7C41CF #CF414D #94CF41 #41CFC3
square
#7C41CF #CF414D #94CF41 #41CFC3
split-complementary
#7C41CF #CFC341 #4DCF41
monochromatic
#431E77 #5F2BA8 #7C41CF #9E72DB #BFA3E8

Accessibility & contrast

On white

5.98
#7C41CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#7C41CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C41CF
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C41CF#FFFFFF#000000##FFFFFF
##7C41CF1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D3
Deuteranopia (green-blind)
#0062CC
Tritanopia (blue-blind)
#686383
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7c41cf;
/* rgb */ color: rgb(124, 65, 207);
/* oklch */ color: oklch(52.5% 0.207 297.9);
Tailwind
colors: {
  custom: {
    50: '#a87adf',
    500: '#7c41cf',
    950: '#000000',
  },
}
SCSS
$custom: #7c41cf;
$custom-light: #a87adf;
$custom-dark: #000000;
JSON
{
  "hex": "#7c41cf",
  "rgb": {
    "r": 124,
    "g": 65,
    "b": 207
  },
  "hsl": {
    "h": 264.93,
    "s": 59.664,
    "l": 53.333
  },
  "oklch": {
    "l": 0.52474,
    "c": 0.20688,
    "h": 297.9
  },
  "luminance": 0.12571
}

Semantic roles & 50–950 ramp

primary
#7C41CF
secondary
#BBD497
accent
#E345A1
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7C41CF

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

Preview Lab → · Contrast checker → · Palette generator →

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