#7A3CC3#7A3CC3

#7A3CC3 is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.7% C 0.200 H 300.4°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#7A3CC3
RGBrgb(122, 60, 195)
HSLhsl(268, 53%, 50%)
HSVhsv(268, 69%, 76%)
CMYKcmyk(37.4%, 69.2%, 0%, 23.5%)
CIE-LABlab(40.10, 53.05, -60.39)
CIE-LCHlch(40.10, 80.38, 311.30°)
OKLaboklab(50.7% 0.1009 -0.1721)
OKLCHoklch(50.7% 0.2 300.4)
XYZxyz(19.4898, 11.3093, 52.7753)
Luminance0.1131 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3CC3 #85C33C
analogous
#3C41C3 #7A3CC3 #BE3CC3
triadic
#7A3CC3 #C37A3C #3CC37A
tetradic
#7A3CC3 #C33C41 #85C33C #3CC3BE
square
#7A3CC3 #C33C41 #85C33C #3CC3BE
split-complementary
#7A3CC3 #C3BE3C #41C33C
monochromatic
#3F1F65 #5D2E94 #7A3CC3 #9A6BD1 #BA9AE0

Accessibility & contrast

On white

6.44
#7A3CC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#7A3CC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A3CC3
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3CC3#FFFFFF#000000##FFFFFF
##7A3CC31.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC7
Deuteranopia (green-blind)
#005EC0
Tritanopia (blue-blind)
#6A5C7B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7a3cc3;
/* rgb */ color: rgb(122, 60, 195);
/* oklch */ color: oklch(50.7% 0.200 300.4);
Tailwind
colors: {
  custom: {
    50: '#a676d6',
    500: '#7a3cc3',
    950: '#000000',
  },
}
SCSS
$custom: #7a3cc3;
$custom-light: #a676d6;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3cc3",
  "rgb": {
    "r": 122,
    "g": 60,
    "b": 195
  },
  "hsl": {
    "h": 267.556,
    "s": 52.941,
    "l": 50
  },
  "oklch": {
    "l": 0.50702,
    "c": 0.1995,
    "h": 300.4
  },
  "luminance": 0.11309
}

Semantic roles & 50–950 ramp

primary
#7A3CC3
secondary
#B0CC8F
accent
#DC4B9A
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7A3CC3

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

Preview Lab → · Contrast checker → · Palette generator →

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