#7A41BE#7A41BE

#7A41BE is a mid, vivid violet. Relative luminance 0.116; OKLCH L 51.0% C 0.188 H 300.8°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#7A41BE
RGBrgb(122, 65, 190)
HSLhsl(267, 49%, 50%)
HSVhsv(267, 66%, 75%)
CMYKcmyk(35.8%, 65.8%, 0%, 25.5%)
CIE-LABlab(40.63, 49.32, -56.60)
CIE-LCHlch(40.63, 75.07, 311.07°)
OKLaboklab(50.97% 0.0962 -0.161)
OKLCHoklch(50.97% 0.188 300.8)
XYZxyz(19.2084, 11.6358, 49.9392)
Luminance0.1164 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A41BE #85BE41
analogous
#4146BE #7A41BE #B941BE
triadic
#7A41BE #BE7A41 #41BE7A
tetradic
#7A41BE #BE4146 #85BE41 #41BEB9
square
#7A41BE #BE4146 #85BE41 #41BEB9
split-complementary
#7A41BE #BEB941 #46BE41
monochromatic
#3F2263 #5D3190 #7A41BE #9A6FCE #BA9CDD

Accessibility & contrast

On white

6.31
#7A41BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#7A41BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A41BE
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A41BE#FFFFFF#000000##FFFFFF
##7A41BE1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC2
Deuteranopia (green-blind)
#005FBB
Tritanopia (blue-blind)
#6B5D7A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7a41be;
/* rgb */ color: rgb(122, 65, 190);
/* oklch */ color: oklch(51.0% 0.188 300.8);
Tailwind
colors: {
  custom: {
    50: '#a579d2',
    500: '#7a41be',
    950: '#000000',
  },
}
SCSS
$custom: #7a41be;
$custom-light: #a579d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7a41be",
  "rgb": {
    "r": 122,
    "g": 65,
    "b": 190
  },
  "hsl": {
    "h": 267.36,
    "s": 49.02,
    "l": 50
  },
  "oklch": {
    "l": 0.50971,
    "c": 0.18754,
    "h": 300.8
  },
  "luminance": 0.11636
}

Semantic roles & 50–950 ramp

primary
#7A41BE
secondary
#B0C991
accent
#D94F9A
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7A41BE

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

Preview Lab → · Contrast checker → · Palette generator →

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