#7D41C6#7D41C6

#7D41C6 is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.9% C 0.197 H 300.3°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#7D41C6
RGBrgb(125, 65, 198)
HSLhsl(267, 54%, 52%)
HSVhsv(267, 67%, 78%)
CMYKcmyk(36.9%, 67.2%, 0%, 22.4%)
CIE-LABlab(41.56, 51.94, -59.74)
CIE-LCHlch(41.56, 79.16, 311.00°)
OKLaboklab(51.9% 0.0993 -0.1701)
OKLCHoklch(51.9% 0.197 300.3)
XYZxyz(20.5383, 12.2176, 54.6913)
Luminance0.1222 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D41C6 #8AC641
analogous
#4148C6 #7D41C6 #C041C6
triadic
#7D41C6 #C67D41 #41C67D
tetradic
#7D41C6 #C64148 #8AC641 #41C6C0
square
#7D41C6 #C64148 #8AC641 #41C6C0
split-complementary
#7D41C6 #C6C041 #48C641
monochromatic
#43206C #602F9B #7D41C6 #9D70D4 #BD9FE2

Accessibility & contrast

On white

6.10
#7D41C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#7D41C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D41C6
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D41C6#FFFFFF#000000##FFFFFF
##7D41C61.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CA
Deuteranopia (green-blind)
#0061C3
Tritanopia (blue-blind)
#6D607E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7d41c6;
/* rgb */ color: rgb(125, 65, 198);
/* oklch */ color: oklch(51.9% 0.197 300.3);
Tailwind
colors: {
  custom: {
    50: '#a87ad8',
    500: '#7d41c6',
    950: '#000000',
  },
}
SCSS
$custom: #7d41c6;
$custom-light: #a87ad8;
$custom-dark: #000000;
JSON
{
  "hex": "#7d41c6",
  "rgb": {
    "r": 125,
    "g": 65,
    "b": 198
  },
  "hsl": {
    "h": 267.068,
    "s": 53.846,
    "l": 51.569
  },
  "oklch": {
    "l": 0.51898,
    "c": 0.19703,
    "h": 300.3
  },
  "luminance": 0.12218
}

Semantic roles & 50–950 ramp

primary
#7D41C6
secondary
#B4CF94
accent
#DD4B9B
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7D41C6

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

Preview Lab → · Contrast checker → · Palette generator →

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