#7A3CCD#7A3CCD

#7A3CCD is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 51.5% C 0.210 H 298.1°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#7A3CCD
RGBrgb(122, 60, 205)
HSLhsl(266, 59%, 52%)
HSVhsv(266, 71%, 80%)
CMYKcmyk(40.5%, 70.7%, 0%, 19.6%)
CIE-LABlab(40.86, 55.54, -64.96)
CIE-LCHlch(40.86, 85.46, 310.53°)
OKLaboklab(51.48% 0.0992 -0.1856)
OKLCHoklch(51.48% 0.21 298.1)
XYZxyz(20.6585, 11.7767, 58.9305)
Luminance0.1178 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3CCD #8FCD3C
analogous
#3C47CD #7A3CCD #C33CCD
triadic
#7A3CCD #CD7A3C #3CCD7A
tetradic
#7A3CCD #CD3C47 #8FCD3C #3CCDC3
square
#7A3CCD #CD3C47 #8FCD3C #3CCDC3
split-complementary
#7A3CCD #CDC33C #47CD3C
monochromatic
#411D71 #5D2AA2 #7A3CCD #9B6DD9 #BC9DE6

Accessibility & contrast

On white

6.26
#7A3CCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#7A3CCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A3CCD
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3CCD#FFFFFF#000000##FFFFFF
##7A3CCD1.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D1
Deuteranopia (green-blind)
#005FCA
Tritanopia (blue-blind)
#666081
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7a3ccd;
/* rgb */ color: rgb(122, 60, 205);
/* oklch */ color: oklch(51.5% 0.210 298.1);
Tailwind
colors: {
  custom: {
    50: '#a777dd',
    500: '#7a3ccd',
    950: '#000000',
  },
}
SCSS
$custom: #7a3ccd;
$custom-light: #a777dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3ccd",
  "rgb": {
    "r": 122,
    "g": 60,
    "b": 205
  },
  "hsl": {
    "h": 265.655,
    "s": 59.184,
    "l": 51.961
  },
  "oklch": {
    "l": 0.51484,
    "c": 0.21039,
    "h": 298.1
  },
  "luminance": 0.11777
}

Semantic roles & 50–950 ramp

primary
#7A3CCD
secondary
#B7D293
accent
#E2459F
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7A3CCD

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

Preview Lab → · Contrast checker → · Palette generator →

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