#7A3DC7#7A3DC7

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

Color values

HEX#7A3DC7
RGBrgb(122, 61, 199)
HSLhsl(267, 55%, 51%)
HSVhsv(267, 69%, 78%)
CMYKcmyk(38.7%, 69.3%, 0%, 22%)
CIE-LABlab(40.57, 53.56, -61.94)
CIE-LCHlch(40.57, 81.89, 310.85°)
OKLaboklab(51.14% 0.0992 -0.1767)
OKLCHoklch(51.14% 0.203 299.3)
XYZxyz(20.0010, 11.5984, 55.2067)
Luminance0.1160 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3DC7 #8AC73D
analogous
#3D45C7 #7A3DC7 #BF3DC7
triadic
#7A3DC7 #C77A3D #3DC77A
tetradic
#7A3DC7 #C73D45 #8AC73D #3DC7BF
square
#7A3DC7 #C73D45 #8AC73D #3DC7BF
split-complementary
#7A3DC7 #C7BF3D #45C73D
monochromatic
#401F6B #5D2D9A #7A3DC7 #9B6CD5 #BB9CE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A3DC7#FFFFFF#000000##FFFFFF
##7A3DC71.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)
#005FCB
Deuteranopia (green-blind)
#005EC4
Tritanopia (blue-blind)
#685E7D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7a3dc7;
/* rgb */ color: rgb(122, 61, 199);
/* oklch */ color: oklch(51.1% 0.203 299.3);
Tailwind
colors: {
  custom: {
    50: '#a677d9',
    500: '#7a3dc7',
    950: '#000000',
  },
}
SCSS
$custom: #7a3dc7;
$custom-light: #a677d9;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3dc7",
  "rgb": {
    "r": 122,
    "g": 61,
    "b": 199
  },
  "hsl": {
    "h": 266.522,
    "s": 55.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.51135,
    "c": 0.20266,
    "h": 299.3
  },
  "luminance": 0.11599
}

Semantic roles & 50–950 ramp

primary
#7A3DC7
secondary
#B3CE91
accent
#DF499D
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7A3DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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