#7D41C4#7D41C4

#7D41C4 is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.7% C 0.195 H 300.7°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#7D41C4
RGBrgb(125, 65, 196)
HSLhsl(267, 53%, 51%)
HSVhsv(267, 67%, 77%)
CMYKcmyk(36.2%, 66.8%, 0%, 23.1%)
CIE-LABlab(41.42, 51.44, -58.81)
CIE-LCHlch(41.42, 78.13, 311.17°)
OKLaboklab(51.75% 0.0996 -0.1674)
OKLCHoklch(51.75% 0.195 300.7)
XYZxyz(20.3091, 12.1260, 53.4844)
Luminance0.1213 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D41C4 #88C441
analogous
#4146C4 #7D41C4 #BE41C4
triadic
#7D41C4 #C47D41 #41C47D
tetradic
#7D41C4 #C44146 #88C441 #41C4BE
square
#7D41C4 #C44146 #88C441 #41C4BE
split-complementary
#7D41C4 #C4BE41 #46C441
monochromatic
#42216A #5F2F98 #7D41C4 #9D70D3 #BD9EE1

Accessibility & contrast

On white

6.13
#7D41C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#7D41C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D41C4
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D41C4#FFFFFF#000000##FFFFFF
##7D41C41.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C8
Deuteranopia (green-blind)
#0061C1
Tritanopia (blue-blind)
#6E5F7D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7d41c4;
/* rgb */ color: rgb(125, 65, 196);
/* oklch */ color: oklch(51.7% 0.195 300.7);
Tailwind
colors: {
  custom: {
    50: '#a87ad7',
    500: '#7d41c4',
    950: '#000000',
  },
}
SCSS
$custom: #7d41c4;
$custom-light: #a87ad7;
$custom-dark: #000000;
JSON
{
  "hex": "#7d41c4",
  "rgb": {
    "r": 125,
    "g": 65,
    "b": 196
  },
  "hsl": {
    "h": 267.481,
    "s": 52.61,
    "l": 51.176
  },
  "oklch": {
    "l": 0.51749,
    "c": 0.19481,
    "h": 300.7
  },
  "luminance": 0.12126
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7D41C4

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

Preview Lab → · Contrast checker → · Palette generator →

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