#7A41C5#7A41C5

#7A41C5 is a mid, vivid violet. Relative luminance 0.119; OKLCH L 51.5% C 0.195 H 299.2°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#7A41C5
RGBrgb(122, 65, 197)
HSLhsl(266, 53%, 51%)
HSVhsv(266, 67%, 77%)
CMYKcmyk(38.1%, 67%, 0%, 22.7%)
CIE-LABlab(41.14, 51.08, -59.86)
CIE-LCHlch(41.14, 78.70, 310.47°)
OKLaboklab(51.49% 0.0954 -0.1706)
OKLCHoklch(51.49% 0.195 299.2)
XYZxyz(19.9919, 11.9492, 54.0656)
Luminance0.1195 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A41C5 #8CC541
analogous
#414AC5 #7A41C5 #BC41C5
triadic
#7A41C5 #C57A41 #41C57A
tetradic
#7A41C5 #C5414A #8CC541 #41C5BC
square
#7A41C5 #C5414A #8CC541 #41C5BC
split-complementary
#7A41C5 #C5BC41 #4AC541
monochromatic
#41216B #5D2F9A #7A41C5 #9B70D3 #BC9FE2

Accessibility & contrast

On white

6.20
#7A41C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#7A41C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A41C5
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A41C5#FFFFFF#000000##FFFFFF
##7A41C51.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C9
Deuteranopia (green-blind)
#0060C2
Tritanopia (blue-blind)
#69607E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7a41c5;
/* rgb */ color: rgb(122, 65, 197);
/* oklch */ color: oklch(51.5% 0.195 299.2);
Tailwind
colors: {
  custom: {
    50: '#a679d7',
    500: '#7a41c5',
    950: '#000000',
  },
}
SCSS
$custom: #7a41c5;
$custom-light: #a679d7;
$custom-dark: #000000;
JSON
{
  "hex": "#7a41c5",
  "rgb": {
    "r": 122,
    "g": 65,
    "b": 197
  },
  "hsl": {
    "h": 265.909,
    "s": 53.226,
    "l": 51.373
  },
  "oklch": {
    "l": 0.51492,
    "c": 0.19546,
    "h": 299.2
  },
  "luminance": 0.11949
}

Semantic roles & 50–950 ramp

primary
#7A41C5
secondary
#B5CE94
accent
#DD4B9E
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7A41C5

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

Preview Lab → · Contrast checker → · Palette generator →

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