#7A419D#7A419D

#7A419D is a mid, vivid violet. Relative luminance 0.104; OKLCH L 48.7% C 0.150 H 310.6°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#7A419D
RGBrgb(122, 65, 157)
HSLhsl(277, 41%, 44%)
HSVhsv(277, 59%, 62%)
CMYKcmyk(22.3%, 58.6%, 0%, 38.4%)
CIE-LABlab(38.47, 41.31, -40.50)
CIE-LCHlch(38.47, 57.85, 315.57°)
OKLaboklab(48.71% 0.0976 -0.1137)
OKLCHoklch(48.71% 0.15 310.6)
XYZxyz(16.0010, 10.3528, 33.0471)
Luminance0.1035 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A419D #649D41
analogous
#4C419D #7A419D #9D4192
triadic
#7A419D #9D7A41 #419D7A
tetradic
#7A419D #9D4C41 #649D41 #41929D
square
#7A419D #9D4C41 #649D41 #41929D
split-complementary
#7A419D #929D41 #419D4C
monochromatic
#371D46 #582F72 #7A419D #995FBD #B48ACF

Accessibility & contrast

On white

6.84
#7A419D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#7A419D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A419D
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A419D#FFFFFF#000000##FFFFFF
##7A419D1.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2258A0
Deuteranopia (green-blind)
#385C9B
Tritanopia (blue-blind)
#765269
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7a419d;
/* rgb */ color: rgb(122, 65, 157);
/* oklch */ color: oklch(48.7% 0.150 310.6);
Tailwind
colors: {
  custom: {
    50: '#a378ba',
    500: '#7a419d',
    950: '#000000',
  },
}
SCSS
$custom: #7a419d;
$custom-light: #a378ba;
$custom-dark: #000000;
JSON
{
  "hex": "#7a419d",
  "rgb": {
    "r": 122,
    "g": 65,
    "b": 157
  },
  "hsl": {
    "h": 277.174,
    "s": 41.441,
    "l": 43.529
  },
  "oklch": {
    "l": 0.48711,
    "c": 0.14986,
    "h": 310.6
  },
  "luminance": 0.10352
}

Semantic roles & 50–950 ramp

primary
#7A419D
secondary
#96B980
accent
#D15785
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#0F0912
muted
#7F7B81

Preview Lab

Preview with #7A419D

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

Preview Lab → · Contrast checker → · Palette generator →

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