#7A3DB7#7A3DB7

#7A3DB7 is a mid, vivid violet. Relative luminance 0.109; OKLCH L 49.9% C 0.185 H 303.2°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#7A3DB7
RGBrgb(122, 61, 183)
HSLhsl(270, 50%, 48%)
HSVhsv(270, 67%, 72%)
CMYKcmyk(33.3%, 66.7%, 0%, 28.2%)
CIE-LABlab(39.40, 49.60, -54.48)
CIE-LCHlch(39.40, 73.68, 312.32°)
OKLaboklab(49.93% 0.1014 -0.1548)
OKLCHoklch(49.93% 0.185 303.2)
XYZxyz(18.2401, 10.8940, 45.9324)
Luminance0.1089 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3DB7 #7AB73D
analogous
#3D3DB7 #7A3DB7 #B73DB7
triadic
#7A3DB7 #B77A3D #3DB77A
tetradic
#7A3DB7 #B73D3D #7AB73D #3DB7B7
square
#7A3DB7 #B73D3D #7AB73D #3DB7B7
split-complementary
#7A3DB7 #B7B73D #3DB73D
monochromatic
#3D1E5B #5B2E89 #7A3DB7 #9965CC #B793DB

Accessibility & contrast

On white

6.61
#7A3DB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#7A3DB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A3DB7
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3DB7#FFFFFF#000000##FFFFFF
##7A3DB71.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBB
Deuteranopia (green-blind)
#0C5DB4
Tritanopia (blue-blind)
#6E5875
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7a3db7;
/* rgb */ color: rgb(122, 61, 183);
/* oklch */ color: oklch(49.9% 0.185 303.2);
Tailwind
colors: {
  custom: {
    50: '#a577cd',
    500: '#7a3db7',
    950: '#000000',
  },
}
SCSS
$custom: #7a3db7;
$custom-light: #a577cd;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3db7",
  "rgb": {
    "r": 122,
    "g": 61,
    "b": 183
  },
  "hsl": {
    "h": 270,
    "s": 50,
    "l": 47.843
  },
  "oklch": {
    "l": 0.4993,
    "c": 0.18501,
    "h": 303.2
  },
  "luminance": 0.10894
}

Semantic roles & 50–950 ramp

primary
#7A3DB7
secondary
#A8C689
accent
#DA4E94
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #7A3DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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