#7A3CB5#7A3CB5

#7A3CB5 is a mid, vivid violet. Relative luminance 0.107; OKLCH L 49.7% C 0.184 H 303.9°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#7A3CB5
RGBrgb(122, 60, 181)
HSLhsl(271, 50%, 47%)
HSVhsv(271, 67%, 71%)
CMYKcmyk(32.6%, 66.9%, 0%, 29%)
CIE-LABlab(39.08, 49.61, -53.82)
CIE-LCHlch(39.08, 73.20, 312.67°)
OKLaboklab(49.65% 0.1027 -0.1528)
OKLCHoklch(49.65% 0.184 303.9)
XYZxyz(17.9805, 10.7055, 44.8262)
Luminance0.1071 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3CB5 #77B53C
analogous
#3E3CB5 #7A3CB5 #B53CB3
triadic
#7A3CB5 #B57A3C #3CB57A
tetradic
#7A3CB5 #B53E3C #77B53C #3CB3B5
square
#7A3CB5 #B53E3C #77B53C #3CB3B5
split-complementary
#7A3CB5 #B3B53C #3CB53E
monochromatic
#3C1E59 #5B2D87 #7A3CB5 #9863CB #B791DB

Accessibility & contrast

On white

6.69
#7A3CB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#7A3CB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A3CB5
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3CB5#FFFFFF#000000##FFFFFF
##7A3CB51.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7a3cb5;
/* rgb */ color: rgb(122, 60, 181);
/* oklch */ color: oklch(49.7% 0.184 303.9);
Tailwind
colors: {
  custom: {
    50: '#a576cc',
    500: '#7a3cb5',
    950: '#000000',
  },
}
SCSS
$custom: #7a3cb5;
$custom-light: #a576cc;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3cb5",
  "rgb": {
    "r": 122,
    "g": 60,
    "b": 181
  },
  "hsl": {
    "h": 270.744,
    "s": 50.207,
    "l": 47.255
  },
  "oklch": {
    "l": 0.49654,
    "c": 0.18413,
    "h": 303.9
  },
  "luminance": 0.10705
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7A3CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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