#7A3DCA#7A3DCA

#7A3DCA is a mid, highly saturated violet. Relative luminance 0.117; OKLCH L 51.4% C 0.206 H 298.6°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#7A3DCA
RGBrgb(122, 61, 202)
HSLhsl(266, 57%, 52%)
HSVhsv(266, 70%, 79%)
CMYKcmyk(39.6%, 69.8%, 0%, 20.8%)
CIE-LABlab(40.80, 54.31, -63.32)
CIE-LCHlch(40.80, 83.42, 310.62°)
OKLaboklab(51.37% 0.0987 -0.1807)
OKLCHoklch(51.37% 0.206 298.6)
XYZxyz(20.3527, 11.7390, 57.0592)
Luminance0.1174 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3DCA #8DCA3D
analogous
#3D47CA #7A3DCA #C03DCA
triadic
#7A3DCA #CA7A3D #3DCA7A
tetradic
#7A3DCA #CA3D47 #8DCA3D #3DCAC0
square
#7A3DCA #CA3D47 #8DCA3D #3DCAC0
split-complementary
#7A3DCA #CAC03D #47CA3D
monochromatic
#411E6E #5D2B9F #7A3DCA #9B6DD7 #BC9DE4

Accessibility & contrast

On white

6.27
#7A3DCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#7A3DCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A3DCA
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3DCA#FFFFFF#000000##FFFFFF
##7A3DCA1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CE
Deuteranopia (green-blind)
#005FC7
Tritanopia (blue-blind)
#675F7F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7a3dca;
/* rgb */ color: rgb(122, 61, 202);
/* oklch */ color: oklch(51.4% 0.206 298.6);
Tailwind
colors: {
  custom: {
    50: '#a777db',
    500: '#7a3dca',
    950: '#000000',
  },
}
SCSS
$custom: #7a3dca;
$custom-light: #a777db;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3dca",
  "rgb": {
    "r": 122,
    "g": 61,
    "b": 202
  },
  "hsl": {
    "h": 265.957,
    "s": 57.085,
    "l": 51.569
  },
  "oklch": {
    "l": 0.51368,
    "c": 0.20595,
    "h": 298.6
  },
  "luminance": 0.11739
}

Semantic roles & 50–950 ramp

primary
#7A3DCA
secondary
#B6D092
accent
#E0479E
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7A3DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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