#7A3CC9#7A3CC9

#7A3CC9 is a mid, highly saturated violet. Relative luminance 0.116; OKLCH L 51.2% C 0.206 H 299.0°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#7A3CC9
RGBrgb(122, 60, 201)
HSLhsl(266, 57%, 51%)
HSVhsv(266, 70%, 79%)
CMYKcmyk(39.3%, 70.1%, 0%, 21.2%)
CIE-LABlab(40.55, 54.54, -63.14)
CIE-LCHlch(40.55, 83.43, 310.82°)
OKLaboklab(51.17% 0.0999 -0.1802)
OKLCHoklch(51.17% 0.206 299)
XYZxyz(20.1819, 11.5861, 56.4201)
Luminance0.1159 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3CC9 #8BC93C
analogous
#3C44C9 #7A3CC9 #C03CC9
triadic
#7A3CC9 #C97A3C #3CC97A
tetradic
#7A3CC9 #C93C44 #8BC93C #3CC9C0
square
#7A3CC9 #C93C44 #8BC93C #3CC9C0
split-complementary
#7A3CC9 #C9C03C #44C93C
monochromatic
#411E6D #5D2B9C #7A3CC9 #9B6CD6 #BB9CE4

Accessibility & contrast

On white

6.33
#7A3CC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#7A3CC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A3CC9
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3CC9#FFFFFF#000000##FFFFFF
##7A3CC91.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CD
Deuteranopia (green-blind)
#005EC6
Tritanopia (blue-blind)
#675E7E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7a3cc9;
/* rgb */ color: rgb(122, 60, 201);
/* oklch */ color: oklch(51.2% 0.206 299.0);
Tailwind
colors: {
  custom: {
    50: '#a777da',
    500: '#7a3cc9',
    950: '#000000',
  },
}
SCSS
$custom: #7a3cc9;
$custom-light: #a777da;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3cc9",
  "rgb": {
    "r": 122,
    "g": 60,
    "b": 201
  },
  "hsl": {
    "h": 266.383,
    "s": 56.627,
    "l": 51.176
  },
  "oklch": {
    "l": 0.51168,
    "c": 0.20604,
    "h": 299
  },
  "luminance": 0.11586
}

Semantic roles & 50–950 ramp

primary
#7A3CC9
secondary
#B4D091
accent
#E0489D
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7A3CC9

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

Preview Lab → · Contrast checker → · Palette generator →

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