#7A3CB6#7A3CB6

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

Color values

HEX#7A3CB6
RGBrgb(122, 60, 182)
HSLhsl(270, 50%, 47%)
HSVhsv(270, 67%, 71%)
CMYKcmyk(33%, 67%, 0%, 28.6%)
CIE-LABlab(39.15, 49.86, -54.29)
CIE-LCHlch(39.15, 73.71, 312.56°)
OKLaboklab(49.73% 0.1026 -0.1542)
OKLCHoklch(49.73% 0.185 303.6)
XYZxyz(18.0835, 10.7467, 45.3685)
Luminance0.1075 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3CB6 #78B63C
analogous
#3D3CB6 #7A3CB6 #B63CB5
triadic
#7A3CB6 #B67A3C #3CB67A
tetradic
#7A3CB6 #B63D3C #78B63C #3CB5B6
square
#7A3CB6 #B63D3C #78B63C #3CB5B6
split-complementary
#7A3CB6 #B5B63C #3CB63D
monochromatic
#3C1E5A #5B2D88 #7A3CB6 #9863CC #B791DB

Accessibility & contrast

On white

6.67
#7A3CB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#7A3CB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A3CB6
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3CB6#FFFFFF#000000##FFFFFF
##7A3CB61.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBA
Deuteranopia (green-blind)
#0C5CB3
Tritanopia (blue-blind)
#6E5774
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7a3cb6;
/* rgb */ color: rgb(122, 60, 182);
/* oklch */ color: oklch(49.7% 0.185 303.6);
Tailwind
colors: {
  custom: {
    50: '#a576cd',
    500: '#7a3cb6',
    950: '#000000',
  },
}
SCSS
$custom: #7a3cb6;
$custom-light: #a576cd;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3cb6",
  "rgb": {
    "r": 122,
    "g": 60,
    "b": 182
  },
  "hsl": {
    "h": 270.492,
    "s": 50.413,
    "l": 47.451
  },
  "oklch": {
    "l": 0.49727,
    "c": 0.18523,
    "h": 303.6
  },
  "luminance": 0.10747
}

Semantic roles & 50–950 ramp

primary
#7A3CB6
secondary
#A6C688
accent
#DA4E93
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100913
muted
#7F7B82

Preview Lab

Preview with #7A3CB6

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

Preview Lab → · Contrast checker → · Palette generator →

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