#7A379E#7A379E

#7A379E is a mid, vivid violet. Relative luminance 0.093; OKLCH L 47.4% C 0.166 H 311.7°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#7A379E
RGBrgb(122, 55, 158)
HSLhsl(279, 48%, 42%)
HSVhsv(279, 65%, 62%)
CMYKcmyk(22.8%, 65.2%, 0%, 38%)
CIE-LABlab(36.63, 46.69, -44.04)
CIE-LCHlch(36.63, 64.18, 316.67°)
OKLaboklab(47.39% 0.1104 -0.1241)
OKLCHoklch(47.39% 0.166 311.7)
XYZxyz(15.5627, 9.3390, 33.3239)
Luminance0.0934 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A379E #5B9E37
analogous
#47379E #7A379E #9E378F
triadic
#7A379E #9E7A37 #379E7A
tetradic
#7A379E #9E4737 #5B9E37 #378F9E
square
#7A379E #9E4737 #5B9E37 #378F9E
split-complementary
#7A379E #8F9E37 #379E47
monochromatic
#341743 #572771 #7A379E #9A50C2 #B47DD2

Accessibility & contrast

On white

7.32
#7A379E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#7A379E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A379E
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A379E#FFFFFF#000000##FFFFFF
##7A379E1.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A1
Deuteranopia (green-blind)
#2D579C
Tritanopia (blue-blind)
#764B65
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7a379e;
/* rgb */ color: rgb(122, 55, 158);
/* oklch */ color: oklch(47.4% 0.166 311.7);
Tailwind
colors: {
  custom: {
    50: '#a472bb',
    500: '#7a379e',
    950: '#000000',
  },
}
SCSS
$custom: #7a379e;
$custom-light: #a472bb;
$custom-dark: #000000;
JSON
{
  "hex": "#7a379e",
  "rgb": {
    "r": 122,
    "g": 55,
    "b": 158
  },
  "hsl": {
    "h": 279.029,
    "s": 48.357,
    "l": 41.765
  },
  "oklch": {
    "l": 0.47394,
    "c": 0.16607,
    "h": 311.7
  },
  "luminance": 0.09339
}

Semantic roles & 50–950 ramp

primary
#7A379E
secondary
#8EBB76
accent
#D8507F
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#0F0812
muted
#7F7B81

Preview Lab

Preview with #7A379E

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

Preview Lab → · Contrast checker → · Palette generator →

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