#7A41D7#7A41D7

#7A41D7 is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 52.9% C 0.216 H 295.4°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#7A41D7
RGBrgb(122, 65, 215)
HSLhsl(263, 65%, 55%)
HSVhsv(263, 70%, 84%)
CMYKcmyk(43.3%, 69.8%, 0%, 15.7%)
CIE-LABlab(42.50, 55.68, -68.05)
CIE-LCHlch(42.50, 87.93, 309.29°)
OKLaboklab(52.89% 0.0926 -0.1947)
OKLCHoklch(52.89% 0.216 295.4)
XYZxyz(22.1788, 12.8239, 65.5835)
Luminance0.1282 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A41D7 #9ED741
analogous
#4153D7 #7A41D7 #C541D7
triadic
#7A41D7 #D77A41 #41D77A
tetradic
#7A41D7 #D74153 #9ED741 #41D7C5
square
#7A41D7 #D74153 #9ED741 #41D7C5
split-complementary
#7A41D7 #D7C541 #53D741
monochromatic
#421B82 #5C26B5 #7A41D7 #9D74E2 #C1A6EC

Accessibility & contrast

On white

5.89
#7A41D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#7A41D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A41D7
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A41D7#FFFFFF#000000##FFFFFF
##7A41D71.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065DB
Deuteranopia (green-blind)
#0062D4
Tritanopia (blue-blind)
#616687
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7a41d7;
/* rgb */ color: rgb(122, 65, 215);
/* oklch */ color: oklch(52.9% 0.216 295.4);
Tailwind
colors: {
  custom: {
    50: '#a87ae4',
    500: '#7a41d7',
    950: '#000000',
  },
}
SCSS
$custom: #7a41d7;
$custom-light: #a87ae4;
$custom-dark: #000000;
JSON
{
  "hex": "#7a41d7",
  "rgb": {
    "r": 122,
    "g": 65,
    "b": 215
  },
  "hsl": {
    "h": 262.8,
    "s": 65.217,
    "l": 54.902
  },
  "oklch": {
    "l": 0.52891,
    "c": 0.21555,
    "h": 295.4
  },
  "luminance": 0.12824
}

Semantic roles & 50–950 ramp

primary
#7A41D7
secondary
#C1D99A
accent
#E840A8
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100916
muted
#7F7B84

Preview Lab

Preview with #7A41D7

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

Preview Lab → · Contrast checker → · Palette generator →

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