#7A3CB3#7A3CB3

#7A3CB3 is a mid, vivid violet. Relative luminance 0.106; OKLCH L 49.5% C 0.182 H 304.5°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#7A3CB3
RGBrgb(122, 60, 179)
HSLhsl(271, 50%, 47%)
HSVhsv(271, 66%, 70%)
CMYKcmyk(31.8%, 66.5%, 0%, 29.8%)
CIE-LABlab(38.94, 49.13, -52.86)
CIE-LCHlch(38.94, 72.17, 312.90°)
OKLaboklab(49.51% 0.1029 -0.15)
OKLCHoklch(49.51% 0.182 304.5)
XYZxyz(17.7768, 10.6240, 43.7532)
Luminance0.1062 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3CB3 #75B33C
analogous
#3F3CB3 #7A3CB3 #B33CB1
triadic
#7A3CB3 #B37A3C #3CB37A
tetradic
#7A3CB3 #B33F3C #75B33C #3CB1B3
square
#7A3CB3 #B33F3C #75B33C #3CB1B3
split-complementary
#7A3CB3 #B1B33C #3CB33F
monochromatic
#3C1D57 #5B2D85 #7A3CB3 #9862CA #B690DA

Accessibility & contrast

On white

6.72
#7A3CB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#7A3CB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A3CB3
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3CB3#FFFFFF#000000##FFFFFF
##7A3CB31.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB7
Deuteranopia (green-blind)
#155CB0
Tritanopia (blue-blind)
#6F5672
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7a3cb3;
/* rgb */ color: rgb(122, 60, 179);
/* oklch */ color: oklch(49.5% 0.182 304.5);
Tailwind
colors: {
  custom: {
    50: '#a576ca',
    500: '#7a3cb3',
    950: '#000000',
  },
}
SCSS
$custom: #7a3cb3;
$custom-light: #a576ca;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3cb3",
  "rgb": {
    "r": 122,
    "g": 60,
    "b": 179
  },
  "hsl": {
    "h": 271.261,
    "s": 49.791,
    "l": 46.863
  },
  "oklch": {
    "l": 0.49509,
    "c": 0.18192,
    "h": 304.5
  },
  "luminance": 0.10624
}

Semantic roles & 50–950 ramp

primary
#7A3CB3
secondary
#A4C586
accent
#D94E91
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #7A3CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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