#7A3CC6#7A3CC6

#7A3CC6 is a mid, highly saturated violet. Relative luminance 0.114; OKLCH L 50.9% C 0.203 H 299.7°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#7A3CC6
RGBrgb(122, 60, 198)
HSLhsl(267, 55%, 51%)
HSVhsv(267, 70%, 78%)
CMYKcmyk(38.4%, 69.7%, 0%, 22.4%)
CIE-LABlab(40.32, 53.79, -61.77)
CIE-LCHlch(40.32, 81.91, 311.05°)
OKLaboklab(50.93% 0.1004 -0.1762)
OKLCHoklch(50.93% 0.203 299.7)
XYZxyz(19.8324, 11.4463, 54.5796)
Luminance0.1145 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3CC6 #88C63C
analogous
#3C43C6 #7A3CC6 #BF3CC6
triadic
#7A3CC6 #C67A3C #3CC67A
tetradic
#7A3CC6 #C63C43 #88C63C #3CC6BF
square
#7A3CC6 #C63C43 #88C63C #3CC6BF
split-complementary
#7A3CC6 #C6BF3C #43C63C
monochromatic
#401F69 #5D2D98 #7A3CC6 #9A6BD4 #BB9BE2

Accessibility & contrast

On white

6.38
#7A3CC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#7A3CC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A3CC6
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3CC6#FFFFFF#000000##FFFFFF
##7A3CC61.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCA
Deuteranopia (green-blind)
#005EC3
Tritanopia (blue-blind)
#695D7D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7a3cc6;
/* rgb */ color: rgb(122, 60, 198);
/* oklch */ color: oklch(50.9% 0.203 299.7);
Tailwind
colors: {
  custom: {
    50: '#a677d8',
    500: '#7a3cc6',
    950: '#000000',
  },
}
SCSS
$custom: #7a3cc6;
$custom-light: #a677d8;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3cc6",
  "rgb": {
    "r": 122,
    "g": 60,
    "b": 198
  },
  "hsl": {
    "h": 266.957,
    "s": 54.762,
    "l": 50.588
  },
  "oklch": {
    "l": 0.50934,
    "c": 0.20278,
    "h": 299.7
  },
  "luminance": 0.11447
}

Semantic roles & 50–950 ramp

primary
#7A3CC6
secondary
#B2CE90
accent
#DE4A9B
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7A3CC6

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

Preview Lab → · Contrast checker → · Palette generator →

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