#7A41C8#7A41C8

#7A41C8 is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.7% C 0.199 H 298.5°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#7A41C8
RGBrgb(122, 65, 200)
HSLhsl(265, 55%, 52%)
HSVhsv(265, 68%, 78%)
CMYKcmyk(39%, 67.5%, 0%, 21.6%)
CIE-LABlab(41.36, 51.84, -61.25)
CIE-LCHlch(41.36, 80.25, 310.25°)
OKLaboklab(51.72% 0.095 -0.1747)
OKLCHoklch(51.72% 0.199 298.5)
XYZxyz(20.3390, 12.0880, 55.8940)
Luminance0.1209 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A41C8 #8FC841
analogous
#414CC8 #7A41C8 #BD41C8
triadic
#7A41C8 #C87A41 #41C87A
tetradic
#7A41C8 #C8414C #8FC841 #41C8BD
square
#7A41C8 #C8414C #8FC841 #41C8BD
split-complementary
#7A41C8 #C8BD41 #4CC841
monochromatic
#41206F #5D2E9E #7A41C8 #9B70D6 #BCA0E3

Accessibility & contrast

On white

6.14
#7A41C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#7A41C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A41C8
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A41C8#FFFFFF#000000##FFFFFF
##7A41C81.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CC
Deuteranopia (green-blind)
#0060C5
Tritanopia (blue-blind)
#68617F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7a41c8;
/* rgb */ color: rgb(122, 65, 200);
/* oklch */ color: oklch(51.7% 0.199 298.5);
Tailwind
colors: {
  custom: {
    50: '#a679da',
    500: '#7a41c8',
    950: '#000000',
  },
}
SCSS
$custom: #7a41c8;
$custom-light: #a679da;
$custom-dark: #000000;
JSON
{
  "hex": "#7a41c8",
  "rgb": {
    "r": 122,
    "g": 65,
    "b": 200
  },
  "hsl": {
    "h": 265.333,
    "s": 55.102,
    "l": 51.961
  },
  "oklch": {
    "l": 0.51719,
    "c": 0.19883,
    "h": 298.5
  },
  "luminance": 0.12088
}

Semantic roles & 50–950 ramp

primary
#7A41C8
secondary
#B7D095
accent
#DE499F
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7A41C8

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

Preview Lab → · Contrast checker → · Palette generator →

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