#7D41BC#7D41BC

#7D41BC is a mid, vivid violet. Relative luminance 0.118; OKLCH L 51.2% C 0.186 H 302.7°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#7D41BC
RGBrgb(125, 65, 188)
HSLhsl(269, 49%, 50%)
HSVhsv(269, 65%, 74%)
CMYKcmyk(33.5%, 65.4%, 0%, 26.3%)
CIE-LABlab(40.85, 49.46, -55.05)
CIE-LCHlch(40.85, 74.01, 311.94°)
OKLaboklab(51.16% 0.1005 -0.1564)
OKLCHoklch(51.16% 0.186 302.7)
XYZxyz(19.4227, 11.7714, 48.8161)
Luminance0.1177 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D41BC #80BC41
analogous
#4143BC #7D41BC #BB41BC
triadic
#7D41BC #BC7D41 #41BC7D
tetradic
#7D41BC #BC4143 #80BC41 #41BCBB
square
#7D41BC #BC4143 #80BC41 #41BCBB
split-complementary
#7D41BC #BCBB41 #43BC41
monochromatic
#412261 #5F318F #7D41BC #9C6ECD #BB9BDC

Accessibility & contrast

On white

6.26
#7D41BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#7D41BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D41BC
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D41BC#FFFFFF#000000##FFFFFF
##7D41BC1.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC0
Deuteranopia (green-blind)
#1260B9
Tritanopia (blue-blind)
#705C79
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7d41bc;
/* rgb */ color: rgb(125, 65, 188);
/* oklch */ color: oklch(51.2% 0.186 302.7);
Tailwind
colors: {
  custom: {
    50: '#a779d1',
    500: '#7d41bc',
    950: '#000000',
  },
}
SCSS
$custom: #7d41bc;
$custom-light: #a779d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7d41bc",
  "rgb": {
    "r": 125,
    "g": 65,
    "b": 188
  },
  "hsl": {
    "h": 269.268,
    "s": 48.617,
    "l": 49.608
  },
  "oklch": {
    "l": 0.51164,
    "c": 0.18586,
    "h": 302.7
  },
  "luminance": 0.11771
}

Semantic roles & 50–950 ramp

primary
#7D41BC
secondary
#ADC990
accent
#D85096
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #7D41BC

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

Preview Lab → · Contrast checker → · Palette generator →

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