#7D41CA#7D41CA

#7D41CA is a mid, highly saturated violet. Relative luminance 0.124; OKLCH L 52.2% C 0.201 H 299.4°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#7D41CA
RGBrgb(125, 65, 202)
HSLhsl(266, 56%, 52%)
HSVhsv(266, 68%, 79%)
CMYKcmyk(38.1%, 67.8%, 0%, 20.8%)
CIE-LABlab(41.85, 52.94, -61.59)
CIE-LCHlch(41.85, 81.21, 310.68°)
OKLaboklab(52.2% 0.0988 -0.1756)
OKLCHoklch(52.2% 0.201 299.4)
XYZxyz(21.0058, 12.4046, 57.1533)
Luminance0.1240 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D41CA #8ECA41
analogous
#414ACA #7D41CA #C141CA
triadic
#7D41CA #CA7D41 #41CA7D
tetradic
#7D41CA #CA414A #8ECA41 #41CAC1
square
#7D41CA #CA414A #8ECA41 #41CAC1
split-complementary
#7D41CA #CAC141 #4ACA41
monochromatic
#432071 #602DA1 #7D41CA #9E71D7 #BEA1E5

Accessibility & contrast

On white

6.03
#7D41CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#7D41CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D41CA
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D41CA#FFFFFF#000000##FFFFFF
##7D41CA1.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CE
Deuteranopia (green-blind)
#0062C7
Tritanopia (blue-blind)
#6B6180
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7d41ca;
/* rgb */ color: rgb(125, 65, 202);
/* oklch */ color: oklch(52.2% 0.201 299.4);
Tailwind
colors: {
  custom: {
    50: '#a87adb',
    500: '#7d41ca',
    950: '#000000',
  },
}
SCSS
$custom: #7d41ca;
$custom-light: #a87adb;
$custom-dark: #000000;
JSON
{
  "hex": "#7d41ca",
  "rgb": {
    "r": 125,
    "g": 65,
    "b": 202
  },
  "hsl": {
    "h": 266.277,
    "s": 56.379,
    "l": 52.353
  },
  "oklch": {
    "l": 0.52199,
    "c": 0.20147,
    "h": 299.4
  },
  "luminance": 0.12405
}

Semantic roles & 50–950 ramp

primary
#7D41CA
secondary
#B7D196
accent
#E0489D
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7D41CA

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

Preview Lab → · Contrast checker → · Palette generator →

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