#7A3CC4#7A3CC4

#7A3CC4 is a mid, highly saturated violet. Relative luminance 0.114; OKLCH L 50.8% C 0.201 H 300.1°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#7A3CC4
RGBrgb(122, 60, 196)
HSLhsl(267, 54%, 50%)
HSVhsv(267, 69%, 77%)
CMYKcmyk(37.8%, 69.4%, 0%, 23.1%)
CIE-LABlab(40.17, 53.30, -60.85)
CIE-LCHlch(40.17, 80.89, 311.22°)
OKLaboklab(50.78% 0.1007 -0.1735)
OKLCHoklch(50.78% 0.201 300.1)
XYZxyz(19.6032, 11.3546, 53.3727)
Luminance0.1135 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3CC4 #86C43C
analogous
#3C42C4 #7A3CC4 #BE3CC4
triadic
#7A3CC4 #C47A3C #3CC47A
tetradic
#7A3CC4 #C43C42 #86C43C #3CC4BE
square
#7A3CC4 #C43C42 #86C43C #3CC4BE
split-complementary
#7A3CC4 #C4BE3C #42C43C
monochromatic
#401F67 #5D2D96 #7A3CC4 #9A6BD2 #BA9AE0

Accessibility & contrast

On white

6.42
#7A3CC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#7A3CC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A3CC4
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3CC4#FFFFFF#000000##FFFFFF
##7A3CC41.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC8
Deuteranopia (green-blind)
#005EC1
Tritanopia (blue-blind)
#695D7C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7a3cc4;
/* rgb */ color: rgb(122, 60, 196);
/* oklch */ color: oklch(50.8% 0.201 300.1);
Tailwind
colors: {
  custom: {
    50: '#a676d7',
    500: '#7a3cc4',
    950: '#000000',
  },
}
SCSS
$custom: #7a3cc4;
$custom-light: #a676d7;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3cc4",
  "rgb": {
    "r": 122,
    "g": 60,
    "b": 196
  },
  "hsl": {
    "h": 267.353,
    "s": 53.543,
    "l": 50.196
  },
  "oklch": {
    "l": 0.50779,
    "c": 0.20059,
    "h": 300.1
  },
  "luminance": 0.11355
}

Semantic roles & 50–950 ramp

primary
#7A3CC4
secondary
#B1CC90
accent
#DD4B9A
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7A3CC4

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

Preview Lab → · Contrast checker → · Palette generator →

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