#7A3BC6#7A3BC6

#7A3BC6 is a mid, highly saturated violet. Relative luminance 0.113; OKLCH L 50.8% C 0.204 H 299.8°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#7A3BC6
RGBrgb(122, 59, 198)
HSLhsl(267, 55%, 50%)
HSVhsv(267, 70%, 78%)
CMYKcmyk(38.4%, 70.2%, 0%, 22.4%)
CIE-LABlab(40.15, 54.27, -62.04)
CIE-LCHlch(40.15, 82.43, 311.18°)
OKLaboklab(50.81% 0.1014 -0.177)
OKLCHoklch(50.81% 0.204 299.8)
XYZxyz(19.7805, 11.3425, 54.5623)
Luminance0.1134 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3BC6 #87C63B
analogous
#3B41C6 #7A3BC6 #BF3BC6
triadic
#7A3BC6 #C67A3B #3BC67A
tetradic
#7A3BC6 #C63B41 #87C63B #3BC6BF
square
#7A3BC6 #C63B41 #87C63B #3BC6BF
split-complementary
#7A3BC6 #C6BF3B #41C63B
monochromatic
#401E68 #5D2C98 #7A3BC6 #9A6AD4 #BA9AE2

Accessibility & contrast

On white

6.42
#7A3BC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#7A3BC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A3BC6
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3BC6#FFFFFF#000000##FFFFFF
##7A3BC61.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECA
Deuteranopia (green-blind)
#005EC3
Tritanopia (blue-blind)
#695D7C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7a3bc6;
/* rgb */ color: rgb(122, 59, 198);
/* oklch */ color: oklch(50.8% 0.204 299.8);
Tailwind
colors: {
  custom: {
    50: '#a676d8',
    500: '#7a3bc6',
    950: '#000000',
  },
}
SCSS
$custom: #7a3bc6;
$custom-light: #a676d8;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3bc6",
  "rgb": {
    "r": 122,
    "g": 59,
    "b": 198
  },
  "hsl": {
    "h": 267.194,
    "s": 54.941,
    "l": 50.392
  },
  "oklch": {
    "l": 0.50812,
    "c": 0.20398,
    "h": 299.8
  },
  "luminance": 0.11343
}

Semantic roles & 50–950 ramp

primary
#7A3BC6
secondary
#B1CD8F
accent
#DE4A9B
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7A3BC6

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

Preview Lab → · Contrast checker → · Palette generator →

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