#7E41CD#7E41CD

#7E41CD is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 52.5% C 0.205 H 299.1°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#7E41CD
RGBrgb(126, 65, 205)
HSLhsl(266, 58%, 53%)
HSVhsv(266, 68%, 80%)
CMYKcmyk(38.5%, 68.3%, 0%, 19.6%)
CIE-LABlab(42.19, 53.88, -62.77)
CIE-LCHlch(42.19, 82.72, 310.64°)
OKLaboklab(52.54% 0.0998 -0.179)
OKLCHoklch(52.54% 0.205 299.1)
XYZxyz(21.5112, 12.6237, 59.0491)
Luminance0.1262 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E41CD #90CD41
analogous
#414ACD #7E41CD #C441CD
triadic
#7E41CD #CD7E41 #41CD7E
tetradic
#7E41CD #CD414A #90CD41 #41CDC4
square
#7E41CD #CD414A #90CD41 #41CDC4
split-complementary
#7E41CD #CDC441 #4ACD41
monochromatic
#441F75 #612CA5 #7E41CD #9F71DA #C0A2E6

Accessibility & contrast

On white

5.96
#7E41CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#7E41CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E41CD
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E41CD#FFFFFF#000000##FFFFFF
##7E41CD1.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D1
Deuteranopia (green-blind)
#0062CA
Tritanopia (blue-blind)
#6C6282
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7e41cd;
/* rgb */ color: rgb(126, 65, 205);
/* oklch */ color: oklch(52.5% 0.205 299.1);
Tailwind
colors: {
  custom: {
    50: '#a97add',
    500: '#7e41cd',
    950: '#000000',
  },
}
SCSS
$custom: #7e41cd;
$custom-light: #a97add;
$custom-dark: #000000;
JSON
{
  "hex": "#7e41cd",
  "rgb": {
    "r": 126,
    "g": 65,
    "b": 205
  },
  "hsl": {
    "h": 266.143,
    "s": 58.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.52537,
    "c": 0.20494,
    "h": 299.1
  },
  "luminance": 0.12624
}

Semantic roles & 50–950 ramp

primary
#7E41CD
secondary
#B9D397
accent
#E2469E
background
#FAF7FD
surface
#F5EEFB
border
#CFC9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #7E41CD

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

Preview Lab → · Contrast checker → · Palette generator →

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