#7E41CA#7E41CA

#7E41CA is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 52.3% C 0.202 H 299.8°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#7E41CA
RGBrgb(126, 65, 202)
HSLhsl(267, 56%, 52%)
HSVhsv(267, 68%, 79%)
CMYKcmyk(37.6%, 67.8%, 0%, 20.8%)
CIE-LABlab(41.97, 53.13, -61.39)
CIE-LCHlch(41.97, 81.19, 310.87°)
OKLaboklab(52.31% 0.1002 -0.175)
OKLCHoklch(52.31% 0.202 299.8)
XYZxyz(21.1525, 12.4803, 57.1602)
Luminance0.1248 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E41CA #8DCA41
analogous
#4149CA #7E41CA #C241CA
triadic
#7E41CA #CA7E41 #41CA7E
tetradic
#7E41CA #CA4149 #8DCA41 #41CAC2
square
#7E41CA #CA4149 #8DCA41 #41CAC2
split-complementary
#7E41CA #CAC241 #49CA41
monochromatic
#442071 #612DA1 #7E41CA #9E71D7 #BFA1E5

Accessibility & contrast

On white

6.01
#7E41CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#7E41CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E41CA
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E41CA#FFFFFF#000000##FFFFFF
##7E41CA1.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e41ca;
/* rgb */ color: rgb(126, 65, 202);
/* oklch */ color: oklch(52.3% 0.202 299.8);
Tailwind
colors: {
  custom: {
    50: '#a97adb',
    500: '#7e41ca',
    950: '#000000',
  },
}
SCSS
$custom: #7e41ca;
$custom-light: #a97adb;
$custom-dark: #000000;
JSON
{
  "hex": "#7e41ca",
  "rgb": {
    "r": 126,
    "g": 65,
    "b": 202
  },
  "hsl": {
    "h": 266.715,
    "s": 56.379,
    "l": 52.353
  },
  "oklch": {
    "l": 0.5231,
    "c": 0.20162,
    "h": 299.8
  },
  "luminance": 0.1248
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7E41CA

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

Preview Lab → · Contrast checker → · Palette generator →

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