#7D41C7#7D41C7

#7D41C7 is a mid, vivid violet. Relative luminance 0.123; OKLCH L 52.0% C 0.198 H 300.0°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#7D41C7
RGBrgb(125, 65, 199)
HSLhsl(267, 54%, 52%)
HSVhsv(267, 67%, 78%)
CMYKcmyk(37.2%, 67.3%, 0%, 22%)
CIE-LABlab(41.63, 52.19, -60.20)
CIE-LCHlch(41.63, 79.67, 310.92°)
OKLaboklab(51.97% 0.0992 -0.1715)
OKLCHoklch(51.97% 0.198 300)
XYZxyz(20.6540, 12.2639, 55.3008)
Luminance0.1226 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D41C7 #8BC741
analogous
#4148C7 #7D41C7 #C041C7
triadic
#7D41C7 #C77D41 #41C77D
tetradic
#7D41C7 #C74148 #8BC741 #41C7C0
square
#7D41C7 #C74148 #8BC741 #41C7C0
split-complementary
#7D41C7 #C7C041 #48C741
monochromatic
#43206D #602E9D #7D41C7 #9D70D5 #BEA0E3

Accessibility & contrast

On white

6.08
#7D41C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#7D41C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D41C7
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D41C7#FFFFFF#000000##FFFFFF
##7D41C71.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CB
Deuteranopia (green-blind)
#0061C4
Tritanopia (blue-blind)
#6C607F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7d41c7;
/* rgb */ color: rgb(125, 65, 199);
/* oklch */ color: oklch(52.0% 0.198 300.0);
Tailwind
colors: {
  custom: {
    50: '#a87ad9',
    500: '#7d41c7',
    950: '#000000',
  },
}
SCSS
$custom: #7d41c7;
$custom-light: #a87ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#7d41c7",
  "rgb": {
    "r": 125,
    "g": 65,
    "b": 199
  },
  "hsl": {
    "h": 266.866,
    "s": 54.472,
    "l": 51.765
  },
  "oklch": {
    "l": 0.51973,
    "c": 0.19814,
    "h": 300
  },
  "luminance": 0.12264
}

Semantic roles & 50–950 ramp

primary
#7D41C7
secondary
#B5CF95
accent
#DE4A9C
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7D41C7

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

Preview Lab → · Contrast checker → · Palette generator →

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