#7A41D9#7A41D9

#7A41D9 is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 53.1% C 0.218 H 295.0°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#7A41D9
RGBrgb(122, 65, 217)
HSLhsl(263, 67%, 55%)
HSVhsv(263, 70%, 85%)
CMYKcmyk(43.8%, 70%, 0%, 14.9%)
CIE-LABlab(42.65, 56.20, -68.94)
CIE-LCHlch(42.65, 88.94, 309.19°)
OKLaboklab(53.05% 0.0922 -0.1973)
OKLCHoklch(53.05% 0.218 295)
XYZxyz(22.4374, 12.9274, 66.9452)
Luminance0.1293 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A41D9 #A0D941
analogous
#4154D9 #7A41D9 #C641D9
triadic
#7A41D9 #D97A41 #41D97A
tetradic
#7A41D9 #D94154 #A0D941 #41D9C6
square
#7A41D9 #D94154 #A0D941 #41D9C6
split-complementary
#7A41D9 #D9C641 #54D941
monochromatic
#421B85 #5C25B8 #7A41D9 #9E74E3 #C1A7ED

Accessibility & contrast

On white

5.86
#7A41D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#7A41D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A41D9
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A41D9#FFFFFF#000000##FFFFFF
##7A41D91.005.863.595.86
#FFFFFF5.861.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066DD
Deuteranopia (green-blind)
#0062D6
Tritanopia (blue-blind)
#606789
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7a41d9;
/* rgb */ color: rgb(122, 65, 217);
/* oklch */ color: oklch(53.1% 0.218 295.0);
Tailwind
colors: {
  custom: {
    50: '#a87ae6',
    500: '#7a41d9',
    950: '#000000',
  },
}
SCSS
$custom: #7a41d9;
$custom-light: #a87ae6;
$custom-dark: #000000;
JSON
{
  "hex": "#7a41d9",
  "rgb": {
    "r": 122,
    "g": 65,
    "b": 217
  },
  "hsl": {
    "h": 262.5,
    "s": 66.667,
    "l": 55.294
  },
  "oklch": {
    "l": 0.53051,
    "c": 0.21777,
    "h": 295
  },
  "luminance": 0.12928
}

Semantic roles & 50–950 ramp

primary
#7A41D9
secondary
#C3DB9B
accent
#EA3EA9
background
#FAF7FE
surface
#F5EEFC
border
#CFC9D5
text
#110916
muted
#807B84

Preview Lab

Preview with #7A41D9

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

Preview Lab → · Contrast checker → · Palette generator →

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