#7A409C#7A409C

#7A409C is a mid, vivid violet. Relative luminance 0.102; OKLCH L 48.5% C 0.150 H 311.1°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#7A409C
RGBrgb(122, 64, 156)
HSLhsl(278, 42%, 43%)
HSVhsv(278, 59%, 61%)
CMYKcmyk(21.8%, 59%, 0%, 38.8%)
CIE-LABlab(38.21, 41.61, -40.31)
CIE-LCHlch(38.21, 57.93, 315.91°)
OKLaboklab(48.5% 0.0989 -0.1132)
OKLCHoklch(48.5% 0.15 311.1)
XYZxyz(15.8591, 10.2050, 32.5804)
Luminance0.1021 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A409C #629C40
analogous
#4C409C #7A409C #9C4090
triadic
#7A409C #9C7A40 #409C7A
tetradic
#7A409C #9C4C40 #629C40 #40909C
square
#7A409C #9C4C40 #629C40 #40909C
split-complementary
#7A409C #909C40 #409C4C
monochromatic
#361C45 #582E71 #7A409C #995DBC #B488CE

Accessibility & contrast

On white

6.91
#7A409C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#7A409C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A409C
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A409C#FFFFFF#000000##FFFFFF
##7A409C1.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21579F
Deuteranopia (green-blind)
#385B9A
Tritanopia (blue-blind)
#765168
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7a409c;
/* rgb */ color: rgb(122, 64, 156);
/* oklch */ color: oklch(48.5% 0.150 311.1);
Tailwind
colors: {
  custom: {
    50: '#a378ba',
    500: '#7a409c',
    950: '#000000',
  },
}
SCSS
$custom: #7a409c;
$custom-light: #a378ba;
$custom-dark: #000000;
JSON
{
  "hex": "#7a409c",
  "rgb": {
    "r": 122,
    "g": 64,
    "b": 156
  },
  "hsl": {
    "h": 277.826,
    "s": 41.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.48501,
    "c": 0.1503,
    "h": 311.1
  },
  "luminance": 0.10205
}

Semantic roles & 50–950 ramp

primary
#7A409C
secondary
#94B97F
accent
#D25684
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#0F0911
muted
#7F7B80

Preview Lab

Preview with #7A409C

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

Preview Lab → · Contrast checker → · Palette generator →

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