#7A3DB5#7A3DB5

#7A3DB5 is a mid, vivid violet. Relative luminance 0.108; OKLCH L 49.8% C 0.183 H 303.8°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#7A3DB5
RGBrgb(122, 61, 181)
HSLhsl(271, 50%, 47%)
HSVhsv(271, 66%, 71%)
CMYKcmyk(32.6%, 66.3%, 0%, 29%)
CIE-LABlab(39.26, 49.12, -53.53)
CIE-LCHlch(39.26, 72.65, 312.54°)
OKLaboklab(49.78% 0.1016 -0.152)
OKLCHoklch(49.78% 0.183 303.8)
XYZxyz(18.0334, 10.8113, 44.8438)
Luminance0.1081 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3DB5 #78B53D
analogous
#3E3DB5 #7A3DB5 #B53DB4
triadic
#7A3DB5 #B57A3D #3DB57A
tetradic
#7A3DB5 #B53E3D #78B53D #3DB4B5
square
#7A3DB5 #B53E3D #78B53D #3DB4B5
split-complementary
#7A3DB5 #B4B53D #3DB53E
monochromatic
#3C1E59 #5B2E87 #7A3DB5 #9864CB #B792DA

Accessibility & contrast

On white

6.64
#7A3DB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#7A3DB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A3DB5
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3DB5#FFFFFF#000000##FFFFFF
##7A3DB51.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB9
Deuteranopia (green-blind)
#135CB2
Tritanopia (blue-blind)
#6F5774
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7a3db5;
/* rgb */ color: rgb(122, 61, 181);
/* oklch */ color: oklch(49.8% 0.183 303.8);
Tailwind
colors: {
  custom: {
    50: '#a577cc',
    500: '#7a3db5',
    950: '#000000',
  },
}
SCSS
$custom: #7a3db5;
$custom-light: #a577cc;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3db5",
  "rgb": {
    "r": 122,
    "g": 61,
    "b": 181
  },
  "hsl": {
    "h": 270.5,
    "s": 49.587,
    "l": 47.451
  },
  "oklch": {
    "l": 0.49784,
    "c": 0.18279,
    "h": 303.8
  },
  "luminance": 0.10811
}

Semantic roles & 50–950 ramp

primary
#7A3DB5
secondary
#A6C588
accent
#D94F93
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100913
muted
#7F7B82

Preview Lab

Preview with #7A3DB5

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

Preview Lab → · Contrast checker → · Palette generator →

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