#7A41BA#7A41BA

#7A41BA is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.7% C 0.183 H 301.8°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#7A41BA
RGBrgb(122, 65, 186)
HSLhsl(268, 48%, 49%)
HSVhsv(268, 65%, 73%)
CMYKcmyk(34.4%, 65.1%, 0%, 27.1%)
CIE-LABlab(40.35, 48.32, -54.71)
CIE-LCHlch(40.35, 72.99, 311.45°)
OKLaboklab(50.68% 0.0966 -0.1554)
OKLCHoklch(50.68% 0.183 301.8)
XYZxyz(18.7772, 11.4633, 47.6682)
Luminance0.1146 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A41BA #81BA41
analogous
#4145BA #7A41BA #B741BA
triadic
#7A41BA #BA7A41 #41BA7A
tetradic
#7A41BA #BA4145 #81BA41 #41BAB7
square
#7A41BA #BA4145 #81BA41 #41BAB7
split-complementary
#7A41BA #BAB741 #45BA41
monochromatic
#3F215F #5C318D #7A41BA #996CCC #B99ADC

Accessibility & contrast

On white

6.38
#7A41BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#7A41BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A41BA
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A41BA#FFFFFF#000000##FFFFFF
##7A41BA1.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBE
Deuteranopia (green-blind)
#105FB7
Tritanopia (blue-blind)
#6D5C78
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7a41ba;
/* rgb */ color: rgb(122, 65, 186);
/* oklch */ color: oklch(50.7% 0.183 301.8);
Tailwind
colors: {
  custom: {
    50: '#a579cf',
    500: '#7a41ba',
    950: '#000000',
  },
}
SCSS
$custom: #7a41ba;
$custom-light: #a579cf;
$custom-dark: #000000;
JSON
{
  "hex": "#7a41ba",
  "rgb": {
    "r": 122,
    "g": 65,
    "b": 186
  },
  "hsl": {
    "h": 268.264,
    "s": 48.207,
    "l": 49.216
  },
  "oklch": {
    "l": 0.50679,
    "c": 0.183,
    "h": 301.8
  },
  "luminance": 0.11463
}

Semantic roles & 50–950 ramp

primary
#7A41BA
secondary
#ADC88F
accent
#D85098
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #7A41BA

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

Preview Lab → · Contrast checker → · Palette generator →

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