#7A41CA#7A41CA

#7A41CA is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 51.9% C 0.201 H 298.1°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#7A41CA
RGBrgb(122, 65, 202)
HSLhsl(265, 56%, 52%)
HSVhsv(265, 68%, 79%)
CMYKcmyk(39.6%, 67.8%, 0%, 20.8%)
CIE-LABlab(41.50, 52.35, -62.17)
CIE-LCHlch(41.50, 81.28, 310.10°)
OKLaboklab(51.87% 0.0947 -0.1774)
OKLCHoklch(51.87% 0.201 298.1)
XYZxyz(20.5743, 12.1821, 57.1331)
Luminance0.1218 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A41CA #91CA41
analogous
#414CCA #7A41CA #BF41CA
triadic
#7A41CA #CA7A41 #41CA7A
tetradic
#7A41CA #CA414C #91CA41 #41CABF
square
#7A41CA #CA414C #91CA41 #41CABF
split-complementary
#7A41CA #CABF41 #4CCA41
monochromatic
#412071 #5D2DA1 #7A41CA #9B71D7 #BDA1E5

Accessibility & contrast

On white

6.11
#7A41CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#7A41CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A41CA
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A41CA#FFFFFF#000000##FFFFFF
##7A41CA1.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CE
Deuteranopia (green-blind)
#0060C7
Tritanopia (blue-blind)
#676280
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7a41ca;
/* rgb */ color: rgb(122, 65, 202);
/* oklch */ color: oklch(51.9% 0.201 298.1);
Tailwind
colors: {
  custom: {
    50: '#a67adb',
    500: '#7a41ca',
    950: '#000000',
  },
}
SCSS
$custom: #7a41ca;
$custom-light: #a67adb;
$custom-dark: #000000;
JSON
{
  "hex": "#7a41ca",
  "rgb": {
    "r": 122,
    "g": 65,
    "b": 202
  },
  "hsl": {
    "h": 264.964,
    "s": 56.379,
    "l": 52.353
  },
  "oklch": {
    "l": 0.51872,
    "c": 0.20107,
    "h": 298.1
  },
  "luminance": 0.12182
}

Semantic roles & 50–950 ramp

primary
#7A41CA
secondary
#B8D196
accent
#E048A1
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7A41CA

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

Preview Lab → · Contrast checker → · Palette generator →

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