#7A3CB7#7A3CB7

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

Color values

HEX#7A3CB7
RGBrgb(122, 60, 183)
HSLhsl(270, 51%, 48%)
HSVhsv(270, 67%, 72%)
CMYKcmyk(33.3%, 67.2%, 0%, 28.2%)
CIE-LABlab(39.22, 50.10, -54.77)
CIE-LCHlch(39.22, 74.23, 312.45°)
OKLaboklab(49.8% 0.1025 -0.1556)
OKLCHoklch(49.8% 0.186 303.4)
XYZxyz(18.1872, 10.7882, 45.9147)
Luminance0.1079 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3CB7 #79B73C
analogous
#3D3CB7 #7A3CB7 #B73CB6
triadic
#7A3CB7 #B77A3C #3CB77A
tetradic
#7A3CB7 #B73D3C #79B73C #3CB6B7
square
#7A3CB7 #B73D3C #79B73C #3CB6B7
split-complementary
#7A3CB7 #B6B73C #3CB73D
monochromatic
#3D1E5B #5B2D89 #7A3CB7 #9964CC #B792DB

Accessibility & contrast

On white

6.65
#7A3CB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7A3CB7
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3CB7#FFFFFF#000000##FFFFFF
##7A3CB71.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBB
Deuteranopia (green-blind)
#085CB4
Tritanopia (blue-blind)
#6E5874
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7a3cb7;
/* rgb */ color: rgb(122, 60, 183);
/* oklch */ color: oklch(49.8% 0.186 303.4);
Tailwind
colors: {
  custom: {
    50: '#a576cd',
    500: '#7a3cb7',
    950: '#000000',
  },
}
SCSS
$custom: #7a3cb7;
$custom-light: #a576cd;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3cb7",
  "rgb": {
    "r": 122,
    "g": 60,
    "b": 183
  },
  "hsl": {
    "h": 270.244,
    "s": 50.617,
    "l": 47.647
  },
  "oklch": {
    "l": 0.49801,
    "c": 0.18633,
    "h": 303.4
  },
  "luminance": 0.10788
}

Semantic roles & 50–950 ramp

primary
#7A3CB7
secondary
#A7C688
accent
#DA4E93
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #7A3CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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