#7A41D2#7A41D2

#7A41D2 is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 52.5% C 0.210 H 296.4°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#7A41D2
RGBrgb(122, 65, 210)
HSLhsl(264, 62%, 54%)
HSVhsv(264, 69%, 82%)
CMYKcmyk(41.9%, 69%, 0%, 17.6%)
CIE-LABlab(42.11, 54.40, -65.81)
CIE-LCHlch(42.11, 85.38, 309.58°)
OKLaboklab(52.49% 0.0934 -0.1881)
OKLCHoklch(52.49% 0.21 296.4)
XYZxyz(21.5461, 12.5709, 62.2515)
Luminance0.1257 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A41D2 #99D241
analogous
#4151D2 #7A41D2 #C241D2
triadic
#7A41D2 #D27A41 #41D27A
tetradic
#7A41D2 #D24151 #99D241 #41D2C2
square
#7A41D2 #D24151 #99D241 #41D2C2
split-complementary
#7A41D2 #D2C241 #51D241
monochromatic
#421D7B #5D29AD #7A41D2 #9D72DE #BFA4E9

Accessibility & contrast

On white

5.98
#7A41D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#7A41D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A41D2
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A41D2#FFFFFF#000000##FFFFFF
##7A41D21.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D6
Deuteranopia (green-blind)
#0061CF
Tritanopia (blue-blind)
#636585
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7a41d2;
/* rgb */ color: rgb(122, 65, 210);
/* oklch */ color: oklch(52.5% 0.210 296.4);
Tailwind
colors: {
  custom: {
    50: '#a77ae1',
    500: '#7a41d2',
    950: '#000000',
  },
}
SCSS
$custom: #7a41d2;
$custom-light: #a77ae1;
$custom-dark: #000000;
JSON
{
  "hex": "#7a41d2",
  "rgb": {
    "r": 122,
    "g": 65,
    "b": 210
  },
  "hsl": {
    "h": 263.586,
    "s": 61.702,
    "l": 53.922
  },
  "oklch": {
    "l": 0.52494,
    "c": 0.21001,
    "h": 296.4
  },
  "luminance": 0.12571
}

Semantic roles & 50–950 ramp

primary
#7A41D2
secondary
#BED698
accent
#E543A5
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7A41D2

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

Preview Lab → · Contrast checker → · Palette generator →

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