#7A3DC6#7A3DC6

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

Color values

HEX#7A3DC6
RGBrgb(122, 61, 198)
HSLhsl(267, 55%, 51%)
HSVhsv(267, 69%, 78%)
CMYKcmyk(38.4%, 69.2%, 0%, 22.4%)
CIE-LABlab(40.50, 53.31, -61.49)
CIE-LCHlch(40.50, 81.38, 310.93°)
OKLaboklab(51.06% 0.0994 -0.1754)
OKLCHoklch(51.06% 0.202 299.5)
XYZxyz(19.8853, 11.5521, 54.5972)
Luminance0.1155 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3DC6 #89C63D
analogous
#3D44C6 #7A3DC6 #BE3DC6
triadic
#7A3DC6 #C67A3D #3DC67A
tetradic
#7A3DC6 #C63D44 #89C63D #3DC6BE
square
#7A3DC6 #C63D44 #89C63D #3DC6BE
split-complementary
#7A3DC6 #C6BE3D #44C63D
monochromatic
#401F6A #5D2D99 #7A3DC6 #9A6CD4 #BB9CE2

Accessibility & contrast

On white

6.34
#7A3DC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#7A3DC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A3DC6
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3DC6#FFFFFF#000000##FFFFFF
##7A3DC61.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCA
Deuteranopia (green-blind)
#005EC3
Tritanopia (blue-blind)
#685E7D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7a3dc6;
/* rgb */ color: rgb(122, 61, 198);
/* oklch */ color: oklch(51.1% 0.202 299.5);
Tailwind
colors: {
  custom: {
    50: '#a677d8',
    500: '#7a3dc6',
    950: '#000000',
  },
}
SCSS
$custom: #7a3dc6;
$custom-light: #a677d8;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3dc6",
  "rgb": {
    "r": 122,
    "g": 61,
    "b": 198
  },
  "hsl": {
    "h": 266.715,
    "s": 54.582,
    "l": 50.784
  },
  "oklch": {
    "l": 0.51057,
    "c": 0.20157,
    "h": 299.5
  },
  "luminance": 0.11552
}

Semantic roles & 50–950 ramp

primary
#7A3DC6
secondary
#B3CE91
accent
#DE4A9C
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7A3DC6

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

Preview Lab → · Contrast checker → · Palette generator →

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