#7A3CA2#7A3CA2

#7A3CA2 is a mid, vivid violet. Relative luminance 0.100; OKLCH L 48.3% C 0.163 H 309.6°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#7A3CA2
RGBrgb(122, 60, 162)
HSLhsl(276, 46%, 44%)
HSVhsv(276, 63%, 64%)
CMYKcmyk(24.7%, 63%, 0%, 36.5%)
CIE-LABlab(37.80, 45.10, -44.56)
CIE-LCHlch(37.80, 63.40, 315.34°)
OKLaboklab(48.33% 0.104 -0.1257)
OKLCHoklch(48.33% 0.163 309.6)
XYZxyz(16.1622, 9.9782, 35.2500)
Luminance0.0998 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3CA2 #64A23C
analogous
#473CA2 #7A3CA2 #A23C97
triadic
#7A3CA2 #A27A3C #3CA27A
tetradic
#7A3CA2 #A2473C #64A23C #3C97A2
square
#7A3CA2 #A2473C #64A23C #3C97A2
split-complementary
#7A3CA2 #97A23C #3CA247
monochromatic
#371B49 #582B75 #7A3CA2 #9959C2 #B486D2

Accessibility & contrast

On white

7.01
#7A3CA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#7A3CA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A3CA2
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3CA2#FFFFFF#000000##FFFFFF
##7A3CA21.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A56A5
Deuteranopia (green-blind)
#2F5AA0
Tritanopia (blue-blind)
#755069
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7a3ca2;
/* rgb */ color: rgb(122, 60, 162);
/* oklch */ color: oklch(48.3% 0.163 309.6);
Tailwind
colors: {
  custom: {
    50: '#a475be',
    500: '#7a3ca2',
    950: '#000000',
  },
}
SCSS
$custom: #7a3ca2;
$custom-light: #a475be;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3ca2",
  "rgb": {
    "r": 122,
    "g": 60,
    "b": 162
  },
  "hsl": {
    "h": 276.471,
    "s": 45.946,
    "l": 43.529
  },
  "oklch": {
    "l": 0.48326,
    "c": 0.16313,
    "h": 309.6
  },
  "luminance": 0.09978
}

Semantic roles & 50–950 ramp

primary
#7A3CA2
secondary
#96BC7D
accent
#D65286
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#0F0912
muted
#7F7B81

Preview Lab

Preview with #7A3CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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