#7A3BC2#7A3BC2

#7A3BC2 is a mid, vivid violet. Relative luminance 0.112; OKLCH L 50.5% C 0.200 H 300.7°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#7A3BC2
RGBrgb(122, 59, 194)
HSLhsl(268, 53%, 50%)
HSVhsv(268, 70%, 76%)
CMYKcmyk(37.1%, 69.6%, 0%, 23.9%)
CIE-LABlab(39.85, 53.28, -60.20)
CIE-LCHlch(39.85, 80.40, 311.51°)
OKLaboklab(50.5% 0.102 -0.1716)
OKLCHoklch(50.5% 0.2 300.7)
XYZxyz(19.3252, 11.1604, 52.1645)
Luminance0.1116 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3BC2 #83C23B
analogous
#3B3FC2 #7A3BC2 #BE3BC2
triadic
#7A3BC2 #C27A3B #3BC27A
tetradic
#7A3BC2 #C23B3F #83C23B #3BC2BE
square
#7A3BC2 #C23B3F #83C23B #3BC2BE
split-complementary
#7A3BC2 #C2BE3B #3FC23B
monochromatic
#3F1E64 #5C2D93 #7A3BC2 #9A69D1 #B998E0

Accessibility & contrast

On white

6.50
#7A3BC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#7A3BC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A3BC2
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3BC2#FFFFFF#000000##FFFFFF
##7A3BC21.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC6
Deuteranopia (green-blind)
#005DBF
Tritanopia (blue-blind)
#6A5B7A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7a3bc2;
/* rgb */ color: rgb(122, 59, 194);
/* oklch */ color: oklch(50.5% 0.200 300.7);
Tailwind
colors: {
  custom: {
    50: '#a676d5',
    500: '#7a3bc2',
    950: '#000000',
  },
}
SCSS
$custom: #7a3bc2;
$custom-light: #a676d5;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3bc2",
  "rgb": {
    "r": 122,
    "g": 59,
    "b": 194
  },
  "hsl": {
    "h": 268,
    "s": 53.36,
    "l": 49.608
  },
  "oklch": {
    "l": 0.50503,
    "c": 0.19964,
    "h": 300.7
  },
  "luminance": 0.11161
}

Semantic roles & 50–950 ramp

primary
#7A3BC2
secondary
#AECB8E
accent
#DD4B99
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7A3BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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