#7A3CC7#7A3CC7

#7A3CC7 is a mid, highly saturated violet. Relative luminance 0.115; OKLCH L 51.0% C 0.204 H 299.4°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#7A3CC7
RGBrgb(122, 60, 199)
HSLhsl(267, 55%, 51%)
HSVhsv(267, 70%, 78%)
CMYKcmyk(38.7%, 69.8%, 0%, 22%)
CIE-LABlab(40.40, 54.04, -62.23)
CIE-LCHlch(40.40, 82.42, 310.97°)
OKLaboklab(51.01% 0.1002 -0.1775)
OKLCHoklch(51.01% 0.204 299.4)
XYZxyz(19.9481, 11.4926, 55.1891)
Luminance0.1149 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3CC7 #89C73C
analogous
#3C43C7 #7A3CC7 #C03CC7
triadic
#7A3CC7 #C77A3C #3CC77A
tetradic
#7A3CC7 #C73C43 #89C73C #3CC7C0
square
#7A3CC7 #C73C43 #89C73C #3CC7C0
split-complementary
#7A3CC7 #C7C03C #43C73C
monochromatic
#401E6A #5D2C9A #7A3CC7 #9A6CD5 #BB9BE2

Accessibility & contrast

On white

6.37
#7A3CC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#7A3CC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A3CC7
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3CC7#FFFFFF#000000##FFFFFF
##7A3CC71.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCB
Deuteranopia (green-blind)
#005EC4
Tritanopia (blue-blind)
#685E7D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7a3cc7;
/* rgb */ color: rgb(122, 60, 199);
/* oklch */ color: oklch(51.0% 0.204 299.4);
Tailwind
colors: {
  custom: {
    50: '#a777d9',
    500: '#7a3cc7',
    950: '#000000',
  },
}
SCSS
$custom: #7a3cc7;
$custom-light: #a777d9;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3cc7",
  "rgb": {
    "r": 122,
    "g": 60,
    "b": 199
  },
  "hsl": {
    "h": 266.763,
    "s": 55.378,
    "l": 50.784
  },
  "oklch": {
    "l": 0.51012,
    "c": 0.20386,
    "h": 299.4
  },
  "luminance": 0.11493
}

Semantic roles & 50–950 ramp

primary
#7A3CC7
secondary
#B3CE91
accent
#DF499C
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7A3CC7

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

Preview Lab → · Contrast checker → · Palette generator →

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