#7A3CB4#7A3CB4

#7A3CB4 is a mid, vivid violet. Relative luminance 0.107; OKLCH L 49.6% C 0.183 H 304.2°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#7A3CB4
RGBrgb(122, 60, 180)
HSLhsl(271, 50%, 47%)
HSVhsv(271, 67%, 71%)
CMYKcmyk(32.2%, 66.7%, 0%, 29.4%)
CIE-LABlab(39.01, 49.37, -53.34)
CIE-LCHlch(39.01, 72.68, 312.79°)
OKLaboklab(49.58% 0.1028 -0.1514)
OKLCHoklch(49.58% 0.183 304.2)
XYZxyz(17.8783, 10.6646, 44.2878)
Luminance0.1066 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3CB4 #76B43C
analogous
#3E3CB4 #7A3CB4 #B43CB2
triadic
#7A3CB4 #B47A3C #3CB47A
tetradic
#7A3CB4 #B43E3C #76B43C #3CB2B4
square
#7A3CB4 #B43E3C #76B43C #3CB2B4
split-complementary
#7A3CB4 #B2B43C #3CB43E
monochromatic
#3C1D58 #5B2D86 #7A3CB4 #9862CB #B690DA

Accessibility & contrast

On white

6.70
#7A3CB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#7A3CB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A3CB4
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3CB4#FFFFFF#000000##FFFFFF
##7A3CB41.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB8
Deuteranopia (green-blind)
#135CB1
Tritanopia (blue-blind)
#6F5673
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7a3cb4;
/* rgb */ color: rgb(122, 60, 180);
/* oklch */ color: oklch(49.6% 0.183 304.2);
Tailwind
colors: {
  custom: {
    50: '#a576cb',
    500: '#7a3cb4',
    950: '#000000',
  },
}
SCSS
$custom: #7a3cb4;
$custom-light: #a576cb;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3cb4",
  "rgb": {
    "r": 122,
    "g": 60,
    "b": 180
  },
  "hsl": {
    "h": 271,
    "s": 50,
    "l": 47.059
  },
  "oklch": {
    "l": 0.49582,
    "c": 0.18302,
    "h": 304.2
  },
  "luminance": 0.10665
}

Semantic roles & 50–950 ramp

primary
#7A3CB4
secondary
#A5C587
accent
#DA4E92
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100913
muted
#7F7B82

Preview Lab

Preview with #7A3CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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