#7D41C5#7D41C5

#7D41C5 is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.8% C 0.196 H 300.5°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#7D41C5
RGBrgb(125, 65, 197)
HSLhsl(267, 53%, 51%)
HSVhsv(267, 67%, 77%)
CMYKcmyk(36.5%, 67%, 0%, 22.7%)
CIE-LABlab(41.49, 51.69, -59.28)
CIE-LCHlch(41.49, 78.65, 311.09°)
OKLaboklab(51.82% 0.0995 -0.1688)
OKLCHoklch(51.82% 0.196 300.5)
XYZxyz(20.4233, 12.1716, 54.0859)
Luminance0.1217 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D41C5 #89C541
analogous
#4147C5 #7D41C5 #BF41C5
triadic
#7D41C5 #C57D41 #41C57D
tetradic
#7D41C5 #C54147 #89C541 #41C5BF
square
#7D41C5 #C54147 #89C541 #41C5BF
split-complementary
#7D41C5 #C5BF41 #47C541
monochromatic
#42216B #602F9A #7D41C5 #9D70D3 #BD9FE2

Accessibility & contrast

On white

6.11
#7D41C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7D41C5
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D41C5#FFFFFF#000000##FFFFFF
##7D41C51.006.113.436.11
#FFFFFF6.111.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C9
Deuteranopia (green-blind)
#0061C2
Tritanopia (blue-blind)
#6D5F7E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7d41c5;
/* rgb */ color: rgb(125, 65, 197);
/* oklch */ color: oklch(51.8% 0.196 300.5);
Tailwind
colors: {
  custom: {
    50: '#a87ad7',
    500: '#7d41c5',
    950: '#000000',
  },
}
SCSS
$custom: #7d41c5;
$custom-light: #a87ad7;
$custom-dark: #000000;
JSON
{
  "hex": "#7d41c5",
  "rgb": {
    "r": 125,
    "g": 65,
    "b": 197
  },
  "hsl": {
    "h": 267.273,
    "s": 53.226,
    "l": 51.373
  },
  "oklch": {
    "l": 0.51823,
    "c": 0.19592,
    "h": 300.5
  },
  "luminance": 0.12172
}

Semantic roles & 50–950 ramp

primary
#7D41C5
secondary
#B4CE94
accent
#DD4B9B
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7D41C5

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

Preview Lab → · Contrast checker → · Palette generator →

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