#7A41BB#7A41BB

#7A41BB is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.8% C 0.184 H 301.6°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#7A41BB
RGBrgb(122, 65, 187)
HSLhsl(268, 48%, 49%)
HSVhsv(268, 65%, 73%)
CMYKcmyk(34.8%, 65.2%, 0%, 26.7%)
CIE-LABlab(40.42, 48.57, -55.18)
CIE-LCHlch(40.42, 73.51, 311.35°)
OKLaboklab(50.75% 0.0965 -0.1568)
OKLCHoklch(50.75% 0.184 301.6)
XYZxyz(18.8838, 11.5059, 48.2301)
Luminance0.1151 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A41BB #82BB41
analogous
#4145BB #7A41BB #B741BB
triadic
#7A41BB #BB7A41 #41BB7A
tetradic
#7A41BB #BB4145 #82BB41 #41BBB7
square
#7A41BB #BB4145 #82BB41 #41BBB7
split-complementary
#7A41BB #BBB741 #45BB41
monochromatic
#3F2160 #5C318E #7A41BB #996DCC #B99ADC

Accessibility & contrast

On white

6.36
#7A41BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#7A41BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A41BB
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A41BB#FFFFFF#000000##FFFFFF
##7A41BB1.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBF
Deuteranopia (green-blind)
#0C5FB8
Tritanopia (blue-blind)
#6D5C78
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7a41bb;
/* rgb */ color: rgb(122, 65, 187);
/* oklch */ color: oklch(50.8% 0.184 301.6);
Tailwind
colors: {
  custom: {
    50: '#a579d0',
    500: '#7a41bb',
    950: '#000000',
  },
}
SCSS
$custom: #7a41bb;
$custom-light: #a579d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7a41bb",
  "rgb": {
    "r": 122,
    "g": 65,
    "b": 187
  },
  "hsl": {
    "h": 268.033,
    "s": 48.413,
    "l": 49.412
  },
  "oklch": {
    "l": 0.50752,
    "c": 0.18414,
    "h": 301.6
  },
  "luminance": 0.11506
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7A41BB

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

Preview Lab → · Contrast checker → · Palette generator →

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