#7A3CC2#7A3CC2

#7A3CC2 is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.6% C 0.198 H 300.6°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#7A3CC2
RGBrgb(122, 60, 194)
HSLhsl(268, 53%, 50%)
HSVhsv(268, 69%, 76%)
CMYKcmyk(37.1%, 69.1%, 0%, 23.9%)
CIE-LABlab(40.02, 52.80, -59.92)
CIE-LCHlch(40.02, 79.87, 311.38°)
OKLaboklab(50.63% 0.101 -0.1708)
OKLCHoklch(50.63% 0.198 300.6)
XYZxyz(19.3771, 11.2642, 52.1818)
Luminance0.1126 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3CC2 #84C23C
analogous
#3C41C2 #7A3CC2 #BD3CC2
triadic
#7A3CC2 #C27A3C #3CC27A
tetradic
#7A3CC2 #C23C41 #84C23C #3CC2BD
square
#7A3CC2 #C23C41 #84C23C #3CC2BD
split-complementary
#7A3CC2 #C2BD3C #41C23C
monochromatic
#3F1F65 #5D2E93 #7A3CC2 #9A6AD1 #BA99DF

Accessibility & contrast

On white

6.46
#7A3CC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#7A3CC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A3CC2
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3CC2#FFFFFF#000000##FFFFFF
##7A3CC21.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC6
Deuteranopia (green-blind)
#005DBF
Tritanopia (blue-blind)
#6A5C7A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7a3cc2;
/* rgb */ color: rgb(122, 60, 194);
/* oklch */ color: oklch(50.6% 0.198 300.6);
Tailwind
colors: {
  custom: {
    50: '#a676d5',
    500: '#7a3cc2',
    950: '#000000',
  },
}
SCSS
$custom: #7a3cc2;
$custom-light: #a676d5;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3cc2",
  "rgb": {
    "r": 122,
    "g": 60,
    "b": 194
  },
  "hsl": {
    "h": 267.761,
    "s": 52.756,
    "l": 49.804
  },
  "oklch": {
    "l": 0.50626,
    "c": 0.19841,
    "h": 300.6
  },
  "luminance": 0.11264
}

Semantic roles & 50–950 ramp

primary
#7A3CC2
secondary
#AFCB8F
accent
#DC4C99
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7A3CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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