#7A419C#7A419C

#7A419C is a mid, vivid violet. Relative luminance 0.103; OKLCH L 48.6% C 0.149 H 311.0°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#7A419C
RGBrgb(122, 65, 156)
HSLhsl(278, 41%, 43%)
HSVhsv(278, 58%, 61%)
CMYKcmyk(21.8%, 58.3%, 0%, 38.8%)
CIE-LABlab(38.41, 41.07, -39.99)
CIE-LCHlch(38.41, 57.32, 315.77°)
OKLaboklab(48.65% 0.0975 -0.1123)
OKLCHoklch(48.65% 0.149 311)
XYZxyz(15.9160, 10.3188, 32.5993)
Luminance0.1032 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A419C #639C41
analogous
#4C419C #7A419C #9C4190
triadic
#7A419C #9C7A41 #419C7A
tetradic
#7A419C #9C4C41 #639C41 #41909C
square
#7A419C #9C4C41 #639C41 #41909C
split-complementary
#7A419C #909C41 #419C4C
monochromatic
#361D46 #582F71 #7A419C #995EBC #B489CE

Accessibility & contrast

On white

6.85
#7A419C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#7A419C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A419C
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A419C#FFFFFF#000000##FFFFFF
##7A419C1.006.853.066.85
#FFFFFF6.851.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23589F
Deuteranopia (green-blind)
#395C9A
Tritanopia (blue-blind)
#765168
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7a419c;
/* rgb */ color: rgb(122, 65, 156);
/* oklch */ color: oklch(48.6% 0.149 311.0);
Tailwind
colors: {
  custom: {
    50: '#a378ba',
    500: '#7a419c',
    950: '#000000',
  },
}
SCSS
$custom: #7a419c;
$custom-light: #a378ba;
$custom-dark: #000000;
JSON
{
  "hex": "#7a419c",
  "rgb": {
    "r": 122,
    "g": 65,
    "b": 156
  },
  "hsl": {
    "h": 277.582,
    "s": 41.176,
    "l": 43.333
  },
  "oklch": {
    "l": 0.48648,
    "c": 0.14872,
    "h": 311
  },
  "luminance": 0.10318
}

Semantic roles & 50–950 ramp

primary
#7A419C
secondary
#95B980
accent
#D15784
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#0F0911
muted
#7F7B80

Preview Lab

Preview with #7A419C

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

Preview Lab → · Contrast checker → · Palette generator →

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