#7A3DB6#7A3DB6

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

Color values

HEX#7A3DB6
RGBrgb(122, 61, 182)
HSLhsl(270, 50%, 48%)
HSVhsv(270, 66%, 71%)
CMYKcmyk(33%, 66.5%, 0%, 28.6%)
CIE-LABlab(39.33, 49.36, -54.00)
CIE-LCHlch(39.33, 73.16, 312.43°)
OKLaboklab(49.86% 0.1015 -0.1534)
OKLCHoklch(49.86% 0.184 303.5)
XYZxyz(18.1363, 10.8525, 45.3862)
Luminance0.1085 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3DB6 #79B63D
analogous
#3E3DB6 #7A3DB6 #B63DB5
triadic
#7A3DB6 #B67A3D #3DB67A
tetradic
#7A3DB6 #B63E3D #79B63D #3DB5B6
square
#7A3DB6 #B63E3D #79B63D #3DB5B6
split-complementary
#7A3DB6 #B5B63D #3DB63E
monochromatic
#3D1E5A #5B2E88 #7A3DB6 #9965CB #B793DB

Accessibility & contrast

On white

6.62
#7A3DB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#7A3DB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A3DB6
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3DB6#FFFFFF#000000##FFFFFF
##7A3DB61.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBA
Deuteranopia (green-blind)
#105CB3
Tritanopia (blue-blind)
#6E5874
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7a3db6;
/* rgb */ color: rgb(122, 61, 182);
/* oklch */ color: oklch(49.9% 0.184 303.5);
Tailwind
colors: {
  custom: {
    50: '#a577cd',
    500: '#7a3db6',
    950: '#000000',
  },
}
SCSS
$custom: #7a3db6;
$custom-light: #a577cd;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3db6",
  "rgb": {
    "r": 122,
    "g": 61,
    "b": 182
  },
  "hsl": {
    "h": 270.248,
    "s": 49.794,
    "l": 47.647
  },
  "oklch": {
    "l": 0.49857,
    "c": 0.1839,
    "h": 303.5
  },
  "luminance": 0.10852
}

Semantic roles & 50–950 ramp

primary
#7A3DB6
secondary
#A7C689
accent
#D94E93
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100913
muted
#7F7B82

Preview Lab

Preview with #7A3DB6

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

Preview Lab → · Contrast checker → · Palette generator →

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