#7A41C0#7A41C0

#7A41C0 is a mid, vivid violet. Relative luminance 0.117; OKLCH L 51.1% C 0.190 H 300.4°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#7A41C0
RGBrgb(122, 65, 192)
HSLhsl(267, 50%, 50%)
HSVhsv(267, 66%, 75%)
CMYKcmyk(36.5%, 66.1%, 0%, 24.7%)
CIE-LABlab(40.77, 49.82, -57.54)
CIE-LCHlch(40.77, 76.11, 310.89°)
OKLaboklab(51.12% 0.096 -0.1638)
OKLCHoklch(51.12% 0.19 300.4)
XYZxyz(19.4284, 11.7238, 51.0983)
Luminance0.1172 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A41C0 #87C041
analogous
#4147C0 #7A41C0 #B941C0
triadic
#7A41C0 #C07A41 #41C07A
tetradic
#7A41C0 #C04147 #87C041 #41C0B9
square
#7A41C0 #C04147 #87C041 #41C0B9
split-complementary
#7A41C0 #C0B941 #47C041
monochromatic
#402265 #5D3193 #7A41C0 #9A6FCF #BA9DDE

Accessibility & contrast

On white

6.28
#7A41C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#7A41C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A41C0
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A41C0#FFFFFF#000000##FFFFFF
##7A41C01.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C4
Deuteranopia (green-blind)
#005FBD
Tritanopia (blue-blind)
#6B5E7B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7a41c0;
/* rgb */ color: rgb(122, 65, 192);
/* oklch */ color: oklch(51.1% 0.190 300.4);
Tailwind
colors: {
  custom: {
    50: '#a679d4',
    500: '#7a41c0',
    950: '#000000',
  },
}
SCSS
$custom: #7a41c0;
$custom-light: #a679d4;
$custom-dark: #000000;
JSON
{
  "hex": "#7a41c0",
  "rgb": {
    "r": 122,
    "g": 65,
    "b": 192
  },
  "hsl": {
    "h": 266.929,
    "s": 50.198,
    "l": 50.392
  },
  "oklch": {
    "l": 0.51118,
    "c": 0.18981,
    "h": 300.4
  },
  "luminance": 0.11724
}

Semantic roles & 50–950 ramp

primary
#7A41C0
secondary
#B1CB92
accent
#DA4E9B
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7A41C0

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

Preview Lab → · Contrast checker → · Palette generator →

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